| /xnu-11215/EXTERNAL_HEADERS/ |
| H A D | AssertMacros.h | 750 __Require_Action(!(assertion), exceptionLabel, action) 1311 …fine require_action(assertion, exceptionLabel, action) __Require_Action(assertion, exceptionLabel… argument 1315 …tion_string(assertion, exceptionLabel, action, message) __Require_Action_String(assertion, except… argument 1323 …ire_noerr_action(errorCode, exceptionLabel, action) __Require_noErr_Action(errorCode, exceptionLa… argument 1343 #define verify_action(assertion, action) __Verify_Action(assertion, action) argument 1351 #define verify_noerr_action(errorCode, action) __Verify_noErr_Action(errorCode, action) argument 1375 …ne nrequire_action(assertion, exceptionLabel, action) __nRequire_Action(assertion, exceptionLabel… argument 1379 …re_action_quiet(assertion, exceptionLabel, action) __nRequire_Action_Quiet(assertion, exceptionLa… argument 1383 …ion_string(assertion, exceptionLabel, action, message) __nRequire_Action_String(assertion, except… argument 1403 …ire_action_quiet(assertion, exceptionLabel, action) __Require_Action_Quiet(assertion, exceptionLa… argument [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | process_policy.c | 113 int action = uap->action; in process_policy() local 279 if ((action == PROC_POLICY_ACTION_APPLY || action == PROC_POLICY_ACTION_RESTORE) in handle_cpuuse() 306 switch (action) { in handle_cpuuse() 367 int action, in handle_applifecycle() argument 444 int action, in handle_apptype() argument 505 int action, in handle_boost() argument 530 switch (action) { in handle_boost() 552 switch (action) { in handle_boost() 576 if (action != PROC_POLICY_ACTION_APPLY) { in handle_no_smt() 710 switch (action) { in proc_apply_resource_actions() [all …]
|
| H A D | kern_authorization.c | 400 action, arg0, arg1, arg2, arg3); in kauth_authorize_action() 457 switch (action) { in kauth_authorize_process_callback() 536 if (action == KAUTH_FILEOP_OPEN || in kauth_authorize_fileop() 537 action == KAUTH_FILEOP_CLOSE || in kauth_authorize_fileop() 538 action == KAUTH_FILEOP_EXEC || in kauth_authorize_fileop() 539 action == KAUTH_FILEOP_WILL_RENAME) { in kauth_authorize_fileop() 548 if (action == KAUTH_FILEOP_CLOSE || in kauth_authorize_fileop() 549 action == KAUTH_FILEOP_WILL_RENAME) { in kauth_authorize_fileop() 574 kauth_authorize_generic(kauth_cred_t credential, kauth_action_t action) in kauth_authorize_generic() argument 580 return kauth_authorize_action(kauth_scope_generic, credential, action, 0, 0, 0, 0); in kauth_authorize_generic() [all …]
|
| /xnu-11215/security/ |
| H A D | mac_mach.c | 365 mac_exc_label(struct exception_action *action) in mac_exc_label() argument 367 return mac_label_verify(&action->label); in mac_exc_label() 373 action->label = label; in mac_exc_set_label() 379 mac_exc_create_label(struct exception_action *action) in mac_exc_create_label() argument 381 …return mac_labelzone_alloc_for_owner(action ? &action->label : NULL, MAC_WAITOK, ^(struct label *l… in mac_exc_create_label() 400 mac_exc_set_label(action, label); in mac_exc_associate_action_label() 401 MAC_PERFORM(exc_action_label_associate, action, mac_exc_label(action)); in mac_exc_associate_action_label() 407 mac_exc_free_label(mac_exc_label(action)); in mac_exc_free_action_label() 408 mac_exc_set_label(action, NULL); in mac_exc_free_action_label() 419 MAC_CHECK(exc_action_label_update, action, mac_exc_label(action), newlabel); in mac_exc_update_action_label() [all …]
|
| H A D | mac_mach_internal.h | 129 struct label *mac_exc_create_label(struct exception_action *action); 130 struct label *mac_exc_label(struct exception_action *action); 131 void mac_exc_set_label(struct exception_action *action, struct label *label); 134 void mac_exc_associate_action_label(struct exception_action *action, struct label *label); 135 void mac_exc_free_action_label(struct exception_action *action); 137 int mac_exc_update_action_label(struct exception_action *action, struct label *newlabel); 141 int mac_exc_action_check_exception_send(struct task *victim_task, struct exception_action *action);
|
| /xnu-11215/EXTERNAL_HEADERS/corecrypto/ |
| H A D | cc_macros.h | 79 #define cc_require_action(assertion, exceptionLabel, action) \ argument 85 action; \ 91 #define cc_require_action(assertion, exceptionLabel, action) \ argument 97 action; \ 104 #define cc_require_action(assertion, exceptionLabel, action) \ argument 113 action; \
|
| /xnu-11215/osfmk/corecrypto/ |
| H A D | cc_macros.h | 107 #define cc_require_action(assertion, exceptionLabel, action) \ argument 113 action; \ 119 #define cc_require_action(assertion, exceptionLabel, action) \ argument 125 action; \ 132 #define cc_require_action(assertion, exceptionLabel, action) \ argument 141 action; \
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | OSAction.iig | 52 * kern_return_t CreateActionNameOfMethod(size_t referenceSize, OSAction **action); 76 * @param action Created OSAction with +1 retain count to be released by the caller. 85 OSAction ** action) LOCAL; 94 OSAction ** action) LOCAL; 111 * @brief Cancel all callbacks from the action. 131 * @discussion This call should be made before any possible invocation of the action. 140 * @brief Discard the OSActionWaitToken for the action. 141 * @discussion Free any resources needed to wait for the action allocated by WillWait(). 143 * if necessary the action should be canceled before calling EndWait(). 153 * @brief Wait for the action to be invoked. [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOCommandGate.h | 103 static OSPtr<IOCommandGate> commandGate(OSObject *owner, Action action = NULL); 116 virtual bool init(OSObject *owner, Action action = NULL); 154 virtual IOReturn runAction(Action action, 170 IOReturn runActionBlock(ActionBlock action); 200 virtual IOReturn attemptAction(Action action,
|
| H A D | IOReportMacros.h | 167 #define SIMPLEREPORT_UPDATERES(action, result) \ argument 169 if (((action) == kIOReportGetDimensions) || ((action) == kIOReportCopyChannelData)) { \ 345 #define STATEREPORT_UPDATERES(state_buf, action, result) \ argument 350 if (((action) == kIOReportGetDimensions) || ((action) == kIOReportCopyChannelData)) { \ 530 #define SIMPLEARRAY_UPDATERES(array_buf, action, result) \ argument 535 if (((action) == kIOReportGetDimensions) || ((action) == kIOReportCopyChannelData)) { \ 693 #define HISTREPORT_UPDATERES(hist_buf, action, result) \ argument 697 if (((action) == kIOReportGetDimensions) || ((action) == kIOReportCopyChannelData)) { \
|
| H A D | IOTimerEventSource.h | 165 timerEventSource(OSObject *owner, Action action = NULL); 174 timerEventSource(uint32_t options, OSObject *owner, Action action = NULL); 184 timerEventSource(uint32_t options, OSObject *inOwner, ActionBlock action); 188 __inline__ void invokeAction(IOEventSource::Action action, IOTimerEventSource * ts, 195 virtual bool init(OSObject *owner, Action action = NULL);
|
| H A D | IOEventSource.h | 125 union { Action action; ActionBlock actionBlock; }; member 127 Action action; variable 184 virtual bool init(OSObject *owner, IOEventSource::Action action = NULL); 236 virtual void setAction(IOEventSource::Action action);
|
| H A D | IOFilterInterruptEventSource.h | 119 IOInterruptEventSource::Action action, 137 IOInterruptEventSource::ActionBlock action, 157 IOInterruptEventSource::Action action,
|
| H A D | IOInterruptEventSource.h | 141 Action action, 158 ActionBlock action); 174 Action action,
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | main.c | 11 spawn_process(char *action, char *serviceName, char *extraArg, 22 spawn_process(char *action, char *serviceName, char *extraArg, in spawn_process() argument 52 argv[arg_index++] = (char *)action; in spawn_process() 63 T_LOG("Spawning %s process(%s) with service name %s at %s\n", action, buffer, serviceName, buffer); in spawn_process() 134 struct sigaction action = { variable 138 sigaction(SIGCHLD, &action, NULL);
|
| /xnu-11215/tests/ |
| H A D | proc_rlimit.c | 100 change_rlimits(int limit_type, rlim_t amount, int action) in change_rlimits() argument 117 if (action == RAISE) { in change_rlimits() 124 } else if (action == LOWER) { in change_rlimits() 131 T_FAIL("Unknown action on soft limit: %d", action); in change_rlimits() 136 if (action == RAISE) { in change_rlimits() 142 } else if (action == LOWER) { in change_rlimits() 153 T_FAIL("Unknown action on hard limit: %d", action); in change_rlimits()
|
| H A D | shared_cache_reslide_test.c | 52 posix_spawn_file_actions_t action; in get_current_slide_address() local 62 T_ASSERT_POSIX_ZERO(posix_spawn_file_actions_init(&action), "posix_spawn_fileactions_init"); in get_current_slide_address() 63 …T_ASSERT_POSIX_ZERO(posix_spawn_file_actions_addclose(&action, pipefd[0]), "posix_spawn_file_actio… in get_current_slide_address() 64 …T_ASSERT_POSIX_ZERO(posix_spawn_file_actions_adddup2(&action, pipefd[1], 1), "posix_spawn_file_act… in get_current_slide_address() 65 …T_ASSERT_POSIX_ZERO(posix_spawn_file_actions_addclose(&action, pipefd[1]), "posix_spawn_file_actio… in get_current_slide_address() 73 …T_ASSERT_POSIX_ZERO(posix_spawn(&pid, SHARED_CACHE_HELPER, &action, &attr, argvs, envps), "helper … in get_current_slide_address()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_attrlist.c | 496 kauth_action_t action; member 536 {.attr = 0, .bits = 0, .size = 0, .action = 0} 681 *actionp |= tab->action; in getattrlist_parsetab() 3153 kauth_action_t action; in getattrlist_internal() local 3734 kauth_action_t action; in get_error_attributes() local 4091 kauth_action_t action; in getattrlistbulk() local 4183 action = KAUTH_VNODE_LIST_DIRECTORY; in getattrlistbulk() 4185 action |= KAUTH_VNODE_SEARCH; in getattrlistbulk() 4356 kauth_action_t action; in setattrlist_internal() local 4617 action = 0; in setattrlist_internal() [all …]
|
| /xnu-11215/iokit/System/ |
| H A D | IODataQueueDispatchSourceShared.h | 134 OSAction ** action) in CopyDataAvailableHandler_Impl() argument 146 *action = result; in CopyDataAvailableHandler_Impl() 153 OSAction ** action) in CopyDataServicedHandler_Impl() argument 165 *action = result; in CopyDataServicedHandler_Impl() 171 OSAction * action) in SetDataAvailableHandler_Impl() argument 180 if (action) { in SetDataAvailableHandler_Impl() 181 action->retain(); in SetDataAvailableHandler_Impl() 194 OSAction * action) in SetDataServicedHandler_Impl() argument 203 if (action) { in SetDataServicedHandler_Impl() 204 action->retain(); in SetDataServicedHandler_Impl() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | pf.c | 405 return action; in pf_state_lookup_aux() 415 return action; in pf_state_lookup_aux() 3849 rm->action == PF_NORDR || rm->action == PF_NOBINAT || in pf_match_translation() 7714 return action; in pf_test_state_udp() 8847 int action; in pf_test_state_esp() local 8939 return action; in pf_test_state_esp() 10095 return action; in pf_test() 10162 if (action == PF_PASS || r->action == PF_DROP) { in pf_test() 10255 return action; in pf_test() 10812 if (action == PF_PASS || r->action == PF_DROP) { in pf_test6() [all …]
|
| /xnu-11215/tests/nvram_tests/ |
| H A D | run_tests.py | 82 action = parsed_args.br variable 87 if (action != 1): 109 if (action != 0): 110 if (action == 1):
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOReporter.cpp | 52 IOReportConfigureAction action, in configureAllReports() argument 64 switch (action) { in configureAllReports() 103 IOReportConfigureAction action, in updateAllReports() argument 118 switch (action) { in updateAllReports() 128 (void)rep->updateReport(channelList, action, result, destination); in updateAllReports() 356 IOReportConfigureAction action, in configureReport() argument 374 IOReportConfigureAction action, in updateReport() argument 607 IOReportConfigureAction action, in handleConfigureReport() argument 630 switch (action) { in handleConfigureReport() 671 IOReportConfigureAction action, in handleUpdateReport() argument [all …]
|
| H A D | IOUserServer.cpp | 308 if (action != kIOReportEnable && action != kIOReportGetDimensions && action != kIOReportDisable) { in _ConfigureReport() 1336 *action = inst; in OSActionCreateWithTypeNameInternal() 1604 ivars->action = action; in SetHandler_Impl() 2014 ivars->action = action; in SetHandler_Impl() 2015 if (action) { in SetHandler_Impl() 2950 if (action) { in objectInstantiate() 3015 if (action) { in objectInstantiate() 3151 return action; in target() 6282 action); in externalMethod() 6773 if (action) { in Create_Impl() [all …]
|
| /xnu-11215/bsd/netinet/ |
| H A D | ip6.h | 318 #define IP6_EXTHDR_CHECK(m, off, hlen, action) \ argument 325 action; \ 331 action; \ 338 action; \ 347 action; \
|
| /xnu-11215/osfmk/i386/ |
| H A D | pmap_internal.h | 681 pmap_pagetable_corruption_action_t action; member 709 action = PMAP_ACTION_ASSERT; in pmap_pagetable_corruption_log() 717 pmap_pagetable_corruption_records[pmap_pagetable_corruption_log_index].action = action; in pmap_pagetable_corruption_log() 734 return action; in pmap_pagetable_corruption_log() 778 action = PMAP_ACTION_RETRY; in pmap_classify_pagetable_corruption() 794 action = PMAP_ACTION_RETRY_RELOCK; in pmap_classify_pagetable_corruption() 803 action = PMAP_ACTION_ASSERT; in pmap_classify_pagetable_corruption() 812 action = PMAP_ACTION_IGNORE; in pmap_classify_pagetable_corruption() 815 action = PMAP_ACTION_IGNORE; in pmap_classify_pagetable_corruption() 818 action = PMAP_ACTION_IGNORE; in pmap_classify_pagetable_corruption() [all …]
|