Lines Matching refs:dev
104 int (*open)(struct ntfs_device *dev, int flags);
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);
114 int (*ioctl)(struct ntfs_device *dev, unsigned long request,
120 extern int ntfs_device_free(struct ntfs_device *dev);
121 extern int ntfs_device_sync(struct ntfs_device *dev);
123 extern s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count,
125 extern s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
128 extern s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count,
130 extern s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
138 extern s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size);
139 extern s64 ntfs_device_partition_start_sector_get(struct ntfs_device *dev);
140 extern int ntfs_device_heads_get(struct ntfs_device *dev);
141 extern int ntfs_device_sectors_per_track_get(struct ntfs_device *dev);
142 extern int ntfs_device_sector_size_get(struct ntfs_device *dev);
143 extern int ntfs_device_block_size_set(struct ntfs_device *dev, int block_size);