Lines Matching refs:vm_size
429 mach_vm_size_t vm_size; variable
436 vm_size = 1 * 1024 * 1024;
437 T_LOG("--> allocate %llu bytes", vm_size);
440 vm_size,
448 T_LOG("--> access %llu bytes", vm_size);
450 cp < (char *) (vm_addr + vm_size);
457 if (footprint[1] != footprint[0] + vm_size) {
461 T_LOG("--> wire %llu bytes", vm_size / 2);
462 ret = mlock((char *)vm_addr, (size_t) (vm_size / 2));
484 if (footprint[3] != footprint[2] - (vm_size / 2)) {
507 T_LOG("--> unwire %llu bytes", vm_size / 2);
508 ret = munlock((char *)vm_addr, (size_t) (vm_size / 2));
515 if (footprint[5] != footprint[4] - (vm_size / 2)) {