Lines Matching refs:lookup_data

32 	struct cachefiles_lookup_data *lookup_data;  in cachefiles_alloc_object()  local
44 lookup_data = kmalloc(sizeof(*lookup_data), GFP_KERNEL); in cachefiles_alloc_object()
45 if (!lookup_data) in cachefiles_alloc_object()
95 lookup_data->auxdata = auxdata; in cachefiles_alloc_object()
96 lookup_data->key = key; in cachefiles_alloc_object()
97 object->lookup_data = lookup_data; in cachefiles_alloc_object()
99 _leave(" = %p [%p]", &object->fscache, lookup_data); in cachefiles_alloc_object()
109 kfree(lookup_data); in cachefiles_alloc_object()
121 struct cachefiles_lookup_data *lookup_data; in cachefiles_lookup_object() local
133 lookup_data = object->lookup_data; in cachefiles_lookup_object()
135 ASSERTCMP(lookup_data, !=, NULL); in cachefiles_lookup_object()
140 lookup_data->key, in cachefiles_lookup_object()
141 lookup_data->auxdata); in cachefiles_lookup_object()
169 _enter("{OBJ%x,%p}", object->fscache.debug_id, object->lookup_data); in cachefiles_lookup_complete()
171 if (object->lookup_data) { in cachefiles_lookup_complete()
172 kfree(object->lookup_data->key); in cachefiles_lookup_complete()
173 kfree(object->lookup_data->auxdata); in cachefiles_lookup_complete()
174 kfree(object->lookup_data); in cachefiles_lookup_complete()
175 object->lookup_data = NULL; in cachefiles_lookup_complete()
329 if (object->lookup_data) { in cachefiles_put_object()
330 kfree(object->lookup_data->key); in cachefiles_put_object()
331 kfree(object->lookup_data->auxdata); in cachefiles_put_object()
332 kfree(object->lookup_data); in cachefiles_put_object()
333 object->lookup_data = NULL; in cachefiles_put_object()