Lines Matching defs:pos
307 * @pos: byte position in the attribute to begin reading from
313 * This function will read @count bytes starting at offset @pos from the
325 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b)
337 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x, pos 0x%llx, count 0x%llx.\n",
339 (long long)pos, (long long)count);
341 pos < 0 || count < 0) {
356 if (pos + count > na->data_size) {
357 if (pos >= na->data_size) {
360 count = na->data_size - pos;
364 return ntfs_attr_pread(na, pos, count, b);
367 if (pos + count > na->initialized_size) {
368 if (pos >= na->initialized_size) {
372 total2 = pos + count - na->initialized_size;
396 start_vcn = (pos & ~cb_size_mask) >> vol->cluster_size_bits;
398 ofs = pos & cb_size_mask;
403 end_vcn = ((pos + count + cb_size - 1) & ~cb_size_mask) >>