Searched refs:gr_head (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/net/route/ |
| H A D | nhgrp.c | 144 CHT_SLIST_FIND_BYOBJ(&ctl->gr_head, mpath, key, priv_ret); in find_nhgrp() 164 new_num_buckets = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->gr_head); in link_nhgrp() 176 CHT_SLIST_INSERT_HEAD(&ctl->gr_head, mpath, grp_priv); in link_nhgrp() 198 CHT_SLIST_REMOVE(&ctl->gr_head, mpath, key, nhg_priv_ret); in unlink_nhgrp() 259 CHT_SLIST_RESIZE(&ctl->gr_head, mpath, gr_ptr, new_gr_bucket); in consider_resize() 296 if (ctl->gr_head.hash_size == 0) { in nhgrp_ctl_alloc_default() 298 CHT_SLIST_INIT(&ctl->gr_head, cht_ptr, num_buckets); in nhgrp_ctl_alloc_default() 319 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 | nhop_var.h | 57 struct nhgroups_head gr_head; /* nhgrp hash table head */ member
|
| H A D | nhgrp_ctl.c | 481 if (ctl->gr_head.hash_size == 0) { in nhgrp_alloc() 933 count = ctl->gr_head.items_count; in nhgrp_get_count() 949 if (ctl->gr_head.items_count == 0) in nhgrp_dump_sysctl() 962 CHT_SLIST_FOREACH(&ctl->gr_head, mpath, nhg_priv) { in nhgrp_dump_sysctl()
|