Home
last modified time | relevance | path

Searched refs:ntfs_device (Results 1 – 13 of 13) sorted by relevance

/third_party/ntfs-3g/include/ntfs-3g/
Ddevice.h83 struct ntfs_device { struct
104 int (*open)(struct ntfs_device *dev, int flags); argument
105 int (*close)(struct ntfs_device *dev);
106 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
107 s64 (*read)(struct ntfs_device *dev, void *buf, s64 count);
108 s64 (*write)(struct ntfs_device *dev, const void *buf, s64 count);
109 s64 (*pread)(struct ntfs_device *dev, void *buf, s64 count, s64 offset);
110 s64 (*pwrite)(struct ntfs_device *dev, const void *buf, s64 count,
112 int (*sync)(struct ntfs_device *dev);
113 int (*stat)(struct ntfs_device *dev, struct stat *buf);
[all …]
Dvolume.h183 struct ntfs_device *dev; /* NTFS device associated with
295 extern ntfs_volume *ntfs_volume_startup(struct ntfs_device *dev,
298 extern ntfs_volume *ntfs_device_mount(struct ntfs_device *dev,
Ddevice_io.h75 int ntfs_device_win32_ftruncate(struct ntfs_device*, s64);
/third_party/ntfs-3g/libntfs-3g/
Dunix_io.c117 static int ntfs_device_unix_io_open(struct ntfs_device *dev, int flags) in ntfs_device_unix_io_open()
203 static int ntfs_device_unix_io_close(struct ntfs_device *dev) in ntfs_device_unix_io_close()
244 static s64 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset, in ntfs_device_unix_io_seek()
260 static s64 ntfs_device_unix_io_read(struct ntfs_device *dev, void *buf, in ntfs_device_unix_io_read()
276 static s64 ntfs_device_unix_io_write(struct ntfs_device *dev, const void *buf, in ntfs_device_unix_io_write()
298 static s64 ntfs_device_unix_io_pread(struct ntfs_device *dev, void *buf, in ntfs_device_unix_io_pread()
315 static s64 ntfs_device_unix_io_pwrite(struct ntfs_device *dev, const void *buf, in ntfs_device_unix_io_pwrite()
334 static int ntfs_device_unix_io_sync(struct ntfs_device *dev) in ntfs_device_unix_io_sync()
357 static int ntfs_device_unix_io_stat(struct ntfs_device *dev, struct stat *buf) in ntfs_device_unix_io_stat()
372 static int ntfs_device_unix_io_ioctl(struct ntfs_device *dev, in ntfs_device_unix_io_ioctl()
Ddevice.c114 struct ntfs_device *ntfs_device_alloc(const char *name, const long state, in ntfs_device_alloc()
117 struct ntfs_device *dev; in ntfs_device_alloc()
124 dev = ntfs_malloc(sizeof(struct ntfs_device)); in ntfs_device_alloc()
152 int ntfs_device_free(struct ntfs_device *dev) in ntfs_device_free()
173 int ntfs_device_sync(struct ntfs_device *dev) in ntfs_device_sync()
205 s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b) in ntfs_pread()
255 s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, in ntfs_pwrite()
329 s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count, in ntfs_mst_pread()
386 s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, in ntfs_mst_pwrite()
507 static int ntfs_device_offset_valid(struct ntfs_device *dev, s64 ofs) in ntfs_device_offset_valid()
[all …]
Dwin32_io.c1206 static int ntfs_device_win32_open(struct ntfs_device *dev, int flags) in ntfs_device_win32_open()
1282 static s64 ntfs_device_win32_seek(struct ntfs_device *dev, s64 offset, in ntfs_device_win32_seek()
1443 static s64 ntfs_device_win32_read(struct ntfs_device *dev, void *b, s64 count) in ntfs_device_win32_read()
1530 static int ntfs_device_win32_close(struct ntfs_device *dev) in ntfs_device_win32_close()
1576 static int ntfs_device_win32_sync(struct ntfs_device *dev) in ntfs_device_win32_sync()
1635 static s64 ntfs_device_win32_write(struct ntfs_device *dev, const void *b, in ntfs_device_win32_write()
1768 static int ntfs_device_win32_stat(struct ntfs_device *dev, struct stat *buf) in ntfs_device_win32_stat()
1810 static __inline__ int ntfs_win32_hdio_getgeo(struct ntfs_device *dev, in ntfs_win32_hdio_getgeo()
1833 static __inline__ int ntfs_win32_blksszget(struct ntfs_device *dev,int *argp) in ntfs_win32_blksszget()
1850 static int ntfs_device_win32_ioctl(struct ntfs_device *dev, in ntfs_device_win32_ioctl()
[all …]
Dvolume.c205 struct ntfs_device *dev = v->dev; in __ntfs_volume_release()
501 ntfs_volume *ntfs_volume_startup(struct ntfs_device *dev, in ntfs_volume_startup()
938 ntfs_volume *ntfs_device_mount(struct ntfs_device *dev, ntfs_mount_flags flags) in ntfs_device_mount()
1418 struct ntfs_device *dev; in ntfs_mount()
1469 struct ntfs_device *dev; in ntfs_umount()
Dioctl.c91 struct ntfs_device *dev = vol->dev; in fstrim_clusters()
/third_party/ntfs-3g/ntfsprogs/
Dntfsck.c194 static BOOL verify_boot_sector(struct ntfs_device *dev, ntfs_volume *rawvol) in verify_boot_sector()
816 struct ntfs_device *dev; in main()
Dntfsfix.c751 static int rewrite_boot(struct ntfs_device *dev, char *full_bs, in rewrite_boot()
1440 static int fix_startup(struct ntfs_device *dev, unsigned long flags) in fix_startup()
1558 struct ntfs_device *dev; in fix_mount()
Dntfsclone.c207 struct ntfs_device *dev_out = (struct ntfs_device*)NULL;
674 struct ntfs_device *dev = fd;
712 struct ntfs_device *dev = fd;
Dntfsresize.c1822 static int read_all(struct ntfs_device *dev, void *buf, int count) in read_all()
1844 static int write_all(struct ntfs_device *dev, void *buf, int count) in write_all()
4349 static ntfs_volume *get_volume_data(expand_t *expand, struct ntfs_device *dev, in get_volume_data()
4405 struct ntfs_device *dev; in really_expand()
4491 struct ntfs_device *dev; in expand_to_beginning()
Dmkntfs.c808 static long long mkntfs_write(struct ntfs_device *dev, in mkntfs_write()
844 static s64 mkntfs_bitmap_write(struct ntfs_device *dev, in mkntfs_bitmap_write()
865 static s64 mkntfs_logfile_write(struct ntfs_device *dev, in mkntfs_logfile_write()
894 static s64 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl, in ntfs_rlwrite()