Searched refs:keyp (Results 1 – 3 of 3) sorted by relevance
13 const char *p, *keyp; in symhash() local18 keyp = key; in symhash()19 size = strlen(keyp); in symhash()20 for (p = keyp; (p - keyp) < size; p++) in symhash()
29 static inline int avtab_hash(struct avtab_key *keyp, u16 mask) in avtab_hash() argument31 return ((keyp->target_class + (keyp->target_type << 2) + in avtab_hash()32 (keyp->source_type << 9)) & mask); in avtab_hash()
3185 struct key *keyp; in smack_key_permission() local3189 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()3190 if (keyp == NULL) in smack_key_permission()3196 if (keyp->security == NULL) in smack_key_permission()3205 ad.a.u.key_struct.key = keyp->serial; in smack_key_permission()3206 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()3208 return smk_access(tsp, keyp->security, in smack_key_permission()