Lines Matching defs:cookie
124 * Read data from fscache (cookie, pstart, len), and fill the read data into
128 static int erofs_fscache_read_folios_async(struct fscache_cookie *cookie,
141 ret = fscache_begin_read_operation(cres, cookie);
191 ret = erofs_fscache_read_folios_async(ctx->cookie, req,
267 ret = erofs_fscache_read_folios_async(mdev.m_fscache->cookie,
442 struct fscache_cookie *cookie;
453 cookie = fscache_acquire_cookie(volume, FSCACHE_ADV_WANT_CACHE_SIZE,
455 if (!cookie) {
456 erofs_err(sb, "failed to get cookie for %s", name);
460 fscache_use_cookie(cookie, false);
480 ctx->cookie = cookie;
485 fscache_unuse_cookie(cookie, NULL, NULL);
486 fscache_relinquish_cookie(cookie, false);
494 fscache_unuse_cookie(ctx->cookie, NULL, NULL);
495 fscache_relinquish_cookie(ctx->cookie, false);