Home
last modified time | relevance | path

Searched refs:S_IFDIR (Results 1 – 25 of 175) sorted by relevance

1234567

/linux-6.6.21/net/sunrpc/
Drpc_pipe.c477 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/
Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux-6.6.21/include/uapi/linux/
Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux-6.6.21/fs/ramfs/
Dinode.c77 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/
Dtypes.h27 #define S_IFDIR 0040000 macro
36 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dinode.c236 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/
Dff-proc.c59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
/linux-6.6.21/fs/nfsd/
Dnfs3proc.c23 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()
Dvfs.c318 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()
Dnfsfh.c73 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()
Dnfsproc.c268 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/
Dinode.c87 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/
Dinode.c118 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/
Devent_inode.c146 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/
Ddigi00x-proc.c81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
/linux-6.6.21/tools/testing/selftests/memfd/
Dfuse_mnt.c32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
/linux-6.6.21/fs/ocfs2/dlmfs/
Ddlmfs.c335 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/
Dtascam-proc.c76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
/linux-6.6.21/fs/affs/
Dinode.c106 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/
Doxfw-proc.c101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
/linux-6.6.21/sound/firewire/motu/
Dmotu-proc.c105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
/linux-6.6.21/fs/configfs/
Dmount.c74 inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, in configfs_fill_super()
/linux-6.6.21/fs/openpromfs/
Dinode.c247 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/
Dnon-regular.c87 FIXTURE_VARIANT_ADD(file, S_IFDIR) in FIXTURE_VARIANT_ADD() argument
/linux-6.6.21/fs/efivarfs/
Dinode.c35 case S_IFDIR: in efivarfs_get_inode()

1234567