Lines Matching refs:bytes
23 // 16 bytes are for free, since they are shared with the block list.
26 // size percentage bytes used in average
36 // bytes have size 127, that the list has an initial capacity of 10 entries
37 // (40 bytes), that the block reference consumes 4 bytes and the block header
38 // 12 bytes. The optimal length is actually 35, with 51.05 bytes per
298 ssize_t bytes = B_PAGE_SIZE;
302 bytes -= pageoffset;
304 bytes = min(length, bytes);
308 error = vm_memcpy_to_physical(at, buffer, bytes, user);
311 error = vm_memcpy_from_physical(buffer, at, bytes, user);
314 error = user_memset(buffer, 0, bytes);
316 memset(buffer, 0, bytes);
323 buffer += bytes;
324 length -= bytes;