Lines Matching refs:left
355 u64 pos, this_len, left; in striped_read() local
367 left = len; in striped_read()
378 this_len = left; in striped_read()
386 hit_stripe = this_len < left; in striped_read()
388 dout("striped_read %llu~%llu (read %u) got %d%s%s\n", pos, left, read, in striped_read()
407 left -= ret; in striped_read()
412 if (left && hit_stripe && pos < inode->i_size) in striped_read()
419 if (pos + left > inode->i_size) in striped_read()
493 size_t left = ret; in ceph_sync_read() local
495 while (left) { in ceph_sync_read()
498 PAGE_SIZE - page_off, left); in ceph_sync_read()
502 left -= l; in ceph_sync_read()
717 size_t left; in ceph_sync_write() local
745 left = len; in ceph_sync_write()
747 size_t plen = min_t(size_t, left, PAGE_SIZE); in ceph_sync_write()
753 left -= ret; in ceph_sync_write()