Lines Matching refs:cookie
24 struct fscache_cookie *cookie) in cachefiles_alloc_object() argument
36 _enter("{%s},%x,", cache->cache.identifier, cookie->debug_id); in cachefiles_alloc_object()
52 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
54 object->type = cookie->def->type; in cachefiles_alloc_object()
64 keylen = cookie->key_len; in cachefiles_alloc_object()
65 if (keylen <= sizeof(cookie->inline_key)) in cachefiles_alloc_object()
66 p = cookie->inline_key; in cachefiles_alloc_object()
68 p = cookie->key; in cachefiles_alloc_object()
83 auxlen = cookie->aux_len; in cachefiles_alloc_object()
85 if (auxlen <= sizeof(cookie->inline_aux)) in cachefiles_alloc_object()
86 p = cookie->inline_aux; in cachefiles_alloc_object()
88 p = cookie->aux; in cachefiles_alloc_object()
93 auxdata->type = cookie->type; in cachefiles_alloc_object()
146 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object()
196 trace_cachefiles_ref(object, _object->cookie, in cachefiles_grab_object()
209 struct fscache_cookie *cookie; in cachefiles_update_object() local
225 cookie = object->fscache.cookie; in cachefiles_update_object()
226 auxlen = cookie->aux_len; in cachefiles_update_object()
241 aux = (auxlen <= sizeof(cookie->inline_aux)) ? in cachefiles_update_object()
242 cookie->inline_aux : cookie->aux; in cachefiles_update_object()
248 auxdata->type = cookie->type; in cachefiles_update_object()
344 trace_cachefiles_ref(object, _object->cookie, in cachefiles_put_object()