• Home
  • Raw
  • Download

Lines Matching refs:key

92 extern int __key_link_lock(struct key *keyring,
94 extern int __key_move_lock(struct key *l_keyring, struct key *u_keyring,
96 extern int __key_link_begin(struct key *keyring,
99 extern int __key_link_check_live_key(struct key *keyring, struct key *key);
100 extern void __key_link(struct key *key, struct assoc_array_edit **_edit);
101 extern void __key_link_end(struct key *keyring,
108 extern struct key *keyring_search_instkey(struct key *keyring,
111 extern int iterate_over_keyring(const struct key *keyring,
112 int (*func)(const struct key *key, void *data),
137 extern bool key_default_cmp(const struct key *key,
145 extern struct key *find_keyring_by_name(const char *name, bool uid_keyring);
147 extern int look_up_user_keyrings(struct key **, struct key **);
148 extern struct key *get_user_session_keyring_rcu(const struct cred *);
151 extern int install_session_keyring_to_cred(struct cred *, struct key *);
153 extern struct key *request_key_and_link(struct key_type *type,
159 struct key *dest_keyring,
162 extern bool lookup_user_key_possessed(const struct key *key,
173 extern void keyring_gc(struct key *keyring, time64_t limit);
174 extern void keyring_restriction_gc(struct key *keyring,
193 extern struct key *request_key_auth_new(struct key *target,
197 struct key *dest_keyring);
199 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
204 static inline bool key_is_dead(const struct key *key, time64_t limit) in key_is_dead() argument
207 key->flags & ((1 << KEY_FLAG_DEAD) | in key_is_dead()
209 (key->expiry > 0 && key->expiry <= limit) || in key_is_dead()
210 key->domain_tag->removed; in key_is_dead()
338 extern void __key_check(const struct key *);
340 static inline void key_check(const struct key *key) in key_check() argument
342 if (key && (IS_ERR(key) || key->magic != KEY_DEBUG_MAGIC)) in key_check()
343 __key_check(key); in key_check()
348 #define key_check(key) do {} while(0) argument