Lines Matching full:keys
10 #include <keys/keyring-type.h>
19 * Reaper for unused keys.
25 * Reaper for links from keyrings to dead keys.
93 * reaper to go through a cycle finding expired keys.
103 * Reap keys of dead type.
106 * collector: the first to mark keys of that type as being dead, the second to
107 * collect dead links and the third to clean up the dead keys. We have to be
133 * Garbage collect a list of unreferenced, detached keys
135 static noinline void key_gc_unused_keys(struct list_head *keys) in key_gc_unused_keys() argument
137 while (!list_empty(keys)) { in key_gc_unused_keys()
139 list_entry(keys->next, struct key, graveyard_link); in key_gc_unused_keys()
180 * Garbage collector for unused keys.
192 #define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */ in key_garbage_collector()
194 #define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */ in key_garbage_collector()
286 * where we didn't reap any keys. in key_garbage_collector()
299 * dying keys that they don't have a reference upon or a link in key_garbage_collector()
307 kdebug("gc keys"); in key_garbage_collector()
314 /* No remaining dead keys: short circuit the remaining in key_garbage_collector()
358 * dead or expired keys. We don't flag another reap immediately as we in key_garbage_collector()
360 * can reap the keys to which it refers. in key_garbage_collector()