Lines Matching refs:l
24 int l; in hfs_bnode_read() local
30 l = min(len, (int)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(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_read()
37 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read()
76 int l; in hfs_bnode_write() local
82 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_write()
83 memcpy(kmap(*pagep) + off, buf, l); in hfs_bnode_write()
87 while ((len -= l) != 0) { in hfs_bnode_write()
88 buf += l; in hfs_bnode_write()
89 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_write()
90 memcpy(kmap(*++pagep), buf, l); in hfs_bnode_write()
106 int l; in hfs_bnode_clear() local
112 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_clear()
113 memset(kmap(*pagep) + off, 0, l); in hfs_bnode_clear()
117 while ((len -= l) != 0) { in hfs_bnode_clear()
118 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_clear()
119 memset(kmap(*++pagep), 0, l); in hfs_bnode_clear()
130 int l; in hfs_bnode_copy() local
144 l = min(len, (int)PAGE_CACHE_SIZE - src); in hfs_bnode_copy()
145 memcpy(kmap(*dst_page) + src, kmap(*src_page) + src, l); in hfs_bnode_copy()
150 while ((len -= l) != 0) { in hfs_bnode_copy()
151 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_copy()
152 memcpy(kmap(*++dst_page), kmap(*++src_page), l); in hfs_bnode_copy()
164 l = PAGE_CACHE_SIZE - src; in hfs_bnode_copy()
166 dst += l; in hfs_bnode_copy()
168 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_copy()
169 src += l; in hfs_bnode_copy()
172 l = min(len, l); in hfs_bnode_copy()
173 memcpy(dst_ptr, src_ptr, l); in hfs_bnode_copy()
181 } while ((len -= l)); in hfs_bnode_copy()
188 int l; in hfs_bnode_move() local
226 l = src; in hfs_bnode_move()
228 dst -= l; in hfs_bnode_move()
230 l = dst; in hfs_bnode_move()
231 src -= l; in hfs_bnode_move()
234 l = min(len, l); in hfs_bnode_move()
235 memmove(dst_ptr - l, src_ptr - l, l); in hfs_bnode_move()
243 } while ((len -= l)); in hfs_bnode_move()
252 l = min(len, (int)PAGE_CACHE_SIZE - src); in hfs_bnode_move()
253 memmove(kmap(*dst_page) + src, kmap(*src_page) + src, l); in hfs_bnode_move()
258 while ((len -= l) != 0) { in hfs_bnode_move()
259 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_move()
260 memmove(kmap(*++dst_page), kmap(*++src_page), l); in hfs_bnode_move()
272 l = PAGE_CACHE_SIZE - src; in hfs_bnode_move()
274 dst += l; in hfs_bnode_move()
276 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_move()
277 src += l; in hfs_bnode_move()
280 l = min(len, l); in hfs_bnode_move()
281 memmove(dst_ptr, src_ptr, l); in hfs_bnode_move()
289 } while ((len -= l)); in hfs_bnode_move()