Lines Matching defs:string
26 #include <linux/string.h>
136 struct qstr string;
187 kfree(array->array[i].string.name);
198 int nfs_readdir_make_qstr(struct qstr *string, const char *name, unsigned int len)
200 string->len = len;
201 string->name = kmemdup_nul(name, len, GFP_KERNEL);
202 if (string->name == NULL)
208 kmemleak_not_leak(string->name);
209 string->hash = full_name_hash(NULL, name, len);
230 ret = nfs_readdir_make_qstr(&cache_entry->string, entry->name, entry->len);
317 desc->file, array->array[i].string.len,
318 array->array[i].string.name, *desc->dir_cookie);
811 if (!dir_emit(desc->ctx, ent->string.name, ent->string.len,