Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/net/sunrpc/
A Drpc_pipe.c477 case S_IFDIR: in rpc_get_inode()
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,
1176 .mode = S_IFDIR | 0555,
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux-6.3-rc2/tools/include/uapi/linux/
A Dstat.h14 #define S_IFDIR 0040000 macro
23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/linux-6.3-rc2/fs/ramfs/
A 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.3-rc2/tools/include/nolibc/
A Dtypes.h20 #define S_IFDIR 0040000 macro
29 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/
A 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.3-rc2/sound/firewire/fireface/
A Dff-proc.c59 root->mode = S_IFDIR | 0555; in snd_ff_proc_init()
/linux-6.3-rc2/fs/nfsd/
A Dnfs3proc.c23 S_IFDIR, /* NF3DIR */
253 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd3_create_file()
273 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd3_create_file()
393 &attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir()
494 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove()
514 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir()
636 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
A Dvfs.c318 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_lookup()
1377 case S_IFDIR: in nfsd_create_locked()
1446 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_NOP); in nfsd_create()
1548 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_symlink()
1597 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_link()
1695 err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_rename()
1698 err = fh_verify(rqstp, tfhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd_rename()
1824 err = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_REMOVE); in nfsd_unlink()
1853 if (type != S_IFDIR) { in nfsd_unlink()
2032 err = nfsd_open(rqstp, fhp, S_IFDIR, may_flags, &file); in nfsd_readdir()
A Dnfsproc.c280 resp->status = fh_verify(rqstp, dirfhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd_proc_create()
431 resp->status = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, in nfsd_proc_remove()
536 &attrs, S_IFDIR, 0, &resp->fh); in nfsd_proc_mkdir()
557 resp->status = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, in nfsd_proc_rmdir()
A 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()
/linux-6.3-rc2/fs/erofs/
A Dinode.c90 case S_IFDIR: in erofs_read_inode()
133 case S_IFDIR: in erofs_read_inode()
268 case S_IFDIR: in erofs_fill_inode()
/linux-6.3-rc2/fs/hpfs/
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-6.3-rc2/sound/firewire/digi00x/
A Ddigi00x-proc.c81 root->mode = S_IFDIR | 0555; in snd_dg00x_proc_init()
/linux-6.3-rc2/tools/testing/selftests/memfd/
A Dfuse_mnt.c32 st->st_mode = S_IFDIR | 0755; in memfd_getattr()
/linux-6.3-rc2/fs/ocfs2/dlmfs/
A 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.3-rc2/sound/firewire/tascam/
A Dtascam-proc.c76 root->mode = S_IFDIR | 0555; in snd_tscm_proc_init()
/linux-6.3-rc2/fs/affs/
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-6.3-rc2/sound/firewire/motu/
A Dmotu-proc.c105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init()
/linux-6.3-rc2/sound/firewire/oxfw/
A Doxfw-proc.c101 root->mode = S_IFDIR | 0555; in snd_oxfw_proc_init()
/linux-6.3-rc2/fs/configfs/
A Dmount.c74 inode = configfs_new_inode(S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO, in configfs_fill_super()
/linux-6.3-rc2/fs/openpromfs/
A Dinode.c247 inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openpromfs_lookup()
394 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO; in openprom_fill_super()
/linux-6.3-rc2/fs/efivarfs/
A Dinode.c35 case S_IFDIR: in efivarfs_get_inode()
/linux-6.3-rc2/tools/testing/selftests/exec/
A Dnon-regular.c87 FIXTURE_VARIANT_ADD(file, S_IFDIR) in FIXTURE_VARIANT_ADD() argument
/linux-6.3-rc2/tools/usb/usbip/src/
A Dusbip_attach.c55 if (!(s.st_mode & S_IFDIR)) in record_connection()

Completed in 45 milliseconds

1234567