Lines Matching refs:dev
89 int (*open)(struct ntfs_device *dev, int flags);
90 int (*close)(struct ntfs_device *dev);
91 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
92 s64 (*read)(struct ntfs_device *dev, void *buf, s64 count);
93 s64 (*write)(struct ntfs_device *dev, const void *buf, s64 count);
94 s64 (*pread)(struct ntfs_device *dev, void *buf, s64 count, s64 offset);
95 s64 (*pwrite)(struct ntfs_device *dev, const void *buf, s64 count,
97 int (*sync)(struct ntfs_device *dev);
98 int (*stat)(struct ntfs_device *dev, struct stat *buf);
99 int (*ioctl)(struct ntfs_device *dev, int request, void *argp);
104 extern int ntfs_device_free(struct ntfs_device *dev);
106 extern s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count,
108 extern s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
111 extern s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count,
113 extern s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
121 extern s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size);
122 extern s64 ntfs_device_partition_start_sector_get(struct ntfs_device *dev);
123 extern int ntfs_device_heads_get(struct ntfs_device *dev);
124 extern int ntfs_device_sectors_per_track_get(struct ntfs_device *dev);
125 extern int ntfs_device_sector_size_get(struct ntfs_device *dev);
126 extern int ntfs_device_block_size_set(struct ntfs_device *dev, int block_size);