Home
last modified time | relevance | path

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

/security/selinux/
Dnetport.c68 static struct sel_netport_bkt sel_netport_hash[SEL_NETPORT_HASH_SIZE]; variable
100 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find()
122 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert()
123 if (sel_netport_hash[idx].size == SEL_NETPORT_HASH_BKT_LIMIT) { in sel_netport_insert()
127 sel_netport_hash[idx].list.prev, in sel_netport_insert()
133 sel_netport_hash[idx].size++; in sel_netport_insert()
228 &sel_netport_hash[idx].list, list) { in sel_netport_flush()
232 sel_netport_hash[idx].size = 0; in sel_netport_flush()
245 INIT_LIST_HEAD(&sel_netport_hash[iter].list); in sel_netport_init()
246 sel_netport_hash[iter].size = 0; in sel_netport_init()