Searched refs:d_ops (Results 1 – 11 of 11) sorted by relevance
/third_party/ntfs-3g/libntfs-3g/ |
D | device.c | 132 dev->d_ops = dops; in ntfs_device_alloc() 179 dops = dev->d_ops; in ntfs_device_sync() 219 dops = dev->d_ops; in ntfs_pread() 274 dops = dev->d_ops; in ntfs_pwrite() 511 if (dev->d_ops->seek(dev, ofs, SEEK_SET) >= 0 && in ntfs_device_offset_valid() 512 dev->d_ops->read(dev, &ch, 1) == 1) in ntfs_device_offset_valid() 540 if (dev->d_ops->ioctl(dev, BLKGETSIZE64, &size) >= 0) { in ntfs_device_size_get() 551 if (dev->d_ops->ioctl(dev, BLKGETSIZE, &size) >= 0) { in ntfs_device_size_get() 561 if (dev->d_ops->ioctl(dev, FDGETPRM, &this_floppy) >= 0) { in ntfs_device_size_get() 574 if (dev->d_ops->ioctl(dev, DIOCGMEDIASIZE, &size) >= 0) { in ntfs_device_size_get() [all …]
|
D | volume.c | 207 if (dev->d_ops->sync(dev)) in __ntfs_volume_release() 209 if (dev->d_ops->close(dev)) in __ntfs_volume_release() 510 if (!dev || !dev->d_ops || !dev->d_name) { in ntfs_volume_startup() 548 if ((dev->d_ops->open)(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { in ntfs_volume_startup() 550 if ((dev->d_ops->open)(dev, O_RDONLY)) { in ntfs_volume_startup()
|
D | bootsect.c | 228 if (vol->dev->d_ops->seek(vol->dev, in ntfs_boot_sector_parse()
|
D | ioctl.c | 100 if (dev->d_ops->ioctl(dev, BLKDISCARD, range) == -1) { in fstrim_clusters()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsck.c | 833 if (dev->d_ops->open(dev, O_RDONLY)) { //O_RDWR/O_RDONLY? in main() 840 dev->d_ops->close(dev); in main() 848 if (dev->d_ops->close(dev)) in main()
|
D | ntfsresize.c | 1830 i = dev->d_ops->read(dev, buf, count); in read_all() 1852 i = dev->d_ops->write(dev, buf, count); in write_all() 1888 if (vol->dev->d_ops->seek(vol->dev, pos, SEEK_SET) == (off_t)-1) in lseek_to_cluster() 2761 if (vol->dev->d_ops->seek(vol->dev, 0, SEEK_SET) == (off_t)-1) in update_bootsector() 2764 if (vol->dev->d_ops->read(vol->dev, bs, bs_size) == -1) in update_bootsector() 2805 if (vol->dev->d_ops->seek(vol->dev, 0, SEEK_SET) == (off_t)-1) in update_bootsector() 2809 if (vol->dev->d_ops->write(vol->dev, bs, bs_size) == -1) in update_bootsector() 2821 if (vol->dev->d_ops->seek(vol->dev, opt.bytes in update_bootsector() 2824 if (vol->dev->d_ops->write(vol->dev, bs, bs_size) == -1) in update_bootsector() 2996 if (vol->dev->d_ops->sync(vol->dev) == -1) in prepare_volume_fixup() [all …]
|
D | ntfswipe.c | 1801 nv->dev->d_ops->sync(nv->dev); in destroy_record() 1823 nv->dev->d_ops->sync(nv->dev); in destroy_record() 1870 nv->dev->d_ops->sync(nv->dev); in destroy_record() 1891 nv->dev->d_ops->sync(nv->dev); in destroy_record() 1943 nv->dev->d_ops->sync in destroy_record() 1981 nv->dev->d_ops->sync(nv->dev); in destroy_record()
|
D | ntfsclone.c | 685 i = dev_out->d_ops->write(dev_out, 694 i = dev->d_ops->read(dev, buf, count); 719 if (vol->dev->d_ops->seek(dev, pos, SEEK_SET) == (off_t)-1) 873 ret = (dev_out->d_ops->seek)(dev_out, pos, mode); 885 if (vol->dev->d_ops->seek(vol->dev, pos, SEEK_SET) == (off_t)-1) 2653 || (dev_out->d_ops->open)(dev_out, flags)) 2715 (dev_out->d_ops->close)(dev_out);
|
D | mkntfs.c | 819 bytes_written = dev->d_ops->write(dev, b, count); in mkntfs_write() 855 written = dev->d_ops->write(dev, g_dynamic_buf, partial_length); in mkntfs_bitmap_write() 876 written = dev->d_ops->write(dev, g_dynamic_buf, partial_length); in mkntfs_logfile_write() 927 if (dev->d_ops->seek(dev, rl[i].lcn * g_vol->cluster_size, in ntfs_rlwrite() 943 bytes_written = dev->d_ops->write(dev, in ntfs_rlwrite() 3420 if (NDevOpen(g_vol->dev) && g_vol->dev->d_ops->close(g_vol->dev)) in mkntfs_cleanup() 3480 if (vol->dev->d_ops->open(vol->dev, i)) { in mkntfs_open_partition() 3488 if (vol->dev->d_ops->stat(vol->dev, &sbuf)) { in mkntfs_open_partition() 4194 g_vol->dev->d_ops->seek(g_vol->dev, in mkntfs_fill_device_with_zeroes() 4215 g_vol->dev->d_ops->seek(g_vol->dev, in mkntfs_fill_device_with_zeroes() [all …]
|
D | ntfsfix.c | 1456 if (!dev || !dev->d_ops || !dev->d_name) { in fix_startup() 1485 if ((dev->d_ops->open)(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { in fix_startup() 1545 (dev->d_ops->close)(dev); in fix_startup()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | device.h | 84 struct ntfs_device_operations *d_ops; /* Device operations. */ member
|