Lines Matching refs:l

24 	int l;  in hfs_bnode_read()  local
30 l = min_t(int, len, PAGE_CACHE_SIZE - off); in hfs_bnode_read()
31 memcpy(buf, kmap(*pagep) + off, l); in hfs_bnode_read()
34 while ((len -= l) != 0) { in hfs_bnode_read()
35 buf += l; in hfs_bnode_read()
36 l = min_t(int, len, PAGE_CACHE_SIZE); in hfs_bnode_read()
37 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read()
77 int l; in hfs_bnode_write() local
83 l = min_t(int, len, PAGE_CACHE_SIZE - off); in hfs_bnode_write()
84 memcpy(kmap(*pagep) + off, buf, l); in hfs_bnode_write()
88 while ((len -= l) != 0) { in hfs_bnode_write()
89 buf += l; in hfs_bnode_write()
90 l = min_t(int, len, PAGE_CACHE_SIZE); in hfs_bnode_write()
91 memcpy(kmap(*++pagep), buf, l); in hfs_bnode_write()
107 int l; in hfs_bnode_clear() local
113 l = min_t(int, len, PAGE_CACHE_SIZE - off); in hfs_bnode_clear()
114 memset(kmap(*pagep) + off, 0, l); in hfs_bnode_clear()
118 while ((len -= l) != 0) { in hfs_bnode_clear()
119 l = min_t(int, len, PAGE_CACHE_SIZE); in hfs_bnode_clear()
120 memset(kmap(*++pagep), 0, l); in hfs_bnode_clear()
131 int l; in hfs_bnode_copy() local
145 l = min_t(int, len, PAGE_CACHE_SIZE - src); in hfs_bnode_copy()
146 memcpy(kmap(*dst_page) + src, kmap(*src_page) + src, l); in hfs_bnode_copy()
151 while ((len -= l) != 0) { in hfs_bnode_copy()
152 l = min_t(int, len, PAGE_CACHE_SIZE); in hfs_bnode_copy()
153 memcpy(kmap(*++dst_page), kmap(*++src_page), l); in hfs_bnode_copy()
165 l = PAGE_CACHE_SIZE - src; in hfs_bnode_copy()
167 dst += l; in hfs_bnode_copy()
169 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_copy()
170 src += l; in hfs_bnode_copy()
173 l = min(len, l); in hfs_bnode_copy()
174 memcpy(dst_ptr, src_ptr, l); in hfs_bnode_copy()
182 } while ((len -= l)); in hfs_bnode_copy()
189 int l; in hfs_bnode_move() local
228 l = src; in hfs_bnode_move()
230 dst -= l; in hfs_bnode_move()
232 l = dst; in hfs_bnode_move()
233 src -= l; in hfs_bnode_move()
236 l = min(len, l); in hfs_bnode_move()
237 memmove(dst_ptr - l, src_ptr - l, l); in hfs_bnode_move()
245 } while ((len -= l)); in hfs_bnode_move()
254 l = min_t(int, len, PAGE_CACHE_SIZE - src); in hfs_bnode_move()
256 kmap(*src_page) + src, l); in hfs_bnode_move()
261 while ((len -= l) != 0) { in hfs_bnode_move()
262 l = min_t(int, len, PAGE_CACHE_SIZE); in hfs_bnode_move()
264 kmap(*++src_page), l); in hfs_bnode_move()
277 l = PAGE_CACHE_SIZE - src; in hfs_bnode_move()
279 dst += l; in hfs_bnode_move()
281 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_move()
282 src += l; in hfs_bnode_move()
285 l = min(len, l); in hfs_bnode_move()
286 memmove(dst_ptr, src_ptr, l); in hfs_bnode_move()
294 } while ((len -= l)); in hfs_bnode_move()