Lines Matching refs:parent
59 struct fscache_cookie *parent, in __fscache_acquire_cookie() argument
69 parent ? (char *) parent->def->name : "<no-parent>", in __fscache_acquire_cookie()
75 if (!parent) { in __fscache_acquire_cookie()
86 parent->def->type != FSCACHE_COOKIE_TYPE_INDEX); in __fscache_acquire_cookie()
104 atomic_inc(&parent->usage); in __fscache_acquire_cookie()
105 atomic_inc(&parent->n_children); in __fscache_acquire_cookie()
108 cookie->parent = parent; in __fscache_acquire_cookie()
136 atomic_dec(&parent->n_children); in __fscache_acquire_cookie()
213 cache = fscache_select_cache_for_object(cookie->parent); in fscache_acquire_non_index_cookie()
312 ret = fscache_alloc_object(cache, cookie->parent); in fscache_alloc_object()
374 spin_lock_nested(&cookie->parent->lock, 1); in fscache_attach_object()
375 hlist_for_each_entry(p, &cookie->parent->backing_objects, in fscache_attach_object()
380 spin_unlock(&cookie->parent->lock); in fscache_attach_object()
383 object->parent = p; in fscache_attach_object()
390 spin_unlock(&cookie->parent->lock); in fscache_attach_object()
608 if (cookie->parent) { in __fscache_relinquish_cookie()
609 ASSERTCMP(atomic_read(&cookie->parent->usage), >, 0); in __fscache_relinquish_cookie()
610 ASSERTCMP(atomic_read(&cookie->parent->n_children), >, 0); in __fscache_relinquish_cookie()
611 atomic_dec(&cookie->parent->n_children); in __fscache_relinquish_cookie()
627 struct fscache_cookie *parent; in __fscache_cookie_put() local
633 parent = cookie->parent; in __fscache_cookie_put()
637 if (!parent) in __fscache_cookie_put()
640 cookie = parent; in __fscache_cookie_put()