Lines Matching refs:cookie
91 struct fscache_cookie *cookie) in fscache_select_cache_for_object() argument
105 spin_lock(&cookie->lock); in fscache_select_cache_for_object()
109 if (!hlist_empty(&cookie->backing_objects)) { in fscache_select_cache_for_object()
110 object = hlist_entry(cookie->backing_objects.first, in fscache_select_cache_for_object()
118 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
124 if (cookie->type != FSCACHE_COOKIE_TYPE_INDEX) { in fscache_select_cache_for_object()
126 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
131 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
133 if (!cookie->def->select_cache) in fscache_select_cache_for_object()
137 tag = cookie->def->select_cache(cookie->parent->netfs_data, in fscache_select_cache_for_object()
138 cookie->netfs_data); in fscache_select_cache_for_object()
219 ASSERTCMP(ifsdef->cookie, ==, &fscache_fsdef_index); in fscache_add_cache()
337 _debug("withdraw %x", object->cookie->debug_id); in fscache_withdraw_all_objects()