Searched refs:isdir (Results 1 - 23 of 23) sorted by relevance

/linux-master/security/apparmor/
H A Dpath.c94 int isdir = (flags & PATH_IS_DIR) ? 1 : 0; local
95 int buflen = aa_g_path_max - isdir;
171 if (!error && isdir && ((*name)[1] != '\0' || (*name)[0] != '/'))
/linux-master/tools/hv/
H A Dlsvmbus19 if not os.path.isdir(vmbus_sys_path):
H A Dvmbus_testing30 if not os.path.isdir(debugfs_hyperv_path):
159 elif (os.path.isdir(f_path)):
/linux-master/scripts/dtc/
H A Ddt-extract-compatibles96 if os.path.isdir(f):
/linux-master/fs/fuse/
H A Dioctl.c425 bool isdir = S_ISDIR(inode->i_mode); local
433 if (!S_ISREG(inode->i_mode) && !isdir)
436 return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir);
H A Dfuse_i.h1094 void fuse_release_common(struct file *file, bool isdir);
1307 bool isdir);
1407 unsigned int open_flags, bool isdir);
1409 unsigned int open_flags, fl_owner_t id, bool isdir);
H A Dfile.c127 unsigned int open_flags, bool isdir)
131 int opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN;
132 bool open = isdir ? !fc->no_opendir : !fc->no_open;
140 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0);
157 if (isdir)
164 if (isdir)
173 bool isdir)
175 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir);
337 unsigned int open_flags, fl_owner_t id, bool isdir)
341 int opcode = isdir
126 fuse_file_open(struct fuse_mount *fm, u64 nodeid, unsigned int open_flags, bool isdir) argument
172 fuse_do_open(struct fuse_mount *fm, u64 nodeid, struct file *file, bool isdir) argument
336 fuse_file_release(struct inode *inode, struct fuse_file *ff, unsigned int open_flags, fl_owner_t id, bool isdir) argument
362 fuse_release_common(struct file *file, bool isdir) argument
365 (fl_owner_t) file, isdir); local
[all...]
/linux-master/scripts/clang-tools/
H A Dgen_compile_commands.py202 if os.path.isdir(path):
/linux-master/include/linux/
H A Dfsnotify.h186 int isdir, struct inode *target,
196 if (isdir) {
184 fsnotify_move(struct inode *old_dir, struct inode *new_dir, const struct qstr *old_name, int isdir, struct inode *target, struct dentry *moved) argument
/linux-master/tools/testing/selftests/devices/
H A Dtest_discoverable_devices.py173 ksft.test_result(os.path.isdir(driver_link), test_name)
177 ksft.test_result(os.path.isdir(driver_link), test_name)
/linux-master/scripts/
H A Dcheckkconfigsymbols.py302 ".log" in gitfile or os.path.isdir(gitfile) or \
H A Dspdxcheck.py385 elif os.path.isdir(p):
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat1448 return os.path.isdir(os.path.join('/proc/', str(pid)))
1852 not os.path.isdir(os.path.join('/proc/',
/linux-master/Documentation/sphinx/
H A Dkfigure.py84 if not path.isdir(folder):
/linux-master/tools/testing/kunit/
H A Dkunit_kernel.py176 if os.path.isdir(path):
/linux-master/tools/testing/selftests/bpf/
H A Dtest_offload.py326 elif os.path.isdir(p):
777 if not os.path.isdir("/sys/bus/netdevsim/"):
/linux-master/tools/perf/pmu-events/
H A Djevents.py1223 if os.path.isdir(path):
/linux-master/fs/gfs2/
H A Dbmap.c95 int isdir = gfs2_is_dir(ip); local
110 if (isdir) {
/linux-master/tools/power/pm-graph/
H A Dbootgraph.py1096 if testrun and os.path.isdir(sysvals.testdir) and \
H A 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-master/fs/ceph/
H A Dfile.c201 int fmode, bool isdir)
211 file, inode->i_mode, isdir ? "dir" : "regular");
214 if (isdir) {
200 ceph_init_file_info(struct inode *inode, struct file *file, int fmode, bool isdir) argument
/linux-master/fs/
H A Dnamei.c2962 struct dentry *victim, bool isdir)
2990 if (isdir) {
2961 may_delete(struct mnt_idmap *idmap, struct inode *dir, struct dentry *victim, bool isdir) argument
/linux-master/fs/btrfs/
H A Dioctl.c935 struct inode *dir, struct dentry *victim, int isdir)
956 if (isdir) {
934 btrfs_may_delete(struct mnt_idmap *idmap, struct inode *dir, struct dentry *victim, int isdir) argument

Completed in 339 milliseconds