Lines Matching refs:dirent
393 static int ncp_readdir(struct file *filp, void *dirent, filldir_t filldir) in ncp_readdir() argument
417 if (filldir(dirent, ".", 1, 0, inode->i_ino, DT_DIR)) in ncp_readdir()
422 if (filldir(dirent, "..", 2, 1, in ncp_readdir()
472 res = filldir(dirent, dent->d_name.name, in ncp_readdir()
517 ncp_read_volume_list(filp, dirent, filldir, &ctl); in ncp_readdir()
519 ncp_do_readdir(filp, dirent, filldir, &ctl); in ncp_readdir()
542 ncp_fill_cache(struct file *filp, void *dirent, filldir_t filldir, in ncp_fill_cache() argument
625 ctl.filled = filldir(dirent, qname.name, qname.len, in ncp_fill_cache()
637 ncp_read_volume_list(struct file *filp, void *dirent, filldir_t filldir, in ncp_read_volume_list() argument
666 if (!ncp_fill_cache(filp, dirent, filldir, ctl, &entry)) in ncp_read_volume_list()
672 ncp_do_readdir(struct file *filp, void *dirent, filldir_t filldir, in ncp_do_readdir() argument
700 if (!ncp_fill_cache(filp, dirent, filldir, ctl, &entry)) in ncp_do_readdir()