Lines Matching refs:l
100 int l, bad; in ceph_copy_user_to_page_vector() local
103 l = min_t(int, PAGE_CACHE_SIZE-po, left); in ceph_copy_user_to_page_vector()
104 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
105 if (bad == l) in ceph_copy_user_to_page_vector()
107 data += l - bad; in ceph_copy_user_to_page_vector()
108 left -= l - bad; in ceph_copy_user_to_page_vector()
109 po += l - bad; in ceph_copy_user_to_page_vector()
128 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_to_page_vector() local
130 memcpy(page_address(pages[i]) + po, data, l); in ceph_copy_to_page_vector()
131 data += l; in ceph_copy_to_page_vector()
132 left -= l; in ceph_copy_to_page_vector()
133 po += l; in ceph_copy_to_page_vector()
151 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_from_page_vector() local
153 memcpy(data, page_address(pages[i]) + po, l); in ceph_copy_from_page_vector()
154 data += l; in ceph_copy_from_page_vector()
155 left -= l; in ceph_copy_from_page_vector()
156 po += l; in ceph_copy_from_page_vector()