Searched refs:CACHEFILES_OBJECT_ACTIVE (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/fs/cachefiles/ |
D | namei.c | 158 if (test_and_set_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) { in cachefiles_mark_object_active() 200 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 218 wq = bit_waitqueue(&xobject->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_mark_object_active() 223 if (!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) in cachefiles_mark_object_active() 231 test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 246 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)); in cachefiles_mark_object_active() 252 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_mark_object_active() 679 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_walk_to_object() 680 wake_up_bit(&object->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_walk_to_object()
|
D | interface.c | 53 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 103 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 294 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) { in cachefiles_drop_object() 296 if (!test_and_clear_bit(CACHEFILES_OBJECT_ACTIVE, in cachefiles_drop_object() 300 wake_up_bit(&object->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_drop_object() 335 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_put_object()
|
D | internal.h | 45 #define CACHEFILES_OBJECT_ACTIVE 0 /* T if marked active */ macro
|