Lines Matching defs:key
149 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
172 struct key *key; member
189 struct key { struct
191 key_serial_t serial; /* key serial number */ argument
197 struct watch_list *watchers; /* Entities watching this key for changes */ argument
200 struct key_user *user; /* owner of this key */ argument
201 void *security; /* security data for this key */ argument
203 time64_t expiry; /* time at which key expires (or 0) */ argument
206 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
209 key_perm_t perm; /* access permissions */ argument
223 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
244 struct key_type *type; /* type of key */ argument
263 /* This is set on a keyring to restrict the addition of a link to a key argument
274 struct key_restriction *restrict_link; argument
299 static inline struct key *__key_get(struct key *key) in __key_get()
305 static inline struct key *key_get(struct key *key) in key_get()
432 static inline key_serial_t key_serial(const struct key *key) in key_serial()
443 static inline short key_read_state(const struct key *key) in key_read_state()
456 static inline bool key_is_positive(const struct key *key) in key_is_positive()
461 static inline bool key_is_negative(const struct key *key) in key_is_negative()