Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dkey.h101 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() argument
103 return (struct key *) ((unsigned long) key_ref & ~1UL); in key_ref_to_ptr()
106 static inline unsigned long is_key_possessed(const key_ref_t key_ref) in is_key_possessed() argument
108 return (unsigned long) key_ref & 1UL; in is_key_possessed()
280 static inline void key_ref_put(key_ref_t key_ref) in key_ref_put() argument
282 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()