Lines Matching refs:l
103 int l, bad; in ceph_copy_user_to_page_vector() local
106 l = min_t(int, PAGE_CACHE_SIZE-po, left); in ceph_copy_user_to_page_vector()
107 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
108 if (bad == l) in ceph_copy_user_to_page_vector()
110 data += l - bad; in ceph_copy_user_to_page_vector()
111 left -= l - bad; in ceph_copy_user_to_page_vector()
112 po += l - bad; in ceph_copy_user_to_page_vector()
131 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_to_page_vector() local
133 memcpy(page_address(pages[i]) + po, data, l); in ceph_copy_to_page_vector()
134 data += l; in ceph_copy_to_page_vector()
135 left -= l; in ceph_copy_to_page_vector()
136 po += l; in ceph_copy_to_page_vector()
154 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_from_page_vector() local
156 memcpy(data, page_address(pages[i]) + po, l); in ceph_copy_from_page_vector()
157 data += l; in ceph_copy_from_page_vector()
158 left -= l; in ceph_copy_from_page_vector()
159 po += l; in ceph_copy_from_page_vector()