/linux-4.19.296/fs/coda/ |
D | dir.c | 44 const char *name = entry->d_name.name; in coda_lookup() 45 size_t length = entry->d_name.len; in coda_lookup() 138 const char *name=de->d_name.name; in coda_create() 139 int length=de->d_name.len; in coda_create() 171 const char *name = de->d_name.name; in coda_mkdir() 172 int len = de->d_name.len; in coda_mkdir() 206 const char * name = de->d_name.name; in coda_link() 207 int len = de->d_name.len; in coda_link() 231 const char *name = de->d_name.name; in coda_symlink() 232 int len = de->d_name.len; in coda_symlink() [all …]
|
/linux-4.19.296/fs/ |
D | readdir.c | 116 char d_name[1]; member 146 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir() 152 __copy_to_user(dirent->d_name, name, namlen) || in fillonedir() 153 __put_user(0, dirent->d_name + namlen)) in fillonedir() 192 char d_name[1]; member 210 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() 236 if (copy_to_user(dirent->d_name, name, namlen)) in filldir() 238 if (__put_user(0, dirent->d_name + namlen)) in filldir() 299 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in filldir64() 324 if (copy_to_user(dirent->d_name, name, namlen)) in filldir64() [all …]
|
D | dcache.c | 235 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp() 250 return container_of(dentry->d_name.name, struct external_name, name[0]); in external_name() 283 return dentry->d_name.name != dentry->d_iname; in dname_external() 296 dentry->d_name.len + 1); in take_dentry_name_snapshot() 474 b = d_hash(dentry->d_name.hash); in ___d_drop() 1640 dentry->d_name.len = name->len; in __d_alloc() 1641 dentry->d_name.hash = name->hash; in __d_alloc() 1646 smp_store_release(&dentry->d_name.name, dname); /* ^^^ */ in __d_alloc() 2096 if (dentry->d_name.len != name->len) in d_same_name() 2101 dentry->d_name.len, dentry->d_name.name, in d_same_name() [all …]
|
/linux-4.19.296/fs/jffs2/ |
D | dir.c | 86 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup() 92 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup() 100 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup() 101 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup() 200 ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name); in jffs2_create() 232 ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name, in jffs2_unlink() 233 dentry->d_name.len, dead_f, now); in jffs2_unlink() 264 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now… in jffs2_link() 307 namelen = dentry->d_name.len; in jffs2_symlink() 371 ret = jffs2_init_security(inode, dir_i, &dentry->d_name); in jffs2_symlink() [all …]
|
/linux-4.19.296/fs/efivarfs/ |
D | inode.c | 80 if (!efivarfs_valid_name(dentry->d_name.name, dentry->d_name.len)) in efivarfs_create() 88 namelen = dentry->d_name.len - EFI_VARIABLE_GUID_LEN - 1; in efivarfs_create() 90 err = guid_parse(dentry->d_name.name + namelen + 1, &var->var.VendorGuid); in efivarfs_create() 95 dentry->d_name.name, namelen)) in efivarfs_create() 105 var->var.VariableName[i] = dentry->d_name.name[i]; in efivarfs_create()
|
/linux-4.19.296/fs/ocfs2/ |
D | namei.c | 120 trace_ocfs2_lookup(dir, dentry, dentry->d_name.len, in ocfs2_lookup() 121 dentry->d_name.name, in ocfs2_lookup() 124 if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) { in ocfs2_lookup() 137 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup() 138 dentry->d_name.len, &blkno); in ocfs2_lookup() 266 trace_ocfs2_mknod(dir, dentry, dentry->d_name.len, dentry->d_name.name, in ocfs2_mknod() 298 status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, in ocfs2_mknod() 299 dentry->d_name.len); in ocfs2_mknod() 305 dentry->d_name.name, in ocfs2_mknod() 306 dentry->d_name.len, &lookup); in ocfs2_mknod() [all …]
|
D | dcache.c | 63 trace_ocfs2_dentry_revalidate(dentry, dentry->d_name.len, in ocfs2_dentry_revalidate() 64 dentry->d_name.name); in ocfs2_dentry_revalidate() 76 trace_ocfs2_dentry_revalidate_negative(dentry->d_name.len, in ocfs2_dentry_revalidate() 77 dentry->d_name.name, in ocfs2_dentry_revalidate() 178 trace_ocfs2_find_local_alias(dentry->d_name.len, in ocfs2_find_local_alias() 179 dentry->d_name.name); in ocfs2_find_local_alias() 234 trace_ocfs2_dentry_attach_lock(dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
|
/linux-4.19.296/fs/orangefs/ |
D | namei.c | 43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 44 dentry->d_name.name, ORANGEFS_NAME_MAX - 1); in orangefs_create() 126 if (dentry->d_name.len > (ORANGEFS_NAME_MAX - 1)) in orangefs_lookup() 142 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 148 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 197 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, in orangefs_unlink() 253 dentry->d_name.name, in orangefs_symlink() 331 strncpy(new_op->upcall.req.mkdir.d_name, in orangefs_mkdir() 332 dentry->d_name.name, ORANGEFS_NAME_MAX - 1); in orangefs_mkdir() 411 old_dentry->d_name.name, in orangefs_rename() [all …]
|
D | upcall.h | 31 char d_name[ORANGEFS_NAME_MAX]; member 37 char d_name[ORANGEFS_NAME_MAX]; member 60 char d_name[ORANGEFS_NAME_MAX]; member 66 char d_name[ORANGEFS_NAME_MAX]; member
|
/linux-4.19.296/fs/nfs/ |
D | nfstrace.h | 182 __string(name, dentry->d_name.name) 189 __assign_str(name, dentry->d_name.name); 226 __string(name, dentry->d_name.name) 234 __assign_str(name, dentry->d_name.name); 293 __string(name, ctx->dentry->d_name.name) 301 __assign_str(name, ctx->dentry->d_name.name); 331 __string(name, ctx->dentry->d_name.name) 340 __assign_str(name, ctx->dentry->d_name.name); 369 __string(name, dentry->d_name.name) 376 __assign_str(name, dentry->d_name.name); [all …]
|
/linux-4.19.296/fs/afs/ |
D | dir.c | 533 .name = dentry->d_name, in afs_do_lookup_one() 622 cookie->name = dentry->d_name; in afs_do_lookup() 782 if (dentry->d_name.len > 4) { in afs_lookup_atsys() 783 memcpy(p, dentry->d_name.name, dentry->d_name.len - 4); in afs_lookup_atsys() 784 p += dentry->d_name.len - 4; in afs_lookup_atsys() 795 len = dentry->d_name.len - 4 + strlen(name); in afs_lookup_atsys() 837 if (dentry->d_name.len >= AFSNAMEMAX) { in afs_lookup() 860 if (dentry->d_name.len >= 4 && in afs_lookup() 861 dentry->d_name.name[dentry->d_name.len - 4] == '@' && in afs_lookup() 862 dentry->d_name.name[dentry->d_name.len - 3] == 's' && in afs_lookup() [all …]
|
D | mntpt.c | 100 unsigned size = mntpt->d_name.len; in afs_mntpt_do_automount() 106 if (mntpt->d_name.name[0] == '.') { in afs_mntpt_do_automount() 108 memcpy(devname + 1, mntpt->d_name.name + 1, size - 1); in afs_mntpt_do_automount() 114 memcpy(devname + 1, mntpt->d_name.name, size); in afs_mntpt_do_automount()
|
/linux-4.19.296/fs/hfs/ |
D | dir.c | 31 hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfs_lookup() 198 inode = hfs_new_inode(dir, &dentry->d_name, mode); in hfs_create() 202 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_create() 227 inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode); in hfs_mkdir() 231 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_mkdir() 261 res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); in hfs_remove() 299 old_dir, &old_dentry->d_name, in hfs_rename() 300 new_dir, &new_dentry->d_name); in hfs_rename() 304 new_dir->i_ino, &new_dentry->d_name); in hfs_rename()
|
/linux-4.19.296/fs/fat/ |
D | namei_msdos.c | 209 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup() 275 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_create() 279 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_create() 320 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_rmdir() 352 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_mkdir() 356 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_mkdir() 408 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_unlink() 608 err = msdos_format_name(old_dentry->d_name.name, in msdos_rename() 609 old_dentry->d_name.len, old_msdos_name, in msdos_rename() 613 err = msdos_format_name(new_dentry->d_name.name, in msdos_rename() [all …]
|
/linux-4.19.296/fs/reiserfs/ |
D | namei.c | 360 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup() 367 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_lookup() 652 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_create() 677 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create() 678 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_create() 732 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_mknod() 763 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod() 764 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_mknod() 823 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_mkdir() 860 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir() [all …]
|
D | dir.c | 142 char *d_name; in reiserfs_readdir_inode() local 150 d_name = B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh); in reiserfs_readdir_inode() 153 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir_inode() 163 if (!d_name[d_reclen - 1]) in reiserfs_readdir_inode() 164 d_reclen = strlen(d_name); in reiserfs_readdir_inode() 202 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_inode()
|
/linux-4.19.296/fs/hfsplus/ |
D | dir.c | 48 &dentry->d_name); in hfsplus_lookup() 324 src_dir, &src_dentry->d_name, in hfsplus_link() 335 &src_dentry->d_name, inode); in hfsplus_link() 342 res = hfsplus_create_cat(cnid, dst_dir, &dst_dentry->d_name, inode); in hfsplus_link() 377 dir, &dentry->d_name, in hfsplus_unlink() 385 res = hfsplus_delete_cat(cnid, dir, &dentry->d_name); in hfsplus_unlink() 425 res = hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name); in hfsplus_rmdir() 453 res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); in hfsplus_symlink() 457 res = hfsplus_init_security(inode, dir, &dentry->d_name); in hfsplus_symlink() 462 hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name); in hfsplus_symlink() [all …]
|
/linux-4.19.296/fs/ext2/ |
D | namei.c | 61 if (dentry->d_name.len > EXT2_NAME_LEN) in ext2_lookup() 64 ino = ext2_inode_by_name(dir, &dentry->d_name); in ext2_lookup() 104 inode = ext2_new_inode(dir, mode, &dentry->d_name); in ext2_create() 135 inode = ext2_new_inode (dir, mode, &dentry->d_name); in ext2_mknod() 163 inode = ext2_new_inode (dir, S_IFLNK | S_IRWXUGO, &dentry->d_name); in ext2_symlink() 233 inode = ext2_new_inode(dir, S_IFDIR | mode, &dentry->d_name); in ext2_mkdir() 279 de = ext2_find_entry (dir, &dentry->d_name, &page); in ext2_unlink() 335 old_de = ext2_find_entry (old_dir, &old_dentry->d_name, &old_page); in ext2_rename() 357 new_de = ext2_find_entry (new_dir, &new_dentry->d_name, &new_page); in ext2_rename()
|
/linux-4.19.296/fs/hpfs/ |
D | namei.c | 25 const unsigned char *name = dentry->d_name.name; in hpfs_mkdir() 26 unsigned len = dentry->d_name.len; in hpfs_mkdir() 133 const unsigned char *name = dentry->d_name.name; in hpfs_create() 134 unsigned len = dentry->d_name.len; in hpfs_create() 220 const unsigned char *name = dentry->d_name.name; in hpfs_mknod() 221 unsigned len = dentry->d_name.len; in hpfs_mknod() 294 const unsigned char *name = dentry->d_name.name; in hpfs_symlink() 295 unsigned len = dentry->d_name.len; in hpfs_symlink() 373 const unsigned char *name = dentry->d_name.name; in hpfs_unlink() 374 unsigned len = dentry->d_name.len; in hpfs_unlink() [all …]
|
/linux-4.19.296/fs/freevxfs/ |
D | vxfs_lookup.c | 84 const char *name = dp->d_name.name; in vxfs_find_entry() 85 int namelen = dp->d_name.len; in vxfs_find_entry() 128 if (!memcmp(name, de->d_name, namelen)) { in vxfs_find_entry() 192 if (dp->d_name.len > VXFS_NAMELEN) in vxfs_lookup() 277 rc = dir_emit(ctx, de->d_name, in vxfs_readdir()
|
D | vxfs_dir.h | 70 char d_name[VXFS_NAMELEN]; /* name */ member 83 #define VXFS_NAMEMIN offsetof(struct vxfs_direct, d_name)
|
/linux-4.19.296/fs/bfs/ |
D | dir.c | 113 err = bfs_add_entry(dir, &dentry->d_name, inode->i_ino); in bfs_create() 133 if (dentry->d_name.len > BFS_NAMELEN) in bfs_lookup() 137 bh = bfs_find_entry(dir, &dentry->d_name, &de); in bfs_lookup() 155 err = bfs_add_entry(dir, &new->d_name, inode->i_ino); in bfs_link() 178 bh = bfs_find_entry(dir, &dentry->d_name, &de); in bfs_unlink() 223 old_bh = bfs_find_entry(old_dir, &old_dentry->d_name, &old_de); in bfs_rename() 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); in bfs_rename() 237 error = bfs_add_entry(new_dir, &new_dentry->d_name, in bfs_rename()
|
/linux-4.19.296/fs/overlayfs/ |
D | dir.c | 136 d = lookup_one_len(dentry->d_name.name, dentry->d_parent, in ovl_mkdir_real() 137 dentry->d_name.len); in ovl_mkdir_real() 306 lookup_one_len(dentry->d_name.name, in ovl_create_upper() 308 dentry->d_name.len), in ovl_create_upper() 459 upper = lookup_one_len(dentry->d_name.name, upperdir, in ovl_create_over_whiteout() 460 dentry->d_name.len); in ovl_create_over_whiteout() 585 attr->mode, &dentry->d_name, old_cred, in ovl_create_or_link() 755 upper = lookup_one_len(dentry->d_name.name, upperdir, in ovl_remove_and_whiteout() 756 dentry->d_name.len); in ovl_remove_and_whiteout() 802 upper = lookup_one_len(dentry->d_name.name, upperdir, in ovl_remove_upper() [all …]
|
/linux-4.19.296/fs/qnx6/ |
D | namei.c | 22 const char *name = dentry->d_name.name; in qnx6_lookup() 23 int len = dentry->d_name.len; in qnx6_lookup()
|
/linux-4.19.296/fs/isofs/ |
D | namei.c | 25 return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen); in isofs_cmp() 26 return dentry->d_op->d_compare(NULL, dentry->d_name.len, dentry->d_name.name, &qstr); in isofs_cmp()
|