Lines Matching defs:key
132 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
155 struct key *key; member
172 struct key { struct
174 key_serial_t serial; /* key serial number */ argument
180 struct key_user *user; /* owner of this key */ argument
181 void *security; /* security data for this key */ argument
183 time64_t expiry; /* time at which key expires (or 0) */ argument
186 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
189 key_perm_t perm; /* access permissions */ argument
203 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
224 struct key_type *type; /* type of key */ argument
243 /* This is set on a keyring to restrict the addition of a link to a key argument
254 struct key_restriction *restrict_link; argument
279 static inline struct key *__key_get(struct key *key) in __key_get()
285 static inline struct key *key_get(struct key *key) in key_get()
412 static inline key_serial_t key_serial(const struct key *key) in key_serial()
434 static inline short key_read_state(const struct key *key) in key_read_state()
447 static inline bool key_is_positive(const struct key *key) in key_is_positive()
452 static inline bool key_is_negative(const struct key *key) in key_is_negative()