Home
last modified time | relevance | path

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

/fs/erofs/
Dinode.c168 static int erofs_fill_inode(struct inode *inode, int isdir) in erofs_fill_inode() argument
179 trace_erofs_fill_inode(inode, isdir); in erofs_fill_inode()
272 bool isdir) in erofs_iget() argument
285 err = erofs_fill_inode(inode, isdir); in erofs_iget()
/fs/fuse/
Dfuse_i.h846 int fuse_open_common(struct inode *inode, struct file *file, bool isdir);
857 void fuse_release_common(struct file *file, bool isdir);
1030 bool isdir);
Dfile.c111 static void fuse_file_put(struct fuse_file *ff, bool sync, bool isdir) in fuse_file_put() argument
116 if (isdir ? ff->fc->no_opendir : ff->fc->no_open) { in fuse_file_put()
133 bool isdir) in fuse_do_open() argument
136 int opcode = isdir ? FUSE_OPENDIR : FUSE_OPEN; in fuse_do_open()
144 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_do_open()
145 if (isdir ? !fc->no_opendir : !fc->no_open) { in fuse_do_open()
158 if (isdir) in fuse_do_open()
165 if (isdir) in fuse_do_open()
216 int fuse_open_common(struct inode *inode, struct file *file, bool isdir) in fuse_open_common() argument
233 err = fuse_do_open(fc, get_node_id(inode), file, isdir); in fuse_open_common()
[all …]
/fs/afs/
Dfsclient.c721 const char *name, bool isdir, struct afs_status_cb *dvnode_scb) in afs_fs_remove() argument
730 return yfs_fs_remove(fc, vnode, name, isdir, dvnode_scb); in afs_fs_remove()
739 net, isdir ? &afs_RXFSRemoveDir : &afs_RXFSRemoveFile, in afs_fs_remove()
749 *bp++ = htonl(isdir ? FSREMOVEDIR : FSREMOVEFILE); in afs_fs_remove()
Dyfsclient.c918 const char *name, bool isdir, in yfs_fs_remove() argument
931 net, isdir ? &yfs_RXYFSRemoveDir : &yfs_RXYFSRemoveFile, in yfs_fs_remove()
946 bp = xdr_encode_u32(bp, isdir ? YFSREMOVEDIR : YFSREMOVEFILE); in yfs_fs_remove()
/fs/ceph/
Dfile.c203 int fmode, bool isdir) in ceph_init_file_info() argument
209 inode->i_mode, isdir ? "dir" : "regular"); in ceph_init_file_info()
212 if (isdir) { in ceph_init_file_info()
/fs/gfs2/
Dbmap.c124 int isdir = gfs2_is_dir(ip); in gfs2_unstuff_dinode() local
141 if (isdir) { in gfs2_unstuff_dinode()
/fs/
Dnamei.c2881 static int may_delete(struct vfsmount *mnt, struct inode *dir, struct dentry *victim, bool isdir) in may_delete() argument
2907 if (isdir) { in may_delete()
/fs/btrfs/
Dioctl.c907 static int btrfs_may_delete(struct inode *dir, struct dentry *victim, int isdir) in btrfs_may_delete() argument
925 if (isdir) { in btrfs_may_delete()