| /xnu-11215/iokit/Kernel/ |
| H A D | IOPerfControl.cpp | 33 if (shared == nullptr) { in init() 36 if (!shared) { in init() 71 if (!shared->interfaceLock) { in init() 82 IOLockFree(shared->interfaceLock); in init() 85 shared = expected; in init() 125 if (shared) { in init() 126 if (shared->interfaceLock) { in init() 127 IOLockFree(shared->interfaceLock); in init() 133 shared = nullptr; in init() 332 IOLockLock(shared->interfaceLock); in registerDevice() [all …]
|
| H A D | IODeviceTreeSupport.cpp | 752 OSArray * shared; in IODTGetInterruptOptions() local 765 shared = (OSArray *) gIODTSharedInterrupts->getObject( in IODTGetInterruptOptions() 767 if (!shared) { in IODTGetInterruptOptions() 777 (oneSpec = shared->getObject(i)) in IODTGetInterruptOptions()
|
| /xnu-11215/tests/ |
| H A D | poll_select_kevent_paired_fds.c | 116 } shared; variable 209 if (!handle_writing(shared.fd_pair, shared.wr_fd)) { in workqueue_write_fn() 378 drive_kq(false, mode, shared.fd_pair, shared.wr_fd); in write_to_fd() 441 if (!handle_writing(shared.fd_pair, shared.wr_fd)) { in write_to_fd() 535 if (!handle_reading(shared.fd_pair, shared.rd_fd)) { in workqueue_read_fn() 792 fd_pair_init(fd_pair, &(shared.rd_fd), &(shared.wr_fd)); in drive_threads() 818 fd_pair_init(fd_pair, &(shared.rd_fd), &(shared.wr_fd)); in drive_processes() 832 close(shared.rd_fd); in drive_processes() 833 close(shared.wr_fd); in drive_processes() 840 close(shared.wr_fd); [all …]
|
| H A D | stackshot_tests.m | 589 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address"); 632 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address"); 643 …hild (%s), capturing stackshot", child_same_addr ? "same shared cache addr" : "different shared ca… 2728 T_ASSERT_EQ(result, 0, "iterate shared cache layout"); 2803 …T_LOG("Skipping verifying shared cache UUID in stackshot data because not running with a shared ca… 2815 T_LOG("device running with locally built shared cache, expect shared cache layout"); 2818 T_LOG("device running with B&I built shared-cache, no shared cache layout expected"); 3168 * we get here, then we have found the shared cache UUID 3436 // Legacy shared cache info 3456 * found the shared cache UUID to be correct. [all …]
|
| H A D | stackshot_accuracy.m | 446 …io", &oldratio, &ratiolen, &newratio, sizeof(newratio)), "disabled private:shared ratio checking"); 464 /* reset the private:shared ratio */ 465 …_private_shared_pages_ratio", NULL, 0, &oldratio, sizeof(oldratio)), "reset private:shared ratio");
|
| H A D | stackshot_idle_25570396.m | 146 * shared semaphore. This should spin up plenty of threads! */
|
| H A D | stackshot_block_owner_14362384.m | 364 action_name = "shared lock"; 367 action_name = "shared lock (and wait)";
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSPtr.h | 54 ask IOKit to return shared pointers from many of its API \ 56 transition more IOKit APIs to shared pointers in the future, \ 59 (which would return shared pointers where you expect raw \ 63 off on enabling shared pointers in IOKit APIs until we have \
|
| /xnu-11215/doc/vm/ |
| H A D | freezer.md | 19 …s basically just looking at the number of dirty shared vs. anonymous pages. See [shared objects](#… 24 <a name="shared-objects"></a> 26 …shared memory". `memorystatus_frozen_shared_mb_max` is a global limit on the amount of shared memo… 28 …shared memory here is a bit funky. We look at the `refcnt` for the VM object and call it shared if… 30 We assume that shared memory will be accessed by a non frozen process while the frozen process is s… 32 1. shared with another process in the same coalition 33 1. shared with a daemon 36 For 2, daemons should not touch memory that is shared with a suspended app while that app is suspen… 38 …shared and we don't freeze apps that have a lot of wired memory. Of course, apps should not hold o… 110 | kern.memorystatus\_freeze\_private\_shared\_pages\_ratio | The min. ratio of private to shared pa…
|
| /xnu-11215/osfmk/mach/ |
| H A D | vm_region.h | 88 boolean_t shared; member 116 boolean_t shared; member
|
| H A D | vm_map.defs | 297 * the memory in this mapping will be shared with other mappings 299 * in other tasks). [The Mach kernel only enforces shared memory 358 * entries can then be manipulated, shared with other processes in
|
| H A D | mach_vm.defs | 346 * the memory in this mapping will be shared with other mappings 348 * in other tasks). [The Mach kernel only enforces shared memory 459 * entries can then be manipulated, shared with other processes in
|
| H A D | prof.defs | 63 * [0014] Change subsystem number as current shared with exc.defs reply messages.
|
| /xnu-11215/tests/vm/ |
| H A D | vm_allocation.c | 3409 mach_vm_address_t src, dst, shared; in test_vmcopy_shared_source() local 3442 shared = src; in test_vmcopy_shared_source() 3517 mach_vm_address_t src = 0x0, dst, shared; in test_vmcopy_trueshared_source() local 3522 assert_allocate_success(&shared, size, TRUE); in test_vmcopy_trueshared_source() 3523 write_region(shared, 0); in test_vmcopy_trueshared_source() 3538 modify_one_and_verify_all_regions(src, dst, shared, TRUE); in test_vmcopy_trueshared_source() 3542 assert_deallocate_success(shared, size); in test_vmcopy_trueshared_source() 3550 mach_vm_address_t src = 0x0, dst, shared; in test_vmcopy_private_aliased_source() local 3554 assert_allocate_success(&shared, size, TRUE); in test_vmcopy_private_aliased_source() 3555 write_region(shared, 0); in test_vmcopy_private_aliased_source() [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_memorystatus_freeze.c | 542 uint32_t purgeable, wired, clean, dirty, shared; variable 591 …error = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, max_pages, &shared, &freezer… 593 memorystatus_freezer_stats.mfs_shared_pages_skipped += shared; 1012 uint32_t purgeable, wired, clean, dirty, shared; in memorystatus_freezer_get_status() local 1016 …error = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, max_pages, &shared, &freezer… in memorystatus_freezer_get_status() 1789 uint32_t purgeable, wired, clean, dirty, shared; in memorystatus_freeze_process() local 1860 …kr = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, (uint32_t) max_pages, &shared, … in memorystatus_freeze_process() 1862 memorystatus_freezer_stats.mfs_shared_pages_skipped += shared; in memorystatus_freeze_process() 1870 memorystatus_available_pages, purgeable, wired, clean, dirty, max_pages, shared); in memorystatus_freeze_process() 1878 p->p_memstat_freeze_sharedanon_pages += shared; in memorystatus_freeze_process() [all …]
|
| /xnu-11215/libkdd/kdd.xcodeproj/ |
| H A D | project.pbxproj | 84 …ackshot-with-shared-cache-layout.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 13739E8… 85 …* stackshot-with-shared-cache-layout in Resources */ = {isa = PBXBuildFile; fileRef = 13739E8420DB… 239 …stackshot-with-shared-cache-layout.plist.gz */ = {isa = PBXFileReference; lastKnownFileType = arch… 240 …8D9B9 /* stackshot-with-shared-cache-layout */ = {isa = PBXFileReference; lastKnownFileType = file… 344 13739E8420DB18B600D8D9B9 /* stackshot-with-shared-cache-layout */, 345 13739E8320DB18B500D8D9B9 /* stackshot-with-shared-cache-layout.plist.gz */, 653 13739E8620DB18B600D8D9B9 /* stackshot-with-shared-cache-layout in Resources */, 696 13739E8520DB18B600D8D9B9 /* stackshot-with-shared-cache-layout.plist.gz in Resources */,
|
| /xnu-11215/doc/scheduler/ |
| H A D | sched_clutch_edge.md | 273 …shared resource intensive threads across clusters in order to reduce contention on the shared reso… 275 **Cluster shared resource thread scheduling policy** 277 The threads for shared resources can be scheduled using one of the two policies: 280 …irrespective of type. The idea is that this scheduling policy will put a shared resource thread on… 282 …f CPUs in the cluster; so a cluster's shared resource is considered full if there are "n" runnable…
|
| /xnu-11215/iokit/IOKit/perfcontrol/ |
| H A D | IOPerfControl.h | 373 IOPerfControlClientShared *shared; variable
|
| /xnu-11215/doc/arm/ |
| H A D | sme.md | 41 These register files are unbanked, i.e., their contents are shared across all 223 `SVCR`, `SMPRI_EL1`, and `TPIDR2_EL0` system registers are all shared between 226 More critically, the `Z`, `P`, `ZA`, and `ZT0` register files are also shared
|
| /xnu-11215/doc/building/ |
| H A D | xnu_build_consolidation.md | 18 Although this effort could be extended to KEXTs, and hence lead to shared KernelCaches across devic… 21 appropriately with different sets of KEXTs and hence KernelCaches cannot be shared.
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | README | 61 Information that is to be shared between these mounts is stored
|
| /xnu-11215/libkern/zlib/ |
| H A D | README | 81 - When building a shared, i.e. dynamic library on Mac OS X, the library must be
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOUserClient.iig | 234 …* an IOMemoryDescriptor instance for shared memory. For a given IOUserClient instance…
|
| H A D | IODataQueueDispatchSource.iig | 43 * @brief Create an IODataQueueDispatchSource for a shared memory data queue.
|
| /xnu-11215/bsd/dev/i386/ |
| H A D | sysctl.c | 718 SYSCTL_PROC(_machdep_cpu_tlb, OID_AUTO, shared,
|