ntfs_device
struct ntfs_device *ntfs_device_alloc(const char *name, const long state,
struct ntfs_device *dev;
dev = ntfs_malloc(sizeof(struct ntfs_device));
int ntfs_device_free(struct ntfs_device *dev)
int ntfs_device_sync(struct ntfs_device *dev)
s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b)
s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count,
s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
static int ntfs_device_offset_valid(struct ntfs_device *dev, s64 ofs)
s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size)
s64 ntfs_device_partition_start_sector_get(struct ntfs_device *dev)
static int ntfs_device_get_geo(struct ntfs_device *dev)
int ntfs_device_heads_get(struct ntfs_device *dev)
int ntfs_device_sectors_per_track_get(struct ntfs_device *dev)
int ntfs_device_sector_size_get(struct ntfs_device *dev)
int ntfs_device_block_size_set(struct ntfs_device *dev,
int (*open)(struct ntfs_device *dev, int flags);
int (*close)(struct ntfs_device *dev);
s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
s64 (*read)(struct ntfs_device *dev, void *buf, s64 count);
s64 (*write)(struct ntfs_device *dev, const void *buf, s64 count);
s64 (*pread)(struct ntfs_device *dev, void *buf, s64 count, s64 offset);
s64 (*pwrite)(struct ntfs_device *dev, const void *buf, s64 count,
int (*sync)(struct ntfs_device *dev);
int (*stat)(struct ntfs_device *dev, struct stat *buf);
int (*control)(struct ntfs_device *dev, unsigned long request,
extern struct ntfs_device *ntfs_device_alloc(const char *name, const long state,
extern int ntfs_device_free(struct ntfs_device *dev);
extern int ntfs_device_sync(struct ntfs_device *dev);
extern s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count,
extern s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
extern s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count,
extern s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
extern s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size);
extern s64 ntfs_device_partition_start_sector_get(struct ntfs_device *dev);
extern int ntfs_device_heads_get(struct ntfs_device *dev);
extern int ntfs_device_sectors_per_track_get(struct ntfs_device *dev);
extern int ntfs_device_sector_size_get(struct ntfs_device *dev);
extern int ntfs_device_block_size_set(struct ntfs_device *dev, int block_size);
int ntfs_device_win32_ftruncate(struct ntfs_device*, s64);
struct ntfs_device *dev = vol->dev;
static int ntfs_device_unix_io_open(struct ntfs_device *dev, int flags)
static int ntfs_device_unix_io_close(struct ntfs_device *dev)
static s64 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset,
static s64 ntfs_device_unix_io_read(struct ntfs_device *dev, void *buf,
static s64 ntfs_device_unix_io_write(struct ntfs_device *dev, const void *buf,
static s64 ntfs_device_unix_io_pread(struct ntfs_device *dev, void *buf,
static s64 ntfs_device_unix_io_pwrite(struct ntfs_device *dev, const void *buf,
static int ntfs_device_unix_io_sync(struct ntfs_device *dev)
static int ntfs_device_unix_io_stat(struct ntfs_device *dev, struct stat *buf)
static int ntfs_device_unix_io_ioctl(struct ntfs_device *dev,
struct ntfs_device *dev;
struct ntfs_device *dev;
struct ntfs_device *dev = v->dev;
ntfs_volume *ntfs_volume_startup(struct ntfs_device *dev,
ntfs_volume *ntfs_device_mount(struct ntfs_device *dev, ntfs_mount_flags flags)
struct ntfs_device *dev; /* NTFS device associated with
extern ntfs_volume *ntfs_volume_startup(struct ntfs_device *dev,
extern ntfs_volume *ntfs_device_mount(struct ntfs_device *dev,
static int ntfs_device_win32_open(struct ntfs_device *dev, int flags)
static s64 ntfs_device_win32_seek(struct ntfs_device *dev, s64 offset,
static s64 ntfs_device_win32_read(struct ntfs_device *dev, void *b, s64 count)
static int ntfs_device_win32_close(struct ntfs_device *dev)
static int ntfs_device_win32_sync(struct ntfs_device *dev)
static s64 ntfs_device_win32_write(struct ntfs_device *dev, const void *b,
static int ntfs_device_win32_stat(struct ntfs_device *dev, struct stat *buf)
static __inline__ int ntfs_win32_hdio_getgeo(struct ntfs_device *dev,
static __inline__ int ntfs_win32_blksszget(struct ntfs_device *dev,int *argp)
static int ntfs_device_win32_ioctl(struct ntfs_device *dev,
static s64 ntfs_device_win32_pread(struct ntfs_device *dev, void *b,
static s64 ntfs_device_win32_pwrite(struct ntfs_device *dev, const void *b,
int ntfs_device_win32_ftruncate(struct ntfs_device *dev, s64 size)
static long long mkntfs_write(struct ntfs_device *dev,
static s64 mkntfs_bitmap_write(struct ntfs_device *dev,
static s64 mkntfs_logfile_write(struct ntfs_device *dev,
static s64 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl,