Home
last modified time | relevance | path

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

/linux-3.4.99/fs/fscache/
Dcookie.c96 atomic_set(&cookie->n_children, 0); in __fscache_acquire_cookie()
99 atomic_inc(&parent->n_children); in __fscache_acquire_cookie()
127 atomic_dec(&parent->n_children); in __fscache_acquire_cookie()
344 p->n_children++; in fscache_attach_object()
430 if (atomic_read(&cookie->n_children) != 0) { in __fscache_relinquish_cookie()
477 ASSERTCMP(atomic_read(&cookie->parent->n_children), >, 0); in __fscache_relinquish_cookie()
478 atomic_dec(&cookie->parent->n_children); in __fscache_relinquish_cookie()
Dnetfs.c42 atomic_set(&netfs->primary_index->n_children, 0); in __fscache_register_netfs()
49 atomic_inc(&netfs->primary_index->parent->n_children); in __fscache_register_netfs()
Dobject.c168 object->debug_id, object->n_ops, object->n_children); in fscache_object_state_machine()
169 if (object->n_ops == 0 && object->n_children == 0) { in fscache_object_state_machine()
618 _enter("{OBJ%x,%d}", object->debug_id, object->n_children); in fscache_drop_object()
633 parent->debug_id, parent->n_children); in fscache_drop_object()
636 parent->n_children--; in fscache_drop_object()
637 if (parent->n_children == 0) in fscache_drop_object()
Dobject-list.c242 obj->n_children, in fscache_objlist_show()
/linux-3.4.99/include/linux/
Dfscache-cache.h286 atomic_t n_children; /* number of children of this cookie */ member
334 int n_children; /* number of child objects */ member
413 object->n_children = 0; in fscache_object_init()
/linux-3.4.99/fs/cachefiles/
Dinterface.c317 object->fscache.parent->n_children, >, 0); in cachefiles_put_object()
327 ASSERTCMP(object->fscache.n_children, ==, 0); in cachefiles_put_object()