Lines Matching refs:s64

283 	s64 pos;		/* Logical current position on the volume. */
284 s64 part_start;
285 s64 part_length;
287 s64 geo_size, geo_cylinders;
289 s64 volume_size;
595 static s64 ntfs_device_win32_getsize(HANDLE handle)
608 return ((s64)hiword << 32) + (ULONG)loword;
621 static s64 ntfs_device_win32_getdisklength(HANDLE handle)
651 static s64 ntfs_device_win32_getntfssize(HANDLE handle)
653 s64 rvl;
965 s64 part_offset, s64 part_length, int flags)
1061 s64 *part_offset, s64 *part_length, int *hidden_sectors)
1132 s64 part_start, part_length;
1146 s64 tmp;
1282 static s64 ntfs_device_win32_seek(struct ntfs_device *dev, s64 offset,
1285 s64 abs_ofs;
1338 static s64 ntfs_device_win32_pio(win32_fd *fd, const s64 pos,
1339 const s64 count, void *rbuf, const void *wbuf)
1345 s64 bytes;
1428 static inline s64 ntfs_device_win32_pread_simple(win32_fd *fd, const s64 pos,
1429 const s64 count, void *b)
1443 static s64 ntfs_device_win32_read(struct ntfs_device *dev, void *b, s64 count)
1445 s64 old_pos, to_read, i, br = 0;
1453 ~(s64)(fd->geo_sector_size - 1);
1477 s64 vol_to_read = fd->geo_size - old_pos;
1480 old_pos & ~(s64)(fd->geo_sector_size - 1),
1497 fd->pos & ~(s64)(fd->geo_sector_size - 1), to_read,
1620 static inline s64 ntfs_device_win32_pwrite_simple(win32_fd *fd, const s64 pos,
1621 const s64 count, const void *b)
1635 static s64 ntfs_device_win32_write(struct ntfs_device *dev, const void *b,
1636 s64 count)
1638 s64 old_pos, to_write, i, bw = 0;
1647 ~(s64)(fd->geo_sector_size - 1);
1671 s64 end;
1683 old_pos & ~(s64)(fd->geo_sector_size - 1),
1701 end & ~(s64)(fd->geo_sector_size - 1),
1715 s64 vol_to_write = fd->geo_size - old_pos;
1718 old_pos & ~(s64)(fd->geo_sector_size - 1),
1735 fd->pos & ~(s64)(fd->geo_sector_size - 1), to_write,
1873 *(s64 *)argp = fd->part_length;
1906 static s64 ntfs_device_win32_pread(struct ntfs_device *dev, void *b,
1907 s64 count, s64 offset)
1909 s64 got;
1926 static s64 ntfs_device_win32_pwrite(struct ntfs_device *dev, const void *b,
1927 s64 count, s64 offset)
1929 s64 put;
1992 static int win32_ftruncate(HANDLE handle, s64 size)
2020 int ntfs_device_win32_ftruncate(struct ntfs_device *dev, s64 size)
2032 int ntfs_win32_ftruncate(int fd, s64 size)