/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() 234 if (filldir(dirent, p, len, filp->f_pos, inode_number, DT_UNKNOWN) < 0) in do_isofs_readdir() 252 void *dirent, filldir_t filldir) in isofs_readdir() argument 266 result = do_isofs_readdir(inode, filp, dirent, filldir, tmpname, tmpde); in isofs_readdir()
|
/fs/proc/ |
D | proc_sysctl.c | 179 filldir_t filldir, in proc_sys_fill_cache() argument 213 return !!filldir(dirent, qname.name, qname.len, filp->f_pos, ino, type); in proc_sys_fill_cache() 218 void *dirent, filldir_t filldir) in scan() argument 231 res = proc_sys_fill_cache(file, dirent, filldir, head, table); in scan() 240 static int proc_sys_readdir(struct file *filp, void *dirent, filldir_t filldir) in proc_sys_readdir() argument 263 if (filldir(dirent, ".", 1, filp->f_pos, in proc_sys_readdir() 269 if (filldir(dirent, "..", 2, filp->f_pos, in proc_sys_readdir() 276 ret = scan(head, table, &pos, filp, dirent, filldir); in proc_sys_readdir() 283 ret = scan(h, h->attached_by, &pos, filp, dirent, filldir); in proc_sys_readdir()
|
D | base.c | 1605 static int proc_fill_cache(struct file *filp, void *dirent, filldir_t filldir, in proc_fill_cache() argument 1644 return filldir(dirent, name, len, filp->f_pos, ino, type); in proc_fill_cache() 1835 filldir_t filldir, instantiate_t instantiate) in proc_readfd_common() argument 1852 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in proc_readfd_common() 1857 if (filldir(dirent, "..", 2, 1, ino, DT_DIR) < 0) in proc_readfd_common() 1876 if (proc_fill_cache(filp, dirent, filldir, in proc_readfd_common() 1899 static int proc_readfd(struct file *filp, void *dirent, filldir_t filldir) in proc_readfd() argument 1901 return proc_readfd_common(filp, dirent, filldir, proc_fd_instantiate); in proc_readfd() 1981 static int proc_readfdinfo(struct file *filp, void *dirent, filldir_t filldir) in proc_readfdinfo() argument 1983 return proc_readfd_common(filp, dirent, filldir, in proc_readfdinfo() [all …]
|
D | root.c | 159 void * dirent, filldir_t filldir) in proc_root_readdir() argument 165 int error = proc_readdir(filp, dirent, filldir); in proc_root_readdir() 171 ret = proc_pid_readdir(filp, dirent, filldir); in proc_root_readdir()
|
D | generic.c | 425 filldir_t filldir) in proc_readdir_de() argument 436 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) in proc_readdir_de() 442 if (filldir(dirent, "..", 2, i, in proc_readdir_de() 471 if (filldir(dirent, de->name, de->namelen, filp->f_pos, in proc_readdir_de() 489 int proc_readdir(struct file *filp, void *dirent, filldir_t filldir) in proc_readdir() argument 493 return proc_readdir_de(PDE(inode), filp, dirent, filldir); in proc_readdir()
|
/fs/ext3/ |
D | dir.c | 37 void * dirent, filldir_t filldir); 95 void * dirent, filldir_t filldir) in ext3_readdir() argument 113 err = ext3_dx_readdir(filp, dirent, filldir); in ext3_readdir() 215 error = filldir(dirent, de->name, in ext3_readdir() 395 filldir_t filldir, struct fname *fname) in call_filldir() argument 411 error = filldir(dirent, fname->name, in call_filldir() 426 void * dirent, filldir_t filldir) in ext3_dx_readdir() argument 457 if (call_filldir(filp, dirent, filldir, info->extra_fname)) in ext3_dx_readdir() 490 if (call_filldir(filp, dirent, filldir, fname)) in ext3_dx_readdir()
|
/fs/ext4/ |
D | dir.c | 37 void *dirent, filldir_t filldir); 95 void *dirent, filldir_t filldir) in ext4_readdir() argument 113 err = ext4_dx_readdir(filp, dirent, filldir); in ext4_readdir() 217 error = filldir(dirent, de->name, in ext4_readdir() 397 filldir_t filldir, struct fname *fname) in call_filldir() argument 414 error = filldir(dirent, fname->name, in call_filldir() 429 void *dirent, filldir_t filldir) in ext4_dx_readdir() argument 460 if (call_filldir(filp, dirent, filldir, info->extra_fname)) in ext4_dx_readdir() 493 if (call_filldir(filp, dirent, filldir, fname)) in ext4_dx_readdir()
|
/fs/udf/ |
D | dir.c | 40 filldir_t filldir, void *dirent) in do_udf_readdir() argument 171 if (flen && filldir(dirent, fname, flen, filp->f_pos, in do_udf_readdir() 188 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() 203 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 | 45 static int coda_readdir(struct file *file, void *buf, filldir_t filldir); 53 filldir_t filldir); 432 static int coda_readdir(struct file *coda_file, void *buf, filldir_t filldir) in coda_readdir() argument 458 ret = host_file->f_op->readdir(host_file, buf, filldir); in coda_readdir() 466 ret = coda_venus_readdir(coda_file, buf, filldir); in coda_readdir() 492 filldir_t filldir) in coda_venus_readdir() argument 518 ret = filldir(buf, ".", 1, 0, de->d_inode->i_ino, DT_DIR); in coda_venus_readdir() 525 ret = filldir(buf, "..", 2, 1, de->d_parent->d_inode->i_ino, DT_DIR); in coda_venus_readdir() 575 ret = filldir(buf, name.name, name.len, in coda_venus_readdir()
|
/fs/ecryptfs/ |
D | file.c | 73 filldir_t filldir; member 99 rc = buf->filldir(buf->dirent, name, name_size, offset, ino, d_type); in ecryptfs_filldir() 113 static int ecryptfs_readdir(struct file *file, void *dirent, filldir_t filldir) in ecryptfs_readdir() argument 126 buf.filldir = filldir; in ecryptfs_readdir()
|
/fs/hfs/ |
D | dir.c | 54 static int hfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hfs_readdir() argument 77 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfs_readdir() 93 if (filldir(dirent, "..", 2, 1, in hfs_readdir() 121 if (filldir(dirent, strbuf, len, filp->f_pos, in hfs_readdir() 130 if (filldir(dirent, strbuf, len, filp->f_pos, in hfs_readdir()
|
/fs/adfs/ |
D | dir.c | 29 adfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in adfs_readdir() argument 49 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR) < 0) in adfs_readdir() 54 if (filldir(dirent, "..", 2, 1, dir.parent_id, DT_DIR) < 0) in adfs_readdir() 68 if (filldir(dirent, obj.name, obj.name_len, in adfs_readdir()
|
/fs/squashfs/ |
D | dir.c | 104 static int squashfs_readdir(struct file *file, void *dirent, filldir_t filldir) in squashfs_readdir() argument 149 if (filldir(dirent, name, size, file->f_pos, i_ino, in squashfs_readdir() 210 if (filldir(dirent, dire->name, size, file->f_pos, in squashfs_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/omfs/ |
D | dir.c | 344 static int omfs_fill_chain(struct file *filp, void *dirent, filldir_t filldir, in omfs_fill_chain() argument 379 res = filldir(dirent, oi->i_name, strnlen(oi->i_name, in omfs_fill_chain() 436 static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in omfs_readdir() argument 451 if (filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR) < 0) in omfs_readdir() 456 if (filldir(dirent, "..", 2, 1, in omfs_readdir() 478 res = omfs_fill_chain(filp, dirent, filldir, fsblock, hindex); in omfs_readdir()
|
/fs/ncpfs/ |
D | dir.c | 403 static int ncp_readdir(struct file *filp, void *dirent, filldir_t filldir) in ncp_readdir() argument 429 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in ncp_readdir() 434 if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR)) in ncp_readdir() 483 res = filldir(dirent, dent->d_name.name, in ncp_readdir() 528 ncp_read_volume_list(filp, dirent, filldir, &ctl); in ncp_readdir() 530 ncp_do_readdir(filp, dirent, filldir, &ctl); in ncp_readdir() 554 ncp_fill_cache(struct file *filp, void *dirent, filldir_t filldir, in ncp_fill_cache() argument 637 ctl.filled = filldir(dirent, qname.name, qname.len, in ncp_fill_cache() 649 ncp_read_volume_list(struct file *filp, void *dirent, filldir_t filldir, in ncp_read_volume_list() argument 679 if (!ncp_fill_cache(filp, dirent, filldir, ctl, &entry)) in ncp_read_volume_list() [all …]
|
/fs/hpfs/ |
D | dir.c | 53 static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hpfs_readdir() argument 127 if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino, DT_DIR) < 0) in hpfs_readdir() 132 if (filldir(dirent, "..", 2, filp->f_pos, hpfs_inode->i_parent_dir, DT_DIR) < 0) in hpfs_readdir() 158 if (filldir(dirent, tempname, de->namelen, old_pos, de->fnode, DT_UNKNOWN) < 0) { in hpfs_readdir()
|
/fs/ocfs2/ |
D | dir.h | 69 int ocfs2_readdir(struct file *filp, void *dirent, filldir_t filldir); 71 filldir_t filldir);
|
/fs/qnx4/ |
D | dir.c | 23 static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir) in qnx4_readdir() argument 67 if (filldir(dirent, de->di_fname, size, filp->f_pos, ino, DT_UNKNOWN) < 0) { in qnx4_readdir()
|
/fs/efs/ |
D | dir.c | 22 static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) { in efs_readdir() argument 82 filldir(dirent, nameptr, namelen, filp->f_pos, inodenum, DT_UNKNOWN); in efs_readdir()
|
/fs/9p/ |
D | vfs_dir.c | 69 static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) in v9fs_dir_readdir() argument 107 over = filldir(dirent, st.name, strlen(st.name), in v9fs_dir_readdir()
|
/fs/hfsplus/ |
D | dir.c | 113 static int hfsplus_readdir(struct file *filp, void *dirent, filldir_t filldir) in hfsplus_readdir() argument 136 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in hfsplus_readdir() 152 if (filldir(dirent, "..", 2, 1, in hfsplus_readdir() 186 if (filldir(dirent, strbuf, len, filp->f_pos, in hfsplus_readdir() 195 if (filldir(dirent, strbuf, len, filp->f_pos, in hfsplus_readdir()
|
/fs/afs/ |
D | dir.c | 25 static int afs_readdir(struct file *file, void *dirent, filldir_t filldir); 238 filldir_t filldir) in afs_dir_iterate_block() argument 308 ret = filldir(cookie, in afs_dir_iterate_block() 313 filldir == afs_lookup_filldir ? in afs_dir_iterate_block() 331 filldir_t filldir, struct key *key) in afs_dir_iterate() argument 371 cookie, filldir); in afs_dir_iterate() 393 static int afs_readdir(struct file *file, void *cookie, filldir_t filldir) in afs_readdir() argument 405 cookie, filldir, file->private_data); in afs_readdir()
|
/fs/smbfs/ |
D | dir.c | 80 smb_readdir(struct file *filp, void *dirent, filldir_t filldir) in smb_readdir() argument 102 if (filldir(dirent, ".", 1, 0, dir->i_ino, DT_DIR) < 0) in smb_readdir() 107 if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR) < 0) in smb_readdir() 173 res = filldir(dirent, dent->d_name.name, in smb_readdir() 212 result = server->ops->readdir(filp, dirent, filldir, &ctl); in smb_readdir()
|