Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/
Dnetnode.c58 static struct sel_netnode_bkt sel_netnode_hash[SEL_NETNODE_HASH_SIZE]; variable
120 list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list) in sel_netnode_find()
163 list_add_rcu(&node->list, &sel_netnode_hash[idx].list); in sel_netnode_insert()
164 if (sel_netnode_hash[idx].size == SEL_NETNODE_HASH_BKT_LIMIT) { in sel_netnode_insert()
168 list_tail_rcu(&sel_netnode_hash[idx].list), in sel_netnode_insert()
174 sel_netnode_hash[idx].size++; in sel_netnode_insert()
281 &sel_netnode_hash[idx].list, list) { in sel_netnode_flush()
285 sel_netnode_hash[idx].size = 0; in sel_netnode_flush()
298 INIT_LIST_HEAD(&sel_netnode_hash[iter].list); in sel_netnode_init()
299 sel_netnode_hash[iter].size = 0; in sel_netnode_init()