Searched refs:head_size (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/bsd/vfs/
H A Dvfs_cluster.c2561 u_int32_t head_size; local
2563 head_size = devblocksize - (u_int32_t)(uio->uio_offset & (devblocksize - 1));
2565 if (head_size > io_size)
2566 head_size = io_size;
2568 error = cluster_align_phys_io(vp, uio, src_paddr, head_size, 0, callback, callback_arg);
2573 upl_offset += head_size;
2574 src_paddr += head_size;
2575 io_size -= head_size;
2577 iov_base += head_size;
4610 u_int32_t head_size; local
[all...]
/xnu-2422.115.4/osfmk/vm/
H A Dvm_object.c7137 vm_size_t head_size; local
7336 * to calculate 'head_size' as a multiple of PAGE_SIZE...
7341 head_size = trunc_page(pre_heat_size / 2);
7343 if (target_start > head_size)
7344 target_start -= head_size;
7390 head_size = pre_heat_size - tail_size - PAGE_SIZE;
7392 for (offset = orig_start - PAGE_SIZE_64; head_size; offset -= PAGE_SIZE_64, head_size -= PAGE_SIZE) {
H A Dvm_map.c6533 vm_map_size_t head_size, tail_size; local
6539 head_size = 0;
6584 head_size = (VM_MAP_PAGE_SIZE(dst_map) -
6598 if (head_size + tail_size == copy->size) {
6627 if (head_size) {
6629 * Unaligned copy of the first "head_size" bytes, to reach
6648 head_copy->size = head_size;
6650 copy->offset += head_size;
6651 copy->size -= head_size;
6706 dst_addr + head_size,
[all...]

Completed in 71 milliseconds