Lines Matching defs:key
114 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
137 struct key *key; member
154 struct key { struct
156 key_serial_t serial; /* key serial number */ argument
162 struct key_user *user; /* owner of this key */ argument
163 void *security; /* security data for this key */ argument
165 time_t expiry; /* time at which key expires (or 0) */ argument
168 time_t last_used_at; /* last time used for LRU keyring discard */ argument
171 key_perm_t perm; /* access permissions */ argument
185 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
204 struct key_type *type; /* type of key */ argument
222 /* This is set on a keyring to restrict the addition of a link to a key argument
233 struct key_restriction *restrict_link; argument
256 static inline struct key *__key_get(struct key *key) in __key_get()
262 static inline struct key *key_get(struct key *key) in key_get()
341 static inline key_serial_t key_serial(const struct key *key) in key_serial()
359 static inline short key_read_state(const struct key *key) in key_read_state()
372 static inline bool key_is_positive(const struct key *key) in key_is_positive()
377 static inline bool key_is_negative(const struct key *key) in key_is_negative()