/linux-6.6.21/fs/ |
D | readdir.c | 34 struct dir_context *ctx, in wrap_directory_iterator() argument 35 int (*iter)(struct file *, struct dir_context *)) in wrap_directory_iterator() 87 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir() 174 struct dir_context ctx; 179 static bool fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir() 251 struct dir_context ctx; 258 static bool filldir(struct dir_context *ctx, const char *name, int namlen, in filldir() 339 struct dir_context ctx; 346 static bool filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64() 431 struct dir_context ctx; [all …]
|
/linux-6.6.21/fs/proc/ |
D | internal.h | 173 extern int proc_pid_readdir(struct file *, struct dir_context *); 180 bool proc_fill_cache(struct file *, struct dir_context *, const char *, unsigned int, 192 extern int proc_readdir(struct file *, struct dir_context *); 193 int proc_readdir_de(struct file *, struct dir_context *, struct proc_dir_entry *);
|
D | fd.c | 243 static int proc_readfd_common(struct file *file, struct dir_context *ctx, in proc_readfd_common() 308 static int proc_readfd(struct file *file, struct dir_context *ctx) in proc_readfd() 401 static int proc_readfdinfo(struct file *file, struct dir_context *ctx) in proc_readfdinfo()
|
/linux-6.6.21/fs/fuse/ |
D | readdir.c | 16 static bool fuse_use_readdirplus(struct inode *dir, struct dir_context *ctx) in fuse_use_readdirplus() 114 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit() 127 struct dir_context *ctx) in parse_dirfile() 287 struct dir_context *ctx, u64 attr_version) in parse_dirplusfile() 330 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached() 392 struct dir_context *ctx) in fuse_parse_cache() 444 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached() 584 int fuse_readdir(struct file *file, struct dir_context *ctx) in fuse_readdir()
|
/linux-6.6.21/fs/efs/ |
D | dir.c | 11 static int efs_readdir(struct file *, struct dir_context *); 23 static int efs_readdir(struct file *file, struct dir_context *ctx) in efs_readdir()
|
/linux-6.6.21/fs/ocfs2/ |
D | dir.h | 79 int ocfs2_readdir(struct file *file, struct dir_context *ctx); 80 int ocfs2_dir_foreach(struct inode *inode, struct dir_context *ctx);
|
/linux-6.6.21/fs/erofs/ |
D | dir.c | 9 static int erofs_fill_dentries(struct inode *dir, struct dir_context *ctx, in erofs_fill_dentries() 49 static int erofs_readdir(struct file *f, struct dir_context *ctx) in erofs_readdir()
|
/linux-6.6.21/fs/ecryptfs/ |
D | file.c | 73 struct dir_context ctx; 74 struct dir_context *caller; 82 ecryptfs_filldir(struct dir_context *ctx, const char *lower_name, in ecryptfs_filldir() 126 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir()
|
/linux-6.6.21/fs/affs/ |
D | dir.c | 20 static int affs_readdir(struct file *, struct dir_context *); 45 affs_readdir(struct file *file, struct dir_context *ctx) in affs_readdir()
|
/linux-6.6.21/fs/overlayfs/ |
D | readdir.c | 39 struct dir_context ctx; 253 static bool ovl_fill_merge(struct dir_context *ctx, const char *name, in ovl_fill_merge() 533 static bool ovl_fill_plain(struct dir_context *ctx, const char *name, in ovl_fill_plain() 645 struct dir_context *orig_ctx; 647 struct dir_context ctx; 654 static bool ovl_fill_real(struct dir_context *ctx, const char *name, in ovl_fill_real() 660 struct dir_context *orig_ctx = rdt->orig_ctx; in ovl_fill_real() 693 static int ovl_iterate_real(struct file *file, struct dir_context *ctx) in ovl_iterate_real() 736 static int ovl_iterate(struct file *file, struct dir_context *ctx) in ovl_iterate() 1036 static bool ovl_check_d_type(struct dir_context *ctx, const char *name, in ovl_check_d_type()
|
/linux-6.6.21/fs/reiserfs/ |
D | dir.c | 16 static int reiserfs_readdir(struct file *, struct dir_context *); 60 int reiserfs_readdir_inode(struct inode *inode, struct dir_context *ctx) in reiserfs_readdir_inode() 272 static int reiserfs_readdir(struct file *file, struct dir_context *ctx) in reiserfs_readdir()
|
/linux-6.6.21/fs/orangefs/ |
D | dir.c | 190 struct dir_context *ctx) in fill_from_part() 243 struct dir_context *ctx) in orangefs_dir_fill() 305 struct dir_context *ctx) in orangefs_dir_iterate()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_dir2_readdir.c | 47 struct dir_context *ctx) in xfs_dir2_sf_getdents() 141 struct dir_context *ctx, in xfs_dir2_block_getdents() 347 struct dir_context *ctx, in xfs_dir2_leaf_getdents() 510 struct dir_context *ctx, in xfs_readdir()
|
/linux-6.6.21/fs/gfs2/ |
D | export.c | 64 struct dir_context ctx; 69 static bool get_name_filldir(struct dir_context *ctx, const char *name, in get_name_filldir()
|
/linux-6.6.21/fs/9p/ |
D | vfs_dir.c | 84 static int v9fs_dir_readdir(struct file *file, struct dir_context *ctx) in v9fs_dir_readdir() 147 static int v9fs_dir_readdir_dotl(struct file *file, struct dir_context *ctx) in v9fs_dir_readdir_dotl()
|
/linux-6.6.21/fs/isofs/ |
D | dir.c | 83 struct dir_context *ctx, in do_isofs_readdir() 249 static int isofs_readdir(struct file *file, struct dir_context *ctx) in isofs_readdir()
|
/linux-6.6.21/fs/freevxfs/ |
D | vxfs_lookup.c | 29 static int vxfs_readdir(struct file *, struct dir_context *); 191 vxfs_readdir(struct file *fp, struct dir_context *ctx) in vxfs_readdir()
|
/linux-6.6.21/fs/smb/client/ |
D | readdir.c | 841 struct dir_context *ctx) in emit_cached_dirents() 877 struct dir_context *ctx) in update_cached_dirents_count() 888 struct dir_context *ctx) in finished_cached_dirents_count() 901 struct dir_context *ctx, in add_cached_dirent() 934 static bool cifs_dir_emit(struct dir_context *ctx, in cifs_dir_emit() 957 struct dir_context *ctx, in cifs_filldir() 1053 int cifs_readdir(struct file *file, struct dir_context *ctx) in cifs_readdir()
|
D | cached_dir.h | 24 struct dir_context *ctx; /*
|
/linux-6.6.21/fs/ext4/ |
D | dir.c | 33 static int ext4_dx_readdir(struct file *, struct dir_context *); 126 static int ext4_readdir(struct file *file, struct dir_context *ctx) in ext4_readdir() 521 static int call_filldir(struct file *file, struct dir_context *ctx, in call_filldir() 548 static int ext4_dx_readdir(struct file *file, struct dir_context *ctx) in ext4_dx_readdir()
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_dir2_priv.h | 9 struct dir_context; 188 struct dir_context *ctx, size_t bufsize);
|
/linux-6.6.21/fs/qnx6/ |
D | dir.c | 64 struct dir_context *ctx, in qnx6_dir_longfilename() 112 static int qnx6_readdir(struct file *file, struct dir_context *ctx) in qnx6_readdir()
|
/linux-6.6.21/fs/ntfs3/ |
D | dir.c | 277 struct dir_context *ctx) in ntfs_filldir() 346 u8 *name, struct dir_context *ctx) in ntfs_read_hdr() 389 static int ntfs_readdir(struct file *file, struct dir_context *ctx) in ntfs_readdir()
|
/linux-6.6.21/fs/qnx4/ |
D | dir.c | 55 static int qnx4_readdir(struct file *file, struct dir_context *ctx) in qnx4_readdir()
|
/linux-6.6.21/include/linux/ |
D | fs.h | 1853 struct dir_context; 1854 typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, 1857 struct dir_context { struct 1922 int (*iterate_shared) (struct file *, struct dir_context *); 1959 int wrap_directory_iterator(struct file *, struct dir_context *, 1960 int (*) (struct file *, struct dir_context *)); 1962 static int shared_##x(struct file *file , struct dir_context *ctx) \ 3095 extern int iterate_dir(struct file *, struct dir_context *); 3126 extern int dcache_readdir(struct file *, struct dir_context *); 3389 static inline bool dir_emit(struct dir_context *ctx, in dir_emit() [all …]
|