Lines Matching defs:pos
306 * @pos: byte position in the attribute to begin reading from
312 * This function will read @count bytes starting at offset @pos from the
324 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b)
336 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x, pos 0x%llx, count 0x%llx.\n",
338 (long long)pos, (long long)count);
340 pos < 0 || count < 0) {
355 if (pos + count > na->data_size) {
356 if (pos >= na->data_size) {
359 count = na->data_size - pos;
363 return ntfs_attr_pread(na, pos, count, b);
366 if (pos + count > na->initialized_size) {
367 if (pos >= na->initialized_size) {
371 total2 = pos + count - na->initialized_size;
397 start_vcn = (pos & ~cb_size_mask) >> vol->cluster_size_bits;
399 ofs = pos & cb_size_mask;
404 end_vcn = ((pos + count + cb_size - 1) & ~cb_size_mask) >>