Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/selinux/
A Dnetport.c57 static struct sel_netport_bkt sel_netport_hash[SEL_NETPORT_HASH_SIZE]; variable
89 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find()
111 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert()
112 if (sel_netport_hash[idx].size == SEL_NETPORT_HASH_BKT_LIMIT) { in sel_netport_insert()
116 list_tail_rcu(&sel_netport_hash[idx].list), in sel_netport_insert()
122 sel_netport_hash[idx].size++; in sel_netport_insert()
214 &sel_netport_hash[idx].list, list) { in sel_netport_flush()
218 sel_netport_hash[idx].size = 0; in sel_netport_flush()
231 INIT_LIST_HEAD(&sel_netport_hash[iter].list); in sel_netport_init()
232 sel_netport_hash[iter].size = 0; in sel_netport_init()

Completed in 4 milliseconds