Home
last modified time | relevance | path

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

/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()
167 rcu_dereference_protected(sel_netnode_hash[idx].list.prev, in sel_netnode_insert()
173 sel_netnode_hash[idx].size++; in sel_netnode_insert()
280 &sel_netnode_hash[idx].list, list) { in sel_netnode_flush()
284 sel_netnode_hash[idx].size = 0; in sel_netnode_flush()
297 INIT_LIST_HEAD(&sel_netnode_hash[iter].list); in sel_netnode_init()
298 sel_netnode_hash[iter].size = 0; in sel_netnode_init()