• Home
  • Raw
  • Download

Lines Matching refs:parent

59 	struct fscache_cookie *parent,  in __fscache_acquire_cookie()  argument
68 parent ? (char *) parent->def->name : "<no-parent>", in __fscache_acquire_cookie()
74 if (!parent) { in __fscache_acquire_cookie()
85 parent->def->type != FSCACHE_COOKIE_TYPE_INDEX); in __fscache_acquire_cookie()
98 atomic_inc(&parent->usage); in __fscache_acquire_cookie()
99 atomic_inc(&parent->n_children); in __fscache_acquire_cookie()
102 cookie->parent = parent; in __fscache_acquire_cookie()
127 atomic_dec(&parent->n_children); in __fscache_acquire_cookie()
168 cache = fscache_select_cache_for_object(cookie->parent); in fscache_acquire_non_index_cookie()
271 ret = fscache_alloc_object(cache, cookie->parent); in fscache_alloc_object()
333 spin_lock_nested(&cookie->parent->lock, 1); in fscache_attach_object()
334 hlist_for_each_entry(p, _n, &cookie->parent->backing_objects, in fscache_attach_object()
339 spin_unlock(&cookie->parent->lock); in fscache_attach_object()
342 object->parent = p; in fscache_attach_object()
349 spin_unlock(&cookie->parent->lock); in fscache_attach_object()
475 if (cookie->parent) { in __fscache_relinquish_cookie()
476 ASSERTCMP(atomic_read(&cookie->parent->usage), >, 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()
494 struct fscache_cookie *parent; in __fscache_cookie_put() local
500 parent = cookie->parent; in __fscache_cookie_put()
504 if (!parent) in __fscache_cookie_put()
507 cookie = parent; in __fscache_cookie_put()