Home
last modified time | relevance | path

Searched refs:key_gc_flags (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/keys/
H A Dgc.c33 static unsigned long key_gc_flags; variable
58 if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) { in key_schedule_gc()
87 set_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags); in key_schedule_gc_links()
117 set_bit(KEY_GC_REAPING_KEYTYPE, &key_gc_flags); in key_gc_keytype()
119 set_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags); in key_gc_keytype()
125 wait_on_bit(&key_gc_flags, KEY_GC_REAPING_KEYTYPE, in key_gc_keytype()
201 kenter("[%lx,%x]", key_gc_flags, gc_state); in key_garbage_collector()
208 if (test_and_clear_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags)) in key_garbage_collector()
211 if (test_and_clear_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) in key_garbage_collector()
328 clear_bit(KEY_GC_REAPING_KEYTYPE, &key_gc_flags); in key_garbage_collector()
[all …]