Searched refs:pkey_num (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/security/selinux/ |
D | ibpkey.c | 70 static struct sel_ib_pkey *sel_ib_pkey_find(u64 subnet_prefix, u16 pkey_num) in sel_ib_pkey_find() argument 75 idx = sel_ib_pkey_hashfn(pkey_num); in sel_ib_pkey_find() 77 if (pkey->psec.pkey == pkey_num && in sel_ib_pkey_find() 129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument 137 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid_slow() 144 ret = security_ib_pkey_sid(&selinux_state, subnet_prefix, pkey_num, in sel_ib_pkey_sid_slow() 159 new->psec.pkey = pkey_num; in sel_ib_pkey_sid_slow() 181 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument 186 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid() 194 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()
|
/linux-6.1.9/security/selinux/include/ |
D | security.h | 350 u64 subnet_prefix, u16 pkey_num, u32 *out_sid);
|
/linux-6.1.9/security/selinux/ss/ |
D | services.c | 2481 u64 subnet_prefix, u16 pkey_num, u32 *out_sid) in security_ib_pkey_sid() argument 2503 if (c->u.ibpkey.low_pkey <= pkey_num && in security_ib_pkey_sid() 2504 c->u.ibpkey.high_pkey >= pkey_num && in security_ib_pkey_sid()
|