/fs/proc/ |
D | fd.c | 223 filldir_t filldir, instantiate_t instantiate) in proc_readfd_common() argument 240 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in proc_readfd_common() 245 if (filldir(dirent, "..", 2, 1, ino, DT_DIR) < 0) in proc_readfd_common() 265 rv = proc_fill_cache(filp, dirent, filldir, in proc_readfd_common() 282 static int proc_readfd(struct file *filp, void *dirent, filldir_t filldir) in proc_readfd() argument 284 return proc_readfd_common(filp, dirent, filldir, proc_fd_instantiate); in proc_readfd() 362 static int proc_readfdinfo(struct file *filp, void *dirent, filldir_t filldir) in proc_readfdinfo() argument 364 return proc_readfd_common(filp, dirent, filldir, in proc_readfdinfo()
|
D | namespaces.c | 217 filldir_t filldir, struct task_struct *task, in proc_ns_fill_cache() argument 220 return proc_fill_cache(filp, dirent, filldir, in proc_ns_fill_cache() 226 filldir_t filldir) in proc_ns_dir_readdir() argument 245 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in proc_ns_dir_readdir() 252 if (filldir(dirent, "..", 2, i, ino, DT_DIR) < 0) in proc_ns_dir_readdir() 266 if (proc_ns_fill_cache(filp, dirent, filldir, in proc_ns_dir_readdir()
|
D | base.c | 1685 int proc_fill_cache(struct file *filp, void *dirent, filldir_t filldir, in proc_fill_cache() argument 1724 return filldir(dirent, name, len, filp->f_pos, ino, type); in proc_fill_cache() 1935 proc_map_files_readdir(struct file *filp, void *dirent, filldir_t filldir) in proc_map_files_readdir() argument 1962 if (filldir(dirent, ".", 1, 0, ino, DT_DIR) < 0) in proc_map_files_readdir() 1967 if (filldir(dirent, "..", 2, 1, ino, DT_DIR) < 0) in proc_map_files_readdir() 2030 ret = proc_fill_cache(filp, dirent, filldir, in proc_map_files_readdir() 2222 filldir_t filldir, struct task_struct *task, const struct pid_entry *p) in proc_pident_fill_cache() argument 2224 return proc_fill_cache(filp, dirent, filldir, p->name, p->len, in proc_pident_fill_cache() 2229 void *dirent, filldir_t filldir, in proc_pident_readdir() argument 2249 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in proc_pident_readdir() [all …]
|
D | generic.c | 237 filldir_t filldir) in proc_readdir_de() argument 248 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in proc_readdir_de() 254 if (filldir(dirent, "..", 2, i, in proc_readdir_de() 283 if (filldir(dirent, de->name, de->namelen, filp->f_pos, in proc_readdir_de() 301 int proc_readdir(struct file *filp, void *dirent, filldir_t filldir) in proc_readdir() argument 305 return proc_readdir_de(PDE(inode), filp, dirent, filldir); in proc_readdir()
|
D | root.c | 208 void * dirent, filldir_t filldir) in proc_root_readdir() argument 214 int error = proc_readdir(filp, dirent, filldir); in proc_root_readdir() 220 ret = proc_pid_readdir(filp, dirent, filldir); in proc_root_readdir()
|
D | proc_sysctl.c | 577 filldir_t filldir, in proc_sys_fill_cache() argument 611 return !!filldir(dirent, qname.name, qname.len, filp->f_pos, ino, type); in proc_sys_fill_cache() 615 filldir_t filldir, in proc_sys_link_fill_cache() argument 629 ret = proc_sys_fill_cache(filp, dirent, filldir, head, table); in proc_sys_link_fill_cache() 637 void *dirent, filldir_t filldir) in scan() argument 645 res = proc_sys_link_fill_cache(file, dirent, filldir, head, table); in scan() 647 res = proc_sys_fill_cache(file, dirent, filldir, head, table); in scan() 655 static int proc_sys_readdir(struct file *filp, void *dirent, filldir_t filldir) in proc_sys_readdir() argument 674 if (filldir(dirent, ".", 1, filp->f_pos, in proc_sys_readdir() 680 if (filldir(dirent, "..", 2, filp->f_pos, in proc_sys_readdir() [all …]
|
/fs/isofs/ |
D | dir.c | 82 void *dirent, filldir_t filldir, in do_isofs_readdir() argument 174 if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino, DT_DIR) < 0) in do_isofs_readdir() 185 if (filldir(dirent, "..", 2, filp->f_pos, inode_number, DT_DIR) < 0) in do_isofs_readdir() 233 if (filldir(dirent, p, len, filp->f_pos, inode_number, DT_UNKNOWN) < 0) in do_isofs_readdir() 251 void *dirent, filldir_t filldir) in isofs_readdir() argument 264 result = do_isofs_readdir(inode, filp, dirent, filldir, tmpname, tmpde); in isofs_readdir()
|
/fs/ext3/ |
D | dir.c | 32 void * dirent, filldir_t filldir); 95 void * dirent, filldir_t filldir) in ext3_readdir() argument 108 err = ext3_dx_readdir(filp, dirent, filldir); in ext3_readdir() 209 error = filldir(dirent, de->name, in ext3_readdir() 456 filldir_t filldir, struct fname *fname) in call_filldir() argument 472 error = filldir(dirent, fname->name, in call_filldir() 487 void * dirent, filldir_t filldir) in ext3_dx_readdir() argument 518 if (call_filldir(filp, dirent, filldir, info->extra_fname)) in ext3_dx_readdir() 551 if (call_filldir(filp, dirent, filldir, fname)) in ext3_dx_readdir()
|
/fs/udf/ |
D | dir.c | 39 filldir_t filldir, void *dirent) in do_udf_readdir() argument 173 if (flen && filldir(dirent, fname, flen, filp->f_pos, in do_udf_readdir() 190 static int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) in udf_readdir() argument 196 if (filldir(dirent, ".", 1, filp->f_pos, dir->i_ino, DT_DIR) < 0) { in udf_readdir() 202 result = do_udf_readdir(dir, filp, filldir, dirent); in udf_readdir()
|
/fs/affs/ |
D | dir.c | 43 affs_readdir(struct file *filp, void *dirent, filldir_t filldir) in affs_readdir() argument 69 if (filldir(dirent, ".", 1, f_pos, inode->i_ino, DT_DIR) < 0) in affs_readdir() 75 if (filldir(dirent, "..", 2, f_pos, parent_ino(filp->f_path.dentry), DT_DIR) < 0) in affs_readdir() 135 if (filldir(dirent, name, namelen, f_pos, ino, DT_UNKNOWN) < 0) in affs_readdir()
|
/fs/coda/ |
D | dir.c | 46 static int coda_readdir(struct file *file, void *buf, filldir_t filldir); 54 filldir_t filldir); 381 static int coda_readdir(struct file *coda_file, void *buf, filldir_t filldir) in coda_readdir() argument 406 ret = host_file->f_op->readdir(host_file, buf, filldir); in coda_readdir() 426 ret = coda_venus_readdir(coda_file, buf, filldir); in coda_readdir() 452 filldir_t filldir) in coda_venus_readdir() argument 477 ret = filldir(buf, ".", 1, 0, de->d_inode->i_ino, DT_DIR); in coda_venus_readdir() 484 ret = filldir(buf, "..", 2, 1, parent_ino(de), DT_DIR); in coda_venus_readdir() 534 ret = filldir(buf, name.name, name.len, in coda_venus_readdir()
|
/fs/9p/ |
D | vfs_dir.c | 111 static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) in v9fs_dir_readdir() argument 151 over = filldir(dirent, st.name, strlen(st.name), in v9fs_dir_readdir() 173 filldir_t filldir) in v9fs_dir_readdir_dotl() argument 219 over = filldir(dirent, curdirent.d_name, in v9fs_dir_readdir_dotl()
|
/fs/qnx6/ |
D | dir.c | 69 unsigned de_inode, filldir_t filldir) in qnx6_dir_longfilename() argument 107 if (filldir(dirent, lf->lf_fname, lf_size, pos, de_inode, in qnx6_dir_longfilename() 118 static int qnx6_readdir(struct file *filp, void *dirent, filldir_t filldir) in qnx6_readdir() argument 158 filldir)) { in qnx6_readdir() 166 if (filldir(dirent, de->de_fname, size, in qnx6_readdir()
|
/fs/hfs/ |
D | dir.c | 54 static int hfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hfs_readdir() argument 79 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfs_readdir() 100 if (filldir(dirent, "..", 2, 1, in hfs_readdir() 134 if (filldir(dirent, strbuf, len, filp->f_pos, in hfs_readdir() 143 if (filldir(dirent, strbuf, len, filp->f_pos, in hfs_readdir()
|
/fs/ecryptfs/ |
D | file.c | 74 filldir_t filldir; member 100 rc = buf->filldir(buf->dirent, name, name_size, offset, ino, d_type); in ecryptfs_filldir() 114 static int ecryptfs_readdir(struct file *file, void *dirent, filldir_t filldir) in ecryptfs_readdir() argument 122 .filldir = filldir, in ecryptfs_readdir()
|
/fs/adfs/ |
D | dir.c | 20 adfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in adfs_readdir() argument 38 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in adfs_readdir() 43 if (filldir(dirent, "..", 2, 1, dir.parent_id, DT_DIR) < 0) in adfs_readdir() 57 if (filldir(dirent, obj.name, obj.name_len, in adfs_readdir()
|
/fs/omfs/ |
D | dir.c | 330 static int omfs_fill_chain(struct file *filp, void *dirent, filldir_t filldir, in omfs_fill_chain() argument 364 res = filldir(dirent, oi->i_name, strnlen(oi->i_name, in omfs_fill_chain() 406 static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in omfs_readdir() argument 421 if (filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR) < 0) in omfs_readdir() 426 if (filldir(dirent, "..", 2, 1, in omfs_readdir() 448 res = omfs_fill_chain(filp, dirent, filldir, fsblock, hindex); in omfs_readdir()
|
/fs/openpromfs/ |
D | inode.c | 263 static int openpromfs_readdir(struct file * filp, void * dirent, filldir_t filldir) in openpromfs_readdir() argument 279 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in openpromfs_readdir() 285 if (filldir(dirent, "..", 2, i, in openpromfs_readdir() 303 if (filldir(dirent, in openpromfs_readdir() 320 if (filldir(dirent, prop->name, strlen(prop->name), in openpromfs_readdir()
|
/fs/reiserfs/ |
D | dir.c | 62 filldir_t filldir, loff_t *pos) in reiserfs_readdir_dentry() argument 190 if (filldir in reiserfs_readdir_dentry() 248 static int reiserfs_readdir(struct file *file, void *dirent, filldir_t filldir) in reiserfs_readdir() argument 251 return reiserfs_readdir_dentry(dentry, dirent, filldir, &file->f_pos); in reiserfs_readdir()
|
/fs/ncpfs/ |
D | dir.c | 427 static int ncp_readdir(struct file *filp, void *dirent, filldir_t filldir) in ncp_readdir() argument 452 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in ncp_readdir() 457 if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR)) in ncp_readdir() 506 res = filldir(dirent, dent->d_name.name, in ncp_readdir() 551 ncp_read_volume_list(filp, dirent, filldir, &ctl); in ncp_readdir() 553 ncp_do_readdir(filp, dirent, filldir, &ctl); in ncp_readdir() 576 ncp_fill_cache(struct file *filp, void *dirent, filldir_t filldir, in ncp_fill_cache() argument 674 ctl.filled = filldir(dirent, qname.name, qname.len, in ncp_fill_cache() 686 ncp_read_volume_list(struct file *filp, void *dirent, filldir_t filldir, in ncp_read_volume_list() argument 718 if (!ncp_fill_cache(filp, dirent, filldir, ctl, &entry, inval_dentry)) in ncp_read_volume_list() [all …]
|
/fs/qnx4/ |
D | dir.c | 17 static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir) in qnx4_readdir() argument 59 if (filldir(dirent, de->di_fname, size, filp->f_pos, ino, DT_UNKNOWN) < 0) { in qnx4_readdir()
|
/fs/hpfs/ |
D | dir.c | 60 static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hpfs_readdir() argument 134 if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino, DT_DIR) < 0) in hpfs_readdir() 139 if (filldir(dirent, "..", 2, filp->f_pos, hpfs_inode->i_parent_dir, DT_DIR) < 0) in hpfs_readdir() 165 if (filldir(dirent, tempname, de->namelen, old_pos, le32_to_cpu(de->fnode), DT_UNKNOWN) < 0) { in hpfs_readdir()
|
/fs/ocfs2/ |
D | dir.h | 95 int ocfs2_readdir(struct file *filp, void *dirent, filldir_t filldir); 97 filldir_t filldir);
|
/fs/efs/ |
D | dir.c | 22 static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) { in efs_readdir() argument 80 filldir(dirent, nameptr, namelen, filp->f_pos, inodenum, DT_UNKNOWN); in efs_readdir()
|
/fs/xfs/ |
D | xfs_dir2_priv.h | 37 xfs_off_t *offset, filldir_t filldir); 95 size_t bufsize, xfs_off_t *offset, filldir_t filldir); 157 xfs_off_t *offset, filldir_t filldir);
|