Lines Matching defs:key
108 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
132 struct key { struct
134 key_serial_t serial; /* key serial number */ argument
140 struct key_user *user; /* owner of this key */ argument
141 void *security; /* security data for this key */ argument
143 time_t expiry; /* time at which key expires (or 0) */ argument
146 time_t last_used_at; /* last time used for LRU keyring discard */ argument
149 key_perm_t perm; /* access permissions */ argument
163 #define KEY_FLAG_INSTANTIATED 0 /* set if key has been instantiated */ argument
184 struct key_type *type; /* type of key */ argument
199 /* key data argument
214 extern struct key *key_alloc(struct key_type *type, argument
231 static inline struct key *__key_get(struct key *key) in __key_get()
237 static inline struct key *key_get(struct key *key) in key_get()
307 static inline key_serial_t key_serial(const struct key *key) in key_serial()
332 static inline bool key_is_instantiated(const struct key *key) in key_is_instantiated()