Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/net/sunrpc/
Drpc_pipe.c477 case S_IFDIR: in rpc_get_inode()
533 err = __rpc_create_common(dir, dentry, S_IFDIR | mode, i_fop, private); in __rpc_mkdir()
673 case S_IFDIR: in __rpc_depopulate()
716 case S_IFDIR: in rpc_populate()
1150 .mode = S_IFDIR | 0555,
1154 .mode = S_IFDIR | 0555,
1158 .mode = S_IFDIR | 0555,
1162 .mode = S_IFDIR | 0555,
1166 .mode = S_IFDIR | 0555,
1170 .mode = S_IFDIR | 0555,
[all …]
/Linux-v5.4/include/uapi/linux/
Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/Linux-v5.4/tools/include/uapi/linux/
Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/Linux-v5.4/fs/ramfs/
Dinode.c83 case S_IFDIR: in ramfs_get_inode()
120 int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir()
234 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
/Linux-v5.4/fs/erofs/
Dinode.c41 case S_IFDIR: in erofs_read_inode()
80 case S_IFDIR: in erofs_read_inode()
208 case S_IFDIR: in erofs_fill_inode()
/Linux-v5.4/fs/nfsd/
Dvfs.c257 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_lookup()
1179 case S_IFDIR: in nfsd_create_locked()
1261 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_NOP); in nfsd_create()
1313 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in do_nfsd_create()
1336 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in do_nfsd_create()
1512 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_symlink()
1559 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_link()
1653 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_rename()
1656 err = fh_verify(rqstp, tfhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_rename()
1772 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_unlink()
[all …]
Dnfsfh.c71 if (mode == S_IFDIR && !d_can_lookup(dentry)) { in nfsd_mode_check()
83 if (requested == S_IFDIR) in nfsd_mode_check()
85 if (mode == S_IFDIR) in nfsd_mode_check()
Dnfsproc.c258 nfserr = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
405 nfserr = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, argp->name, argp->len); in nfsd_proc_remove()
499 &argp->attrs, S_IFDIR, 0, &resp->fh); in nfsd_proc_mkdir()
515 nfserr = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, argp->name, argp->len); in nfsd_proc_rmdir()
Dnfs3proc.c23 S_IFDIR, /* NF3DIR */
270 &argp->attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir()
361 nfserr = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, argp->name, argp->len); in nfsd3_proc_remove()
382 nfserr = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, argp->name, argp->len); in nfsd3_proc_rmdir()
523 nfserr = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
/Linux-v5.4/sound/firewire/fireface/
Dff-proc.c59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
/Linux-v5.4/drivers/oprofile/
Doprofilefs.c228 inode = oprofilefs_get_inode(parent->d_sb, S_IFDIR | 0755); in oprofilefs_mkdir()
252 root_inode = oprofilefs_get_inode(sb, S_IFDIR | 0755); in oprofilefs_fill_super()
/Linux-v5.4/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-v5.4/sound/firewire/digi00x/
Ddigi00x-proc.c81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
/Linux-v5.4/tools/testing/selftests/memfd/
Dfuse_mnt.c32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
/Linux-v5.4/sound/firewire/tascam/
Dtascam-proc.c76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
/Linux-v5.4/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-v5.4/fs/ocfs2/dlmfs/
Ddlmfs.c375 umode_t mode = S_IFDIR | 0755; in dlmfs_get_root_inode()
429 case S_IFDIR: in dlmfs_get_inode()
464 inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR); in dlmfs_mkdir()
/Linux-v5.4/sound/firewire/oxfw/
Doxfw-proc.c101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
/Linux-v5.4/sound/firewire/motu/
Dmotu-proc.c105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
/Linux-v5.4/fs/efivarfs/
Dinode.c30 case S_IFDIR: in efivarfs_get_inode()
/Linux-v5.4/fs/configfs/
Dmount.c76 inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, in configfs_fill_super()
/Linux-v5.4/fs/openpromfs/
Dinode.c245 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openpromfs_lookup()
358 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_iget()
/Linux-v5.4/tools/usb/usbip/src/
Dusbip_attach.c55 if (!(s.st_mode & S_IFDIR)) in record_connection()
/Linux-v5.4/fs/coda/
Dcoda_linux.c104 inode_type = S_IFDIR; in coda_vattr_to_iattr()
/Linux-v5.4/arch/s390/hypfs/
Dinode.c273 root_inode = hypfs_make_inode(sb, S_IFDIR | 0755); in hypfs_fill_super()
384 dentry = hypfs_create_file(parent, name, NULL, S_IFDIR | DIR_MODE); in hypfs_mkdir()

1234567