Home
last modified time | relevance | path

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

/fs/erofs/
Dinode.c254 static int erofs_fill_inode(struct inode *inode, int isdir) in erofs_fill_inode() argument
261 trace_erofs_fill_inode(inode, isdir); in erofs_fill_inode()
341 bool isdir) in erofs_iget() argument
354 err = erofs_fill_inode(inode, isdir); in erofs_iget()
/fs/fuse/
Dfile.c110 bool sync, bool isdir) in fuse_file_put() argument
129 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put()
145 unsigned int open_flags, bool isdir) in fuse_file_open() argument
149 int opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN; in fuse_file_open()
157 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open()
158 if (isdir ? !fc->no_opendir : !fc->no_open) { in fuse_file_open()
171 if (isdir) in fuse_file_open()
178 if (isdir) in fuse_file_open()
187 bool isdir) in fuse_do_open() argument
189 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open()
[all …]
Dfuse_i.h1100 int fuse_open_common(struct inode *inode, struct file *file, bool isdir);
1112 void fuse_release_common(struct file *file, bool isdir);
1311 bool isdir);
1401 unsigned int open_flags, bool isdir);
1403 unsigned int open_flags, fl_owner_t id, bool isdir);
1430 struct inode *inode, struct file *file, bool isdir);
1432 struct inode *inode, struct file *file, bool isdir);
1434 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.c204 int fmode, bool isdir) in ceph_init_file_info() argument
210 inode->i_mode, isdir ? "dir" : "regular"); in ceph_init_file_info()
213 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.c2924 struct dentry *victim, bool isdir) in may_delete() argument
2952 if (isdir) { in may_delete()
/fs/btrfs/
Dioctl.c843 struct inode *dir, struct dentry *victim, int isdir) in btrfs_may_delete() argument
862 if (isdir) { in btrfs_may_delete()