Searched refs:CACHEFILES_OBJECT_ACTIVE (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/cachefiles/ |
D | namei.c | 156 if (test_and_set_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) { in cachefiles_mark_object_active() 189 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_mark_object_active() 199 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 217 wq = bit_waitqueue(&xobject->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_mark_object_active() 222 if (!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) in cachefiles_mark_object_active() 230 test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 245 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)); in cachefiles_mark_object_active() 270 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_mark_object_inactive() 273 wake_up_bit(&object->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_mark_object_inactive()
|
D | interface.c | 53 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 109 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 314 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) in cachefiles_drop_object() 354 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_put_object()
|
D | internal.h | 46 #define CACHEFILES_OBJECT_ACTIVE 0 /* T if marked active */ macro
|