Lines Matching refs: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)
137 while (!list_empty(keys)) {
139 list_entry(keys->next, struct key, graveyard_link);
180 * Garbage collector for unused keys.
192 #define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */
194 #define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */
286 * where we didn't reap any keys.
299 * dying keys that they don't have a reference upon or a link
307 kdebug("gc keys");
314 /* No remaining dead keys: short circuit the remaining
358 * dead or expired keys. We don't flag another reap immediately as we
360 * can reap the keys to which it refers.