Home
last modified time | relevance | path

Searched refs:nh_idx_head (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop.c99 bitmask_init(&ctl->nh_idx_head, ptr, num_items); in nhops_init_rib()
117 free(ctl->nh_idx_head.idx, M_NHOP); in destroy_ctl()
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()
298 num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head); in link_nhop()
300 if (bitmask_alloc_idx(&ctl->nh_idx_head, &idx) != 0) { in link_nhop()
346 if ((bitmask_free_idx(&ctl->nh_idx_head, idx)) != 0) { in unlink_nhop()
355 num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head); in unlink_nhop()
H A Dnhgrp.c164 new_num_items = bitmask_get_resize_items(&ctl->nh_idx_head); in link_nhgrp()
166 if (bitmask_alloc_idx(&ctl->nh_idx_head, &idx) != 0) { in link_nhgrp()
206 bitmask_free_idx(&ctl->nh_idx_head, idx); in unlink_nhgrp()
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()
H A Dnhop_var.h56 struct bitmask_head nh_idx_head; /* nhop index head */ member