Lines Matching refs:ntfs_device
114 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()
529 s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size) in ntfs_device_size_get()
630 s64 ntfs_device_partition_start_sector_get(struct ntfs_device *dev) in ntfs_device_partition_start_sector_get()
651 static int ntfs_device_get_geo(struct ntfs_device *dev) in ntfs_device_get_geo()
790 int ntfs_device_heads_get(struct ntfs_device *dev) in ntfs_device_heads_get()
820 int ntfs_device_sectors_per_track_get(struct ntfs_device *dev) in ntfs_device_sectors_per_track_get()
849 int ntfs_device_sector_size_get(struct ntfs_device *dev) in ntfs_device_sector_size_get()
906 int ntfs_device_block_size_set(struct ntfs_device *dev, in ntfs_device_block_size_set()