| /xnu-11215/tests/ |
| H A D | stackshot_spawn_exit_stress.c | 104 posix_spawn_file_actions_t actions; variable 105 T_QUIET; T_ASSERT_POSIX_SUCCESS(posix_spawn_file_actions_init(&actions), "create spawn actions"); 106 …T_QUIET; T_ASSERT_POSIX_SUCCESS(posix_spawn_file_actions_addopen(&actions, STDOUT_FILENO, "/dev/nu… 114 int sp_ret = posix_spawn(&pid, args[0], &actions, NULL, args, NULL);
|
| H A D | stackshot_block_owner_14362384.m | 239 /* perform various actions with a mutex in kernel memory. note that, since we aren't allowed 240 * to go to user space while still holding a mutex, the lock-acquiring actions in this kernel 346 /* perform various actions with a rwlock in kernel memory. note that, since we aren't allowed 347 * to go to user space while still holding a rwlock, the lock-acquiring actions in this kernel
|
| H A D | kqueue_file_tests.c | 481 execute_action_list(action_t *actions, int nactions, int failout) in execute_action_list() argument 486 res = *((int *) execute_action(&(actions[i]))); in execute_action_list()
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | main.c | 66 posix_spawn_file_actions_t actions; in spawn_process() local 67 posix_spawn_file_actions_init(&actions); in spawn_process() 70 …T_ASSERT_POSIX_ZERO(posix_spawn(&pid, VM_SPAWN_TOOL, &actions, NULL, argv, environ), "spawn %s", s… in spawn_process() 72 …T_ASSERT_POSIX_ZERO(posix_spawn(&pid, buffer, &actions, NULL, argv, environ), "spawn %s", serviceN… in spawn_process() 74 posix_spawn_file_actions_destroy(&actions); in spawn_process()
|
| /xnu-11215/osfmk/kern/ |
| H A D | exception.c | 731 struct exception_action *actions; in exception_triage_thread() local 753 actions = tro->tro_exc_actions; in exception_triage_thread() 754 if (KERN_SUCCESS == check_exc_receiver_dependency(exception, actions, mutex)) { in exception_triage_thread() 755 kr = exception_deliver(thread, exception, code, codeCnt, actions, mutex); in exception_triage_thread() 766 actions = task->exc_actions; in exception_triage_thread() 767 if (KERN_SUCCESS == check_exc_receiver_dependency(exception, actions, mutex)) { in exception_triage_thread() 768 kr = exception_deliver(thread, exception, code, codeCnt, actions, mutex); in exception_triage_thread() 779 actions = host_priv->exc_actions; in exception_triage_thread() 780 if (KERN_SUCCESS == check_exc_receiver_dependency(exception, actions, mutex)) { in exception_triage_thread() 781 kr = exception_deliver(thread, exception, code, codeCnt, actions, mutex); in exception_triage_thread()
|
| H A D | ipc_tt.c | 919 struct exception_action *actions; in ipc_thread_init_exc_actions() local 921 actions = kalloc_type(struct thread_init_exc_actions, in ipc_thread_init_exc_actions() 926 mac_exc_associate_action_label(&actions[i], in ipc_thread_init_exc_actions() 927 mac_exc_create_label(&actions[i])); in ipc_thread_init_exc_actions() 931 zalloc_ro_update_field(ZONE_ID_THREAD_RO, tro, tro_exc_actions, &actions); in ipc_thread_init_exc_actions() 937 struct exception_action *actions = tro->tro_exc_actions; in ipc_thread_destroy_exc_actions() local 939 if (actions) { in ipc_thread_destroy_exc_actions() 942 mac_exc_free_action_label(actions + i); in ipc_thread_destroy_exc_actions() 948 (struct thread_init_exc_actions *)actions; in ipc_thread_destroy_exc_actions()
|
| H A D | ledger.h | 213 extern kern_return_t ledger_get_actions(ledger_t ledger, int entry, int *actions);
|
| H A D | ledger.c | 1763 ledger_get_actions(ledger_t ledger, int entry, int *actions) in ledger_get_actions() argument 1766 *actions = 0; in ledger_get_actions() 1779 *actions = le->le_flags & LEDGER_ACTION_MASK; in ledger_get_actions() 1780 lprintf(("ledger_get_actions: %#x\n", *actions)); in ledger_get_actions()
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | RootDomain.h | 450 IOPMActions * actions, 455 IOPMActions * actions, 462 IOPMActions * actions, 469 IOPMActions * actions, 476 IOPMActions * actions, 483 IOPMActions * actions ); 487 IOPMActions * actions, 497 IOPMActions * actions, 504 IOPMActions * actions,
|
| /xnu-11215/tests/cpu_counters/ |
| H A D | kpc_tests.c | 431 int32_t *actions = calloc(mch.nconfig, sizeof(*actions)); variable 432 actions[0] = 1; 433 int ret = kpc_set_actionid(KPC_CLASS_CONFIGURABLE_MASK, actions); 435 free(actions); 730 int32_t *actions = calloc(mch.nconfig, sizeof(*actions)); variable 732 actions[i] = 1; 734 ret = kpc_set_actionid(KPC_CLASS_CONFIGURABLE_MASK, actions); 736 free(actions);
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 17 Depending on the resource, there are a variety of actions that memorystatus might take. 18 One of the most common actions is to kill 1 or more processes in an attempt to recover the system. 22 The memorystatus contains code to perform four actions in response to resource shortages: 28 Each of these actions are covered in their own document in this folder. 40 Contains mechanical code to implement the kill and swap actions. Should not contain any policy 58 …actions taken by the memorystatus subsystem happen in the `memorystatus_thread` (`bsd/kern/kern_me… 64 …icy.c`) for the conditions that trigger specific actions. Note that we sometimes do pre-emptive ac… 124 The following configurable (EDT) thresholds determine which actions to take when `memorystatus_avai…
|
| H A D | memorystatus_kills.md | 120 …MEMORYSTATUS_KILL_SWAPPABLE` and `MEMORYSTATUS_KILL_SWAPPABLE_SUSPENDED` actions. These happen whe…
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOServicePMPrivate.h | 86 IOPMActions * actions, 95 IOPMActions * actions, 104 IOPMActions * actions, 113 IOPMActions * actions ); 119 IOPMActions * actions,
|
| H A D | IOPMrootDomain.cpp | 5949 IOPMActions * actions, argument 5954 memset(actions, 0, sizeof(*actions)); 5955 actions->target = this; 6041 actions->flags |= flags; 6106 IOPMActions * actions, argument 6208 IOPMActions * actions, argument 6502 IOPMActions * actions, argument 6703 IOPMActions * actions, argument 6833 IOPMActions * actions ) argument 6870 IOPMActions * actions, argument [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_exec.c | 2606 struct exec_port_actions *actions) in exec_handle_port_actions() argument 2661 if (actions->exception_port_count) { in exec_handle_port_actions() 2665 if (actions->excport_array == NULL) { in exec_handle_port_actions() 2670 if (actions->portwatch_count) { in exec_handle_port_actions() 2676 actions->portwatch_count, Z_WAITOK | Z_ZERO); in exec_handle_port_actions() 2677 if (actions->portwatch_array == NULL) { in exec_handle_port_actions() 2723 actions->excport_array[excport_i].port = port; in exec_handle_port_actions() 2727 assert(portwatch_i < actions->portwatch_count); in exec_handle_port_actions() 2729 actions->portwatch_array[portwatch_i++] = port; in exec_handle_port_actions() 2797 const struct exec_port_actions *actions) in exec_handle_exception_port_actions() argument [all …]
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ktrace.py | 253 actions = kern.globals.actionc 258 for i in range(0, actions): 311 actions = kern.globals.actionv 316 action = actions[i]
|
| H A D | README.md | 393 …n KB, MB etc. The convention is to have functions that do self contained actions and does not requ…
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.kernel | 380 # was run and use it to determine what actions to take
|
| H A D | MakeInc.rule | 9 # to augment the actions that will be performed.
|
| H A D | MakeInc.top | 16 # a kernel or perform actions other than
|