Lines Matching refs:key_gc_flags
33 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()
74 set_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags); in key_schedule_gc_links()
104 set_bit(KEY_GC_REAPING_KEYTYPE, &key_gc_flags); in key_gc_keytype()
106 set_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags); in key_gc_keytype()
112 wait_on_bit(&key_gc_flags, KEY_GC_REAPING_KEYTYPE, in key_gc_keytype()
189 kenter("[%lx,%x]", key_gc_flags, gc_state); in key_garbage_collector()
200 if (test_and_clear_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags)) in key_garbage_collector()
203 if (test_and_clear_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) in key_garbage_collector()
317 clear_bit(KEY_GC_REAPING_KEYTYPE, &key_gc_flags); in key_garbage_collector()
318 wake_up_bit(&key_gc_flags, KEY_GC_REAPING_KEYTYPE); in key_garbage_collector()