Lines Matching refs:cookie
95 struct fscache_cookie *cookie) in fscache_select_cache_for_object() argument
109 spin_lock(&cookie->lock); in fscache_select_cache_for_object()
113 if (!hlist_empty(&cookie->backing_objects)) { in fscache_select_cache_for_object()
114 object = hlist_entry(cookie->backing_objects.first, in fscache_select_cache_for_object()
122 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
128 if (cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) { in fscache_select_cache_for_object()
130 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
135 spin_unlock(&cookie->lock); in fscache_select_cache_for_object()
137 if (!cookie->def->select_cache) in fscache_select_cache_for_object()
141 tag = cookie->def->select_cache(cookie->parent->netfs_data, in fscache_select_cache_for_object()
142 cookie->netfs_data); in fscache_select_cache_for_object()
251 ifsdef->cookie = &fscache_fsdef_index; in fscache_add_cache()
342 _debug("withdraw %p", object->cookie); in fscache_withdraw_all_objects()