Lines Matching defs:cookie
91 struct fscache_cookie *cookie)
105 spin_lock(&cookie->lock);
109 if (!hlist_empty(&cookie->backing_objects)) {
110 object = hlist_entry(cookie->backing_objects.first,
118 spin_unlock(&cookie->lock);
124 if (cookie->type != FSCACHE_COOKIE_TYPE_INDEX) {
125 /* cookie not an index and is unbacked */
126 spin_unlock(&cookie->lock);
127 _leave(" = NULL [cookie ub,ni]");
131 spin_unlock(&cookie->lock);
133 if (!cookie->def->select_cache)
137 tag = cookie->def->select_cache(cookie->parent->netfs_data,
138 cookie->netfs_data);
219 ASSERTCMP(ifsdef->cookie, ==, &fscache_fsdef_index);
267 * cookie as a known backing object */
338 _debug("withdraw %p", object->cookie);
370 /* make the cache unavailable for cookie acquisition */