Lines Matching defs:pos
160 * @pos: position in device to read from
164 * This function will read @count bytes from device @dev at position @pos into
176 s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b)
181 ntfs_log_trace("pos %lld, count %lld\n",(long long)pos,(long long)count);
183 if (!b || count < 0 || pos < 0) {
193 br = dops->pread(dev, (char*)b + total, count, pos + total);
210 * @pos: position in file descriptor to write to
215 * at position @pos.
226 s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
232 ntfs_log_trace("pos %lld, count %lld\n",(long long)pos,(long long)count);
234 if (!b || count < 0 || pos < 0) {
250 pos + total);
271 * @pos: position in file descriptor to read from
277 * blocks of size @bksize bytes each from device @dev at position @pos into the
297 s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count,
307 br = ntfs_pread(dev, pos, count * bksize, b);
327 * @pos: position in file descriptor to write to
334 * @dev at position @pos.
354 s64 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
380 written = ntfs_pwrite(dev, pos, count * bksize, b);