Lines Matching refs:lookup_data

33 	struct cachefiles_lookup_data *lookup_data;  in cachefiles_alloc_object()  local
45 lookup_data = kmalloc(sizeof(*lookup_data), GFP_KERNEL); in cachefiles_alloc_object()
46 if (!lookup_data) in cachefiles_alloc_object()
96 lookup_data->auxdata = auxdata; in cachefiles_alloc_object()
97 lookup_data->key = key; in cachefiles_alloc_object()
98 object->lookup_data = lookup_data; in cachefiles_alloc_object()
100 _leave(" = %p [%p]", &object->fscache, lookup_data); in cachefiles_alloc_object()
110 kfree(lookup_data); in cachefiles_alloc_object()
122 struct cachefiles_lookup_data *lookup_data; in cachefiles_lookup_object() local
134 lookup_data = object->lookup_data; in cachefiles_lookup_object()
136 ASSERTCMP(lookup_data, !=, NULL); in cachefiles_lookup_object()
141 lookup_data->key, in cachefiles_lookup_object()
142 lookup_data->auxdata); in cachefiles_lookup_object()
170 _enter("{OBJ%x,%p}", object->fscache.debug_id, object->lookup_data); in cachefiles_lookup_complete()
172 if (object->lookup_data) { in cachefiles_lookup_complete()
173 kfree(object->lookup_data->key); in cachefiles_lookup_complete()
174 kfree(object->lookup_data->auxdata); in cachefiles_lookup_complete()
175 kfree(object->lookup_data); in cachefiles_lookup_complete()
176 object->lookup_data = NULL; in cachefiles_lookup_complete()
330 if (object->lookup_data) { in cachefiles_put_object()
331 kfree(object->lookup_data->key); in cachefiles_put_object()
332 kfree(object->lookup_data->auxdata); in cachefiles_put_object()
333 kfree(object->lookup_data); in cachefiles_put_object()
334 object->lookup_data = NULL; in cachefiles_put_object()