Lines Matching refs:num_entry
32 int num_entry; member
45 int num_entry; in CreateAddressPool() local
55 num_entry = num_addr * (MAX_PORT - MIN_PORT); in CreateAddressPool()
56 ap->pool = (struct addr_entry *)calloc(num_entry, sizeof(struct addr_entry)); in CreateAddressPool()
95 if ((++cnt) >= num_entry) in CreateAddressPool()
99 ap->num_entry = cnt; in CreateAddressPool()
113 int num_entry; in CreateAddressPoolPerCore() local
125 num_entry = (num_addr * (MAX_PORT - MIN_PORT)) / num_queues; in CreateAddressPoolPerCore()
126 ap->pool = (struct addr_entry *)calloc(num_entry, sizeof(struct addr_entry)); in CreateAddressPoolPerCore()
162 if (cnt >= num_entry) in CreateAddressPoolPerCore()
179 ap->num_entry = cnt; in CreateAddressPoolPerCore()
183 if (ap->num_entry < g_config.mos->max_concurrency) { in CreateAddressPoolPerCore()
186 ap->num_entry, g_config.mos->max_concurrency); in CreateAddressPoolPerCore()