Searched refs:gr_idx_ptr (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhgrp.c | 229 void *gr_ptr, *gr_idx_ptr; in consider_resize() local 239 gr_idx_ptr = NULL; in consider_resize() 242 gr_idx_ptr = malloc(alloc_size, M_NHOP, M_NOWAIT | M_ZERO); in consider_resize() 245 if (gr_ptr == NULL && gr_idx_ptr == NULL) { in consider_resize() 252 gr_ptr, new_gr_bucket, gr_idx_ptr, new_idx_items); in consider_resize() 260 if (gr_idx_ptr != NULL) { in consider_resize() 261 if (bitmask_copy(&ctl->nh_idx_head, gr_idx_ptr, new_idx_items) == 0) in consider_resize() 262 bitmask_swap(&ctl->nh_idx_head, gr_idx_ptr, new_idx_items, &old_idx_ptr); in consider_resize()
|