Searched refs:CACHEFILES_OBJECT_ACTIVE (Results 1 – 3 of 3) sorted by relevance
/fs/cachefiles/ |
D | namei.c | 151 if (test_and_set_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) { in cachefiles_mark_object_active() 184 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_mark_object_active() 194 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 212 wq = bit_waitqueue(&xobject->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_mark_object_active() 217 if (!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) in cachefiles_mark_object_active() 225 test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)) { in cachefiles_mark_object_active() 240 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &xobject->flags)); in cachefiles_mark_object_active() 267 clear_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags); in cachefiles_mark_object_inactive() 270 wake_up_bit(&object->flags, CACHEFILES_OBJECT_ACTIVE); in cachefiles_mark_object_inactive()
|
D | interface.c | 49 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 105 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 310 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) in cachefiles_drop_object() 350 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_put_object()
|
D | internal.h | 42 #define CACHEFILES_OBJECT_ACTIVE 0 /* T if marked active */ macro
|