Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/selinux/
Dnetport.c58 static struct sel_netport_bkt sel_netport_hash[SEL_NETPORT_HASH_SIZE]; variable
90 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find()
112 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert()
113 if (sel_netport_hash[idx].size == SEL_NETPORT_HASH_BKT_LIMIT) { in sel_netport_insert()
117 sel_netport_hash[idx].list.prev, in sel_netport_insert()
123 sel_netport_hash[idx].size++; in sel_netport_insert()
215 &sel_netport_hash[idx].list, list) { in sel_netport_flush()
219 sel_netport_hash[idx].size = 0; in sel_netport_flush()
232 INIT_LIST_HEAD(&sel_netport_hash[iter].list); in sel_netport_init()
233 sel_netport_hash[iter].size = 0; in sel_netport_init()