Lines Matching full:keys
10 #include <keys/keyring-type.h>
19 * Reaper for unused keys.
25 * Reaper for links from keyrings to dead keys.
80 * reaper to go through a cycle finding expired keys.
90 * Reap keys of dead type.
93 * collector: the first to mark keys of that type as being dead, the second to
94 * collect dead links and the third to clean up the dead keys. We have to be
120 * Garbage collect a list of unreferenced, detached keys
122 static noinline void key_gc_unused_keys(struct list_head *keys) in key_gc_unused_keys() argument
124 while (!list_empty(keys)) { in key_gc_unused_keys()
126 list_entry(keys->next, struct key, graveyard_link); in key_gc_unused_keys()
167 * Garbage collector for unused keys.
180 #define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */ in key_garbage_collector()
182 #define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */ in key_garbage_collector()
275 * where we didn't reap any keys. in key_garbage_collector()
288 * dying keys that they don't have a reference upon or a link in key_garbage_collector()
296 kdebug("gc keys"); in key_garbage_collector()
303 /* No remaining dead keys: short circuit the remaining in key_garbage_collector()
347 * dead or expired keys. We don't flag another reap immediately as we in key_garbage_collector()
349 * can reap the keys to which it refers. in key_garbage_collector()