Home
last modified time | relevance | path

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

1234567

/linux/net/sunrpc/
H A Drpc_pipe.c476 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()
1151 .mode = S_IFDIR | 0555,
1155 .mode = S_IFDIR | 0555,
1159 .mode = S_IFDIR | 0555,
1163 .mode = S_IFDIR | 0555,
1167 .mode = S_IFDIR | 0555,
1171 .mode = S_IFDIR | 0555,
[all …]
/linux/include/uapi/linux/
H A Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux/tools/include/uapi/linux/
H A Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux/fs/ramfs/
H A Dinode.c77 case S_IFDIR: in ramfs_get_inode()
125 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir()
274 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
/linux/tools/include/nolibc/
H A Dtypes.h29 #define S_IFDIR 0040000 macro
38 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c237 inode = spufs_new_inode(dir->i_sb, mode | S_IFDIR); in spufs_mkdir()
241 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkdir()
467 inode = spufs_new_inode(dir->i_sb, mode | S_IFDIR); in spufs_mkgang()
472 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkgang()
686 inode = spufs_new_inode(sb, S_IFDIR | ctx->mode); in spufs_create_root()
/linux/fs/tracefs/
H A Devent_inode.c192 if (!(dentry->d_inode->i_mode & S_IFDIR)) { in eventfs_set_attr()
212 if (dentry->d_inode->i_mode & S_IFDIR) { in eventfs_set_attr()
413 umode_t mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO; in lookup_dir_entry()
808 inode->i_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO; in eventfs_create_events_dir()
/linux/fs/hpfs/
H A 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/fs/nfsd/
H A Dnfs3proc.c23 S_IFDIR, /* NF3DIR */
274 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd3_create_file()
294 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd3_create_file()
417 &attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir()
521 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove()
542 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir()
668 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
H A Dnfsproc.c299 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
452 resp->status = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, in nfsd_proc_remove()
561 &attrs, S_IFDIR, 0, &resp->fh); in nfsd_proc_mkdir()
583 resp->status = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, in nfsd_proc_rmdir()
/linux/sound/firewire/fireface/
H A Dff-proc.c59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
/linux/fs/ocfs2/dlmfs/
H A Ddlmfs.c334 umode_t mode = S_IFDIR | 0755; in dlmfs_get_root_inode()
388 case S_IFDIR: in dlmfs_get_inode()
424 inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR); in dlmfs_mkdir()
/linux/sound/firewire/digi00x/
H A Ddigi00x-proc.c81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
/linux/fs/affs/
H A 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/tools/testing/selftests/memfd/
H A Dfuse_mnt.c32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
/linux/sound/firewire/tascam/
H A Dtascam-proc.c76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
/linux/sound/firewire/motu/
H A Dmotu-proc.c105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
/linux/sound/firewire/oxfw/
H A Doxfw-proc.c101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
/linux/fs/openpromfs/
H A Dinode.c247 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openpromfs_lookup()
392 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_fill_super()
/linux/fs/erofs/
H A Dinode.c140 case S_IFDIR: in erofs_read_inode()
220 case S_IFDIR: in erofs_fill_inode()
/linux/fs/configfs/
H A Dmount.c74 inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, in configfs_fill_super()
/linux/arch/s390/hypfs/
H A Dinode.c268 root_inode = hypfs_make_inode(sb, S_IFDIR | 0755); in hypfs_fill_super()
379 dentry = hypfs_create_file(parent, name, NULL, S_IFDIR | DIR_MODE); in hypfs_mkdir()
/linux/tools/usb/usbip/src/
H A Dusbip_attach.c55 if (!(s.st_mode & S_IFDIR)) in record_connection()
/linux/tools/testing/selftests/exec/
H A Dnon-regular.c87 FIXTURE_VARIANT_ADD(file, S_IFDIR) in FIXTURE_VARIANT_ADD() argument

1234567