• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/

Lines Matching refs:ntfs_device

37  * Defined bits for the state field in the ntfs_device structure.
67 * struct ntfs_device -
72 struct ntfs_device {
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);
102 extern struct ntfs_device *ntfs_device_alloc(const char *name, const long state,
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);