Searched refs:rounded_size (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dgzalloc.c268 vm_offset_t rounded_size = round_page(zone->elem_size + GZHEADER_SIZE); local
269 vm_offset_t residue = rounded_size - zone->elem_size;
277 if (gzalloc_reserve_size < rounded_size)
283 gzalloc_reserve += rounded_size + PAGE_SIZE;
284 gzalloc_reserve_size -= rounded_size + PAGE_SIZE;
285 OSAddAtomic64((SInt32) (rounded_size), &gzalloc_early_alloc);
289 &gzaddr, rounded_size + (1*PAGE_SIZE),
292 panic("gzalloc: kernel_memory_allocate for size 0x%llx failed with %d", (uint64_t)rounded_size, kr);
318 memset((void *)gzaddr, gzalloc_fill_pattern, rounded_size);
327 zone->cur_size += rounded_size;
345 vm_offset_t rounded_size = round_page(zone->elem_size + GZHEADER_SIZE); local
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cluster.c1809 int rounded_size; local
1860 rounded_size = (io_size + (PAGE_SIZE - 1)) & ~PAGE_MASK;
1862 if (size > rounded_size) {
1864 ubc_upl_abort_range(upl, upl_offset + rounded_size, size - rounded_size,
1885 int rounded_size; local
1925 rounded_size = (io_size + (PAGE_SIZE - 1)) & ~PAGE_MASK;
1927 if (size > rounded_size && (local_flags & CL_COMMIT))
1928 ubc_upl_abort_range(upl, upl_offset + rounded_size,
1929 size - rounded_size, UPL_ABORT_FREE_ON_EMPT
[all...]

Completed in 84 milliseconds