Searched refs:pkey (Results 1 – 6 of 6) sorted by relevance
/security/selinux/ |
D | ibpkey.c | 56 static unsigned int sel_ib_pkey_hashfn(u16 pkey) in sel_ib_pkey_hashfn() argument 58 return (pkey & (SEL_PKEY_HASH_SIZE - 1)); in sel_ib_pkey_hashfn() 74 struct sel_ib_pkey *pkey; in sel_ib_pkey_find() local 77 list_for_each_entry_rcu(pkey, &sel_ib_pkey_hash[idx].list, list) { in sel_ib_pkey_find() 78 if (pkey->psec.pkey == pkey_num && in sel_ib_pkey_find() 79 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find() 80 return pkey; in sel_ib_pkey_find() 94 static void sel_ib_pkey_insert(struct sel_ib_pkey *pkey) in sel_ib_pkey_insert() argument 101 idx = sel_ib_pkey_hashfn(pkey->psec.pkey); in sel_ib_pkey_insert() 102 list_add_rcu(&pkey->list, &sel_ib_pkey_hash[idx].list); in sel_ib_pkey_insert() [all …]
|
D | hooks.c | 6603 ibpkey.pkey = pkey_val; in selinux_ib_pkey_access()
|
/security/selinux/include/ |
D | ibpkey.h | 19 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid);
|
D | objsec.h | 139 u16 pkey; /* PKey number */ member
|
/security/ |
D | lsm_audit.c | 420 a->u.ibpkey->pkey, &sbn_pfx); in dump_common_audit_data()
|
D | security.c | 2201 int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) in security_ib_pkey_access() argument 2203 return call_int_hook(ib_pkey_access, 0, sec, subnet_prefix, pkey); in security_ib_pkey_access()
|