Home
last modified time | relevance | path

Searched refs:gr_idx_head (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/net/route/
H A Dnhgrp.c162 new_num_items = bitmask_get_resize_items(&ctl->gr_idx_head); in link_nhgrp()
164 if (bitmask_alloc_idx(&ctl->gr_idx_head, &idx) != 0) { in link_nhgrp()
199 ret = bitmask_free_idx(&ctl->gr_idx_head, idx); in unlink_nhgrp()
246 if (bitmask_copy(&ctl->gr_idx_head, nh_idx_ptr, new_idx_items) == 0) in consider_resize()
247 bitmask_swap(&ctl->gr_idx_head, nh_idx_ptr, new_idx_items, &old_idx_ptr); in consider_resize()
294 bitmask_init(&ctl->gr_idx_head, mask_ptr, num_items); in nhgrp_ctl_alloc_default()
318 bitmask_init(&ctl->gr_idx_head, NULL, 0); in nhgrp_ctl_init()
328 if (ctl->gr_idx_head.idx != NULL) in nhgrp_ctl_free()
329 free(ctl->gr_idx_head.idx, M_NHOP); in nhgrp_ctl_free()
H A Dnhop_var.h60 struct bitmask_head gr_idx_head; /* nhgrp index head */ member