Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/
H A Dibpkey.c44 static struct sel_ib_pkey_bkt sel_ib_pkey_hash[SEL_PKEY_HASH_SIZE]; variable
76 list_for_each_entry_rcu(pkey, &sel_ib_pkey_hash[idx].list, list) { in sel_ib_pkey_find()
101 list_add_rcu(&pkey->list, &sel_ib_pkey_hash[idx].list); in sel_ib_pkey_insert()
102 if (sel_ib_pkey_hash[idx].size == SEL_PKEY_HASH_BKT_LIMIT) { in sel_ib_pkey_insert()
107 list_tail_rcu(&sel_ib_pkey_hash[idx].list), in sel_ib_pkey_insert()
113 sel_ib_pkey_hash[idx].size++; in sel_ib_pkey_insert()
213 &sel_ib_pkey_hash[idx].list, list) { in sel_ib_pkey_flush()
217 sel_ib_pkey_hash[idx].size = 0; in sel_ib_pkey_flush()
230 INIT_LIST_HEAD(&sel_ib_pkey_hash[iter].list); in sel_ib_pkey_init()
231 sel_ib_pkey_hash[iter].size = 0; in sel_ib_pkey_init()