Lines Matching refs:left
419 u64 pos, this_len, left; in striped_read() local
431 left = len; in striped_read()
442 this_len = left; in striped_read()
450 hit_stripe = this_len < left; in striped_read()
452 dout("striped_read %llu~%llu (read %u) got %d%s%s\n", pos, left, read, in striped_read()
471 left -= ret; in striped_read()
476 if (left && hit_stripe && pos < inode->i_size) in striped_read()
483 if (pos + left > inode->i_size) in striped_read()
556 size_t left = ret; in ceph_sync_read() local
558 while (left) { in ceph_sync_read()
561 PAGE_SIZE - page_off, left); in ceph_sync_read()
565 left -= l; in ceph_sync_read()
779 size_t left; in ceph_sync_write() local
806 left = len; in ceph_sync_write()
808 size_t plen = min_t(size_t, left, PAGE_SIZE); in ceph_sync_write()
814 left -= ret; in ceph_sync_write()