Searched refs:nh_idx_ptr (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhop.c | 235 void *nh_ptr, *nh_idx_ptr; in consider_resize() local 245 nh_idx_ptr = NULL; in consider_resize() 248 nh_idx_ptr = malloc(alloc_size, M_NHOP, M_NOWAIT | M_ZERO); in consider_resize() 251 if (nh_ptr == NULL && nh_idx_ptr == NULL) { in consider_resize() 258 nh_ptr, new_nh_buckets, nh_idx_ptr, new_idx_items); in consider_resize() 266 if (nh_idx_ptr != NULL) { in consider_resize() 267 if (bitmask_copy(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items) == 0) in consider_resize() 268 bitmask_swap(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items, &old_idx_ptr); in consider_resize()
|