Home
last modified time | relevance | path

Searched refs:isdir (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/security/apparmor/
Dpath.c94 int isdir = (flags & PATH_IS_DIR) ? 1 : 0; in d_namespace_path() local
95 int buflen = aa_g_path_max - isdir; in d_namespace_path()
171 if (!error && isdir && ((*name)[1] != '\0' || (*name)[0] != '/')) in d_namespace_path()
/linux-6.6.21/fs/fuse/
Dfuse_i.h1037 int fuse_open_common(struct inode *inode, struct file *file, bool isdir);
1049 void fuse_release_common(struct file *file, bool isdir);
1262 bool isdir);
1354 unsigned int open_flags, bool isdir);
1356 unsigned int open_flags, fl_owner_t id, bool isdir);
Dioctl.c425 bool isdir = S_ISDIR(inode->i_mode); in fuse_priv_ioctl_prepare() local
433 if (!S_ISREG(inode->i_mode) && !isdir) in fuse_priv_ioctl_prepare()
436 return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir); in fuse_priv_ioctl_prepare()
Dfile.c107 static void fuse_file_put(struct fuse_file *ff, bool sync, bool isdir) in fuse_file_put() argument
112 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put()
129 unsigned int open_flags, bool isdir) in fuse_file_open() argument
133 int opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN; in fuse_file_open()
141 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open()
142 if (isdir ? !fc->no_opendir : !fc->no_open) { in fuse_file_open()
155 if (isdir) in fuse_file_open()
162 if (isdir) in fuse_file_open()
171 bool isdir) in fuse_do_open() argument
173 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open()
[all …]
/linux-6.6.21/include/linux/
Dfsnotify.h142 int isdir, struct inode *target, in fsnotify_move() argument
152 if (isdir) { in fsnotify_move()
/linux-6.6.21/scripts/dtc/
Ddt-extract-compatibles64 if os.path.isdir(f):
/linux-6.6.21/tools/hv/
Dvmbus_testing30 if not os.path.isdir(debugfs_hyperv_path):
159 elif (os.path.isdir(f_path)):
Dlsvmbus19 if not os.path.isdir(vmbus_sys_path):
/linux-6.6.21/scripts/clang-tools/
Dgen_compile_commands.py202 if os.path.isdir(path):
/linux-6.6.21/scripts/
Dcheckkconfigsymbols.py302 ".log" in gitfile or os.path.isdir(gitfile) or \
Dspdxcheck.py385 elif os.path.isdir(p):
/linux-6.6.21/Documentation/sphinx/
Dkfigure.py90 if not path.isdir(folder):
/linux-6.6.21/tools/testing/kunit/
Dkunit_kernel.py175 if os.path.isdir(path):
/linux-6.6.21/tools/kvm/kvm_stat/
Dkvm_stat1448 return os.path.isdir(os.path.join('/proc/', str(pid)))
1852 not os.path.isdir(os.path.join('/proc/',
/linux-6.6.21/tools/perf/pmu-events/
Djevents.py1160 if os.path.isdir(path):
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_offload.py324 elif os.path.isdir(p):
777 if not os.path.isdir("/sys/bus/netdevsim/"):
/linux-6.6.21/fs/ceph/
Dfile.c199 int fmode, bool isdir) in ceph_init_file_info() argument
208 inode->i_mode, isdir ? "dir" : "regular"); in ceph_init_file_info()
211 if (isdir) { in ceph_init_file_info()
/linux-6.6.21/fs/gfs2/
Dbmap.c97 int isdir = gfs2_is_dir(ip); in __gfs2_unstuff_inode() local
112 if (isdir) { in __gfs2_unstuff_inode()
/linux-6.6.21/tools/power/pm-graph/
Dbootgraph.py1096 if testrun and os.path.isdir(sysvals.testdir) and \
Dsleepgraph.py500 if not os.path.isdir(self.testdir):
7008 if(os.path.isdir(val) == False):
7119 if not os.path.isdir(sysvals.outdir):
/linux-6.6.21/fs/btrfs/
Dioctl.c906 struct inode *dir, struct dentry *victim, int isdir) in btrfs_may_delete() argument
925 if (isdir) { in btrfs_may_delete()
/linux-6.6.21/fs/
Dnamei.c2952 struct dentry *victim, bool isdir) in may_delete() argument
2980 if (isdir) { in may_delete()