Searched refs:gr_head (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/net/route/ |
| H A D | nhgrp.c | 141 CHT_SLIST_FIND_BYOBJ(&ctl->gr_head, mpath, key, priv_ret); in find_nhgrp() 161 new_num_buckets = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->gr_head); in link_nhgrp() 173 CHT_SLIST_INSERT_HEAD(&ctl->gr_head, mpath, grp_priv); in link_nhgrp() 190 CHT_SLIST_REMOVE_BYOBJ(&ctl->gr_head, mpath, key, nhg_priv_ret); in unlink_nhgrp() 243 CHT_SLIST_RESIZE(&ctl->gr_head, mpath, nh_ptr, new_nh_buckets); in consider_resize() 291 if (ctl->gr_head.hash_size == 0) { in nhgrp_ctl_alloc_default() 293 CHT_SLIST_INIT(&ctl->gr_head, cht_ptr, num_buckets); in nhgrp_ctl_alloc_default() 317 CHT_SLIST_INIT(&ctl->gr_head, NULL, 0); in nhgrp_ctl_init() 326 if (ctl->gr_head.ptr != NULL) in nhgrp_ctl_free() 327 free(ctl->gr_head.ptr, M_NHOP); in nhgrp_ctl_free() [all …]
|
| H A D | nhgrp_ctl.c | 442 if (ctl->gr_head.hash_size == 0) { in get_nhgrp() 786 count = ctl->gr_head.items_count; in nhgrp_get_count() 802 if (ctl->gr_head.items_count == 0) in nhgrp_dump_sysctl() 813 CHT_SLIST_FOREACH(&ctl->gr_head, mpath, nhg_priv) { in nhgrp_dump_sysctl()
|
| H A D | nhop_var.h | 59 struct nhgroups_head gr_head; /* nhgrp hash table head */ member
|