Lines Matching defs:key
155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
178 struct key *key; member
195 struct key { struct
197 key_serial_t serial; /* key serial number */ argument
203 struct watch_list *watchers; /* Entities watching this key for changes */ argument
206 struct key_user *user; /* owner of this key */ argument
207 void *security; /* security data for this key */ argument
209 time64_t expiry; /* time at which key expires (or 0) */ argument
212 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
215 key_perm_t perm; /* access permissions */ argument
229 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
250 struct key_type *type; /* type of key */ argument
269 /* This is set on a keyring to restrict the addition of a link to a key argument
280 struct key_restriction *restrict_link; argument
306 static inline struct key *__key_get(struct key *key) in __key_get()
312 static inline struct key *key_get(struct key *key) in key_get()
439 static inline key_serial_t key_serial(const struct key *key) in key_serial()
450 static inline short key_read_state(const struct key *key) in key_read_state()
463 static inline bool key_is_positive(const struct key *key) in key_is_positive()
468 static inline bool key_is_negative(const struct key *key) in key_is_negative()