Home
last modified time | relevance | path

Searched refs:namehash (Results 1 – 5 of 5) sorted by relevance

/freebsd/sbin/rcorder/
H A Dhash.c192 if (e->namehash == h && strcmp(e->name, p) == 0) in Hash_FindEntry()
238 if (e->namehash == h && strcmp(e->name, p) == 0) { in Hash_CreateEntry()
257 e->namehash = h; in Hash_CreateEntry()
290 for (hp = &t->bucketPtr[e->namehash & t->mask]; in Hash_DeleteEntry()
417 xp = &t->bucketPtr[e->namehash & mask]; in RebuildTable()
H A Dhash.h62 unsigned namehash; /* hash value of key */ member
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_table.h37 struct namedobj_instance *namehash; member
H A Dip_fw_table.c129 #define CHAIN_TO_NI(chain) (CHAIN_TO_TCFG(chain)->namehash)
3351 tcfg->namehash = ipfw_objhash_create(V_fw_tables_max); in ipfw_init_tables()
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c163 TAILQ_HEAD(, pf_tagname) *namehash;
624 ts->namehash = mallocarray(hashsize, sizeof(*ts->namehash), M_PFHASH, in pf_init_tagset()
631 TAILQ_INIT(&ts->namehash[i]); in pf_init_tagset()
650 TAILQ_FOREACH_SAFE(t, &ts->namehash[i], namehash_entries, tmp) in pf_cleanup_tagset()
653 free(ts->namehash, M_PFHASH); in pf_cleanup_tagset()
683 TAILQ_FOREACH(tag, &ts->namehash[index], namehash_entries) in tagname2tag()
718 TAILQ_INSERT_TAIL(&ts->namehash[index], tag, namehash_entries); in tagname2tag()
742 TAILQ_REMOVE(&ts->namehash[index], t, in tag_unref()