Lines Matching refs:name
140 const char *name;
226 kfree(array->array[i].name);
272 * the caller is responsible for freeing qstr.name
276 static const char *nfs_readdir_copy_name(const char *name, unsigned int len)
278 const char *ret = kmemdup_nul(name, len, GFP_KERNEL);
281 * Avoid a kmemleak false positive. The pointer to the name is stored
315 const char *name;
318 name = nfs_readdir_copy_name(entry->name, entry->len);
321 if (!name)
325 kfree(name);
334 cache_entry->name = name;
725 struct qstr filename = QSTR_INIT(entry->name, entry->len);
738 /* Validate that the name doesn't contain any illegal '\0' */
739 if (strnlen(filename.name, filename.len) != filename.len)
742 if (strnchr(filename.name, filename.len, '/'))
744 if (filename.name[0] == '.') {
747 if (filename.len == 2 && filename.name[1] == '.')
750 filename.hash = full_name_hash(parent, filename.name, filename.len);
1104 if (!dir_emit(desc->ctx, ent->name, ent->name_len,
1822 * when we don't really care about the dentry name. This is called when a
2697 /* copy the target dentry's name */