Lines Matching refs:dirent
353 static int fat_readdirx(struct inode *inode, struct file *filp, void *dirent, in fat_readdirx() argument
379 if (filldir(dirent, "..", cpos+1, cpos, MSDOS_ROOT_INO, DT_DIR) < 0) in fat_readdirx()
562 if (filldir(dirent, bufname, i, *furrfu, inum, in fat_readdirx()
575 if (filldir(dirent, longname, long_len, *furrfu, inum, in fat_readdirx()
595 int fat_readdir(struct file *filp, void *dirent, filldir_t filldir) in fat_readdir() argument
598 return fat_readdirx(inode, filp, dirent, filldir, 0, 0); in fat_readdir()
609 struct dirent *d1 = (struct dirent *)buf; in vfat_ioctl_fill()
610 struct dirent *d2 = d1 + 1; in vfat_ioctl_fill()
662 struct dirent *d1 = (struct dirent *)arg; in fat_dir_ioctl()
663 err = verify_area(VERIFY_WRITE, d1, sizeof(struct dirent[2])); in fat_dir_ioctl()
671 struct dirent *d1 = (struct dirent *)arg; in fat_dir_ioctl()
673 err = verify_area(VERIFY_WRITE, d1, sizeof(struct dirent[2])); in fat_dir_ioctl()