Lines Matching refs:cookie
28 struct fscache_cookie *cookie) in cachefiles_alloc_object() argument
40 _enter("{%s},%p,", cache->cache.identifier, cookie); in cachefiles_alloc_object()
56 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
58 object->type = cookie->def->type; in cachefiles_alloc_object()
68 keylen = cookie->key_len; in cachefiles_alloc_object()
69 if (keylen <= sizeof(cookie->inline_key)) in cachefiles_alloc_object()
70 p = cookie->inline_key; in cachefiles_alloc_object()
72 p = cookie->key; in cachefiles_alloc_object()
87 auxlen = cookie->aux_len; in cachefiles_alloc_object()
89 if (auxlen <= sizeof(cookie->inline_aux)) in cachefiles_alloc_object()
90 p = cookie->inline_aux; in cachefiles_alloc_object()
92 p = cookie->aux; in cachefiles_alloc_object()
97 auxdata->type = cookie->type; in cachefiles_alloc_object()
150 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object()
200 trace_cachefiles_ref(object, _object->cookie, in cachefiles_grab_object()
213 struct fscache_cookie *cookie; in cachefiles_update_object() local
229 cookie = object->fscache.cookie; in cachefiles_update_object()
230 auxlen = cookie->aux_len; in cachefiles_update_object()
245 aux = (auxlen <= sizeof(cookie->inline_aux)) ? in cachefiles_update_object()
246 cookie->inline_aux : cookie->aux; in cachefiles_update_object()
252 auxdata->type = cookie->type; in cachefiles_update_object()
348 trace_cachefiles_ref(object, _object->cookie, in cachefiles_put_object()