Home
last modified time | relevance | path

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

/fs/fuse/
Dfile.c108 bool sync, bool isdir) in fuse_file_put() argument
127 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put()
143 unsigned int open_flags, bool isdir) in fuse_file_open() argument
147 int opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN; in fuse_file_open()
155 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open()
156 if (isdir ? !fc->no_opendir : !fc->no_open) { in fuse_file_open()
169 if (isdir) in fuse_file_open()
176 if (isdir) in fuse_file_open()
185 bool isdir) in fuse_do_open() argument
187 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open()
[all …]
Dfuse_i.h1124 int fuse_open_common(struct inode *inode, struct file *file, bool isdir);
1136 void fuse_release_common(struct file *file, bool isdir);
1345 bool isdir);
1437 unsigned int open_flags, bool isdir);
1439 unsigned int open_flags, fl_owner_t id, bool isdir);
1466 struct inode *inode, struct file *file, bool isdir);
1468 struct inode *inode, struct file *file, bool isdir);
1470 struct inode *inode, struct file *file, bool isdir);
Dioctl.c434 bool isdir = S_ISDIR(inode->i_mode); in fuse_priv_ioctl_prepare() local
442 if (!S_ISREG(inode->i_mode) && !isdir) in fuse_priv_ioctl_prepare()
445 return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir); in fuse_priv_ioctl_prepare()
Dbacking.c50 struct inode *inode, struct file *file, bool isdir) in fuse_open_initialize() argument
60 .opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN, in fuse_open_initialize()
77 struct inode *inode, struct file *file, bool isdir) in fuse_open_backing() argument
129 struct inode *inode, struct file *file, bool isdir) in fuse_open_finalize() argument
/fs/ceph/
Dfile.c203 int fmode, bool isdir) in ceph_init_file_info() argument
212 inode->i_mode, isdir ? "dir" : "regular"); in ceph_init_file_info()
215 if (isdir) { in ceph_init_file_info()
/fs/gfs2/
Dbmap.c97 int isdir = gfs2_is_dir(ip); in __gfs2_unstuff_inode() local
112 if (isdir) { in __gfs2_unstuff_inode()
/fs/
Dnamei.c2947 struct dentry *victim, bool isdir) in may_delete() argument
2975 if (isdir) { in may_delete()
/fs/btrfs/
Dioctl.c896 struct inode *dir, struct dentry *victim, int isdir) in btrfs_may_delete() argument
915 if (isdir) { in btrfs_may_delete()