Lines Matching full:sid
118 * sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy
121 * @sid: pkey SID
124 * This function determines the SID of a pkey by querying the security
129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument
139 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow()
145 sid); in sel_ib_pkey_sid_slow()
149 /* If this memory allocation fails still return 0. The SID in sel_ib_pkey_sid_slow()
160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow()
169 * sel_ib_pkey_sid - Lookup the SID of a PKEY
172 * @sid: pkey SID
175 * This function determines the SID of a PKEY using the fastest method
181 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument
188 *sid = pkey->psec.sid; in sel_ib_pkey_sid()
194 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()