/linux-6.6.21/net/sunrpc/ |
D | rpc_pipe.c | 477 case S_IFDIR: in rpc_get_inode() 534 err = __rpc_create_common(dir, dentry, S_IFDIR | mode, i_fop, private); in __rpc_mkdir() 674 case S_IFDIR: in __rpc_depopulate() 717 case S_IFDIR: in rpc_populate() 1152 .mode = S_IFDIR | 0555, 1156 .mode = S_IFDIR | 0555, 1160 .mode = S_IFDIR | 0555, 1164 .mode = S_IFDIR | 0555, 1168 .mode = S_IFDIR | 0555, 1172 .mode = S_IFDIR | 0555, [all …]
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | stat.h | 14 #define S_IFDIR 0040000 macro 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/linux-6.6.21/include/uapi/linux/ |
D | stat.h | 14 #define S_IFDIR 0040000 macro 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/linux-6.6.21/fs/ramfs/ |
D | inode.c | 77 case S_IFDIR: in ramfs_get_inode() 116 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir() 243 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
|
/linux-6.6.21/tools/include/nolibc/ |
D | types.h | 27 #define S_IFDIR 0040000 macro 36 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 236 inode = spufs_new_inode(dir->i_sb, mode | S_IFDIR); in spufs_mkdir() 240 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkdir() 466 inode = spufs_new_inode(dir->i_sb, mode | S_IFDIR); in spufs_mkgang() 471 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkgang() 685 inode = spufs_new_inode(sb, S_IFDIR | ctx->mode); in spufs_create_root()
|
/linux-6.6.21/sound/firewire/fireface/ |
D | ff-proc.c | 59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
|
/linux-6.6.21/fs/nfsd/ |
D | nfs3proc.c | 23 S_IFDIR, /* NF3DIR */ 241 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd3_create_file() 261 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd3_create_file() 383 &attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir() 484 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove() 504 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir() 626 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
|
D | vfs.c | 318 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_lookup() 1440 case S_IFDIR: in nfsd_create_locked() 1509 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_NOP); in nfsd_create() 1613 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_symlink() 1665 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_link() 1765 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_rename() 1768 err = fh_verify(rqstp, tfhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_rename() 1899 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_unlink() 1930 if (type != S_IFDIR) { in nfsd_unlink() 2109 err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file); in nfsd_readdir()
|
D | nfsfh.c | 73 if (mode == S_IFDIR && !d_can_lookup(dentry)) { in nfsd_mode_check() 85 if (requested == S_IFDIR) in nfsd_mode_check() 87 if (mode == S_IFDIR) in nfsd_mode_check()
|
D | nfsproc.c | 268 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create() 419 resp->status = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, in nfsd_proc_remove() 524 &attrs, S_IFDIR, 0, &resp->fh); in nfsd_proc_mkdir() 545 resp->status = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, in nfsd_proc_rmdir()
|
/linux-6.6.21/fs/erofs/ |
D | inode.c | 87 case S_IFDIR: in erofs_read_inode() 130 case S_IFDIR: in erofs_read_inode() 264 case S_IFDIR: in erofs_fill_inode()
|
/linux-6.6.21/fs/hpfs/ |
D | inode.c | 118 i->i_mode |= S_IFDIR; in hpfs_read_inode() 167 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG)) in hpfs_write_inode_ea() 169 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { in hpfs_write_inode_ea()
|
/linux-6.6.21/fs/tracefs/ |
D | event_inode.c | 146 if (!(dentry->d_inode->i_mode & S_IFDIR)) { in eventfs_set_attr() 166 if (dentry->d_inode->i_mode & S_IFDIR) { in eventfs_set_attr() 392 S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO); in lookup_dir_entry() 762 inode->i_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO; in eventfs_create_events_dir()
|
/linux-6.6.21/sound/firewire/digi00x/ |
D | digi00x-proc.c | 81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
|
/linux-6.6.21/tools/testing/selftests/memfd/ |
D | fuse_mnt.c | 32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
|
/linux-6.6.21/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 335 umode_t mode = S_IFDIR | 0755; in dlmfs_get_root_inode() 389 case S_IFDIR: in dlmfs_get_inode() 425 inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR); in dlmfs_mkdir()
|
/linux-6.6.21/sound/firewire/tascam/ |
D | tascam-proc.c | 76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
|
/linux-6.6.21/fs/affs/ |
D | inode.c | 106 inode->i_mode |= S_IFDIR; in affs_iget() 108 inode->i_mode = S_IRUGO | S_IXUGO | S_IWUSR | S_IFDIR; in affs_iget() 119 inode->i_mode |= S_IFDIR; in affs_iget()
|
/linux-6.6.21/sound/firewire/oxfw/ |
D | oxfw-proc.c | 101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
|
/linux-6.6.21/sound/firewire/motu/ |
D | motu-proc.c | 105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
|
/linux-6.6.21/fs/configfs/ |
D | mount.c | 74 inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, in configfs_fill_super()
|
/linux-6.6.21/fs/openpromfs/ |
D | inode.c | 247 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openpromfs_lookup() 393 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_fill_super()
|
/linux-6.6.21/tools/testing/selftests/exec/ |
D | non-regular.c | 87 FIXTURE_VARIANT_ADD(file, S_IFDIR) in FIXTURE_VARIANT_ADD() argument
|
/linux-6.6.21/fs/efivarfs/ |
D | inode.c | 35 case S_IFDIR: in efivarfs_get_inode()
|