/darwin-on-arm/xnu/EXTERNAL_HEADERS/ |
H A D | AssertMacros.h | 552 * verify_action(assertion, action) 556 * then execute the action statement or compound statement (block). 559 * call DEBUG_ASSERT_MESSAGE and then execute the action statement or compound 567 * action: 571 #define verify_action(assertion, action) \ 576 action; \ 580 #define verify_action(assertion, action) \ 593 { action; } \ 650 * require_action(assertion, exceptionLabel, action) 654 * execute the action statemen [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | process_policy.c | 77 static int handle_background(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 78 static int handle_hwaccess(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 79 static int handle_lowresrouce(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 80 static int handle_resourceuse(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 81 static int handle_apptype(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 87 static int handle_applifecycle(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid); 94 *int process_policy(int scope, int action, int policy, int policy_subtype, 97 *{ int process_policy(int scope, int action, int policy, int policy_subtype, 108 int action = uap->action; local 201 handle_background(int scope, int action, __unused int policy, __unused int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid) argument 300 handle_hwaccess(__unused int scope, __unused int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, __unused proc_t proc, __unused uint64_t target_threadid) argument 316 handle_lowresrouce(__unused int scope, int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, proc_t proc, __unused uint64_t target_threadid) argument 338 handle_resourceuse(__unused int scope, __unused int action, __unused int policy, int policy_subtype, user_addr_t attrp, proc_t proc, __unused uint64_t target_threadid) argument 395 handle_applifecycle(__unused int scope, int action, __unused int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid) argument 504 handle_apptype(__unused int scope, int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, proc_t target_proc, __unused uint64_t target_threadid) argument 556 proc_apply_resource_actions(void * bsdinfo, int type, int action) argument 589 proc_restore_resource_actions(void * bsdinfo, __unused int type, int action) argument [all...] |
H A D | kern_authorization.c | 398 kauth_authorize_action(kauth_scope_t scope, kauth_cred_t credential, kauth_action_t action, argument 405 result = scope->ks_callback(credential, scope->ks_idata, action, arg0, arg1, arg2, arg3); 424 action, arg0, arg1, arg2, arg3); 440 kauth_authorize_allow(__unused kauth_cred_t credential, __unused void *idata, __unused kauth_action_t action, argument 471 kauth_authorize_process(kauth_cred_t credential, kauth_action_t action, struct proc *process, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3) argument 473 return(kauth_authorize_action(kauth_scope_process, credential, action, (uintptr_t)process, arg1, arg2, arg3)); 477 kauth_authorize_process_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t action, argument 480 switch(action) { 540 kauth_authorize_fileop(kauth_cred_t credential, kauth_action_t action, uintptr_t arg0, uintptr_t arg1) argument 553 if (action 581 kauth_authorize_generic(kauth_cred_t credential, kauth_action_t action) argument 591 kauth_authorize_generic_callback(kauth_cred_t credential, __unused void *idata, kauth_action_t action, __unused uintptr_t arg0, __unused uintptr_t arg1, __unused uintptr_t arg2, __unused uintptr_t arg3) argument [all...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOCommandGate.h | 43 that executes an action on the driver's work-loop. 'On the work-loop' is 52 client to submit a request to a work loop. A typical command gate action would 70 through from the runCommand to the action callout. 76 @param arg0 Argument to action from run operation. 77 @param arg1 Argument to action from run operation. 78 @param arg2 Argument to action from run operation. 79 @param arg3 Argument to action from run operation. 100 static IOCommandGate *commandGate(OSObject *owner, Action action = 0); 106 @param owner Owner of this, newly created, instance of the IOCommandGate. This argument will be used as the first parameter in the action callout. 107 @param action [all...] |
H A D | IOEventSource.h | 80 checkForWork() is the key method in this class. It is called by some work-loop when convienient and is expected to evaluate its internal state and determine if an event has occurred since the last call. In the case of an event having occurred then the instance defined target(owner)/action will be called. The action is stored as an ordinary C function pointer but the first parameter is always the owner. This means that a C++ member function can be used as an action function though this depends on the ABI. 96 As the all event sources require an action and it has to be stored somewhere 117 /*! @var action 118 The action method called when an event has been delivered */ 119 Action action; member in class:IOEventSource 150 of the action callout. Owner will generally be an OSObject it doesn't have to 153 @param action 157 action cal [all...] |
H A D | IOFilterInterruptEventSource.h | 99 @param action 'C' Function to call when something happens. 106 IOInterruptEventSource::Action action, 114 @param action 'C' Function to call when something happens. 121 IOInterruptEventSource::Action action, 128 @abstract Cause the work loop to schedule the action. 129 @discussion Cause the work loop to schedule the interrupt action even if the filter routine returns 'false'. Note well the interrupting condition MUST be cleared from the hardware otherwise an infinite process interrupt loop will occur. Use this function when SoftDMA is desired. See $link IOFilterInterruptSource::Filter */
|
H A D | IOInterruptEventSource.h | 47 @discussion The IOInterruptEventSource is a generic object that delivers calls interrupt routines in it's client in a guaranteed single-threaded manner. IOInterruptEventSource is part of the IOKit $link IOWorkLoop infrastructure where the semantic that one and only one action method is executing within a work-loops event chain. 49 When the action method is called in the client member function will receive 2 arguments, (IOEventSource *) sender and (int) count, See $link IOInterruptEventSource::Action. Where sender will be reference to the interrupt that occurred and the count will be computed by the difference between the $link producerCount and $link consumerCount. This number may not be reliable as no attempt is made to adjust for around the world type problems but is provided for general information and statistic gathering. 53 An interrupt event source attaches itself to the given provider's interrupt source at initialisation time. At this time it determines if it is connected to a level or edge triggered interrupt. If the interrupt is an level triggered interrupt the event source automatically disables the interrupt source at primary interrupt time and after it call's the client it automatically reenables the interrupt. This action is fairly expensive but it is 100% safe and defaults sensibly so that the driver writer does not have to implement type dependant interrupt routines. So to repeat, the driver writer does not have to be concerned by the actual underlying interrupt mechanism as the event source hides the complexity. 111 @discussion This function called when the work-loop is ready to check for any work to do and then to call out the owner/action. 124 @param action 'C' Function to call when something happens. 130 Action action, 137 @param action 'C' Function to call when something happens. 143 Action action,
|
H A D | IOTimerEventSource.h | 57 Remember the system doesn't guarantee the accuracy of the callout. It is possible that a higher priority thread is running which will delay the execution of the action routine. In fact the thread will be made runable at the exact requested time, within the accuracy of the CPU's decrementer based interrupt, but the scheduler will then control execution. 85 @discussion timeout will normally not be called nor overridden by a subclass. If the event source is enabled then close the work-loop's gate and call the action routine. 111 @param action */ 113 timerEventSource(OSObject *owner, Action action = 0); 118 @param action */ 119 virtual bool init(OSObject *owner, Action action = 0); 122 @abstract Enables a call to the action. 123 @discussion Allows the action function to be called. If the timer event source was disabled while a call was outstanding and the call wasn't cancelled then it will be rescheduled. So a disable/enable pair will disable calls from this event source. */ 128 @discussion When disable returns the action will not be called until the next time enable(qv) is called. */ 135 @result kIOReturnSuccess if everything is fine, kIOReturnNoResources if action has [all...] |
H A D | IOPolledInterface.h | 57 IOPolledCompletionAction action; member in struct:IOPolledCompletion
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOPMPowerStateQueue.h | 55 virtual bool init( OSObject * owner, Action action ); 58 static IOPMPowerStateQueue * PMPowerStateQueue( OSObject * owner, Action action );
|
H A D | IOCommandQueue.cpp | 65 initWithNext:owner:action:size: 68 action: (SEL) inAction 73 the chain and the owner and action. On return the signalWorkAvailableIMP 79 See also: initWithNext:owner:action:(IOEventSource) 169 (uintptr_t) action, (uintptr_t) owner); 172 (*(IOCommandQueueAction) action)(owner, field0, field1, field2, field3); 176 (uintptr_t) action, (uintptr_t) owner); 265 inAction = (IOCommandQueueAction) action;
|
H A D | IOEventSource.cpp | 172 IOEventSource::Action IOEventSource::getAction () const { return action; }; 176 action = inAction;
|
H A D | IOPMPowerStateQueue.cpp | 87 IOPMPowerStateQueueAction queueAction = (IOPMPowerStateQueueAction) action;
|
H A D | IOTimerEventSource.cpp | 105 if (me->enabled && me->action) 114 doit = (Action) me->action; 147 if (me->enabled && me->action) 156 doit = (Action) me->action; 360 if (!action)
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs.h | 92 int perms, int (*clone)(dev_t dev, int action),
|
/darwin-on-arm/xnu/osfmk/kperf/ |
H A D | Makefile | 16 action.h \
|
H A D | action.c | 51 #include <kperf/action.h> 62 struct action struct 69 static struct action *actionv = NULL; 315 struct action *new_actionv = NULL, *old_actionv = NULL; 330 /* creating the action arror for the first time. create a few
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | ipc_misc.c | 157 * action The function to invoke with the fileglob 159 * rval The value returned from calling 'action' 163 int (*action)(mach_port_name_t, struct fileglob *, void *), 176 *rval = (*action)(name, fg, arg); 186 * Description: Invoke the action function on every fileport in the task. 195 * action The function to invoke on each fileport 200 int (*action)(mach_port_name_t, struct fileglob *, void *arg), 233 if (fileport_invoke(task, names[i], action, arg, 162 fileport_invoke(task_t task, mach_port_name_t name, int (*action)(mach_port_name_t, struct fileglob *, void *), void *arg, int *rval) argument 199 fileport_walk(task_t task, int (*action)(mach_port_name_t, struct fileglob *, void *arg), void *arg) argument
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2_compat.c | 136 /* print action */ 172 printf("No action given\n"); 479 printf("** unrecognized action %d len %d", 1981 ipfw_insn *action, *cmd, *src, *dst; local 1999 /* fill in action */ 2000 action = (ipfw_insn *)actbuf; 2004 action->len = 1; /* default */ 2007 have_state = action; 2008 action->opcode = O_CHECK_STATE; 2013 action 2525 ipfw_insn *action, *cmd, *src, *dst; local [all...] |
H A D | ip6.h | 304 #define IP6_EXTHDR_CHECK(m, off, hlen, action) \ 311 action; \ 316 action; \ 322 action; \ 330 action; \
|
/darwin-on-arm/xnu/ |
H A D | xnu-build | 38 action="install" 163 action="$target" 167 # append build configuration to $action, if any 191 echo ' Build action: $action' 279 echo $buildtool $action '$build_string' \< /dev/null 290 $buildtool $action $build_string < /dev/null 381 if [ "$action" == "installhdrs" ]; then
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | namei.h | 270 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t context, kauth_action_t action); 271 void vnode_uncache_authorized_action(vnode_t vp, kauth_action_t action); 273 boolean_t vnode_cache_is_authorized(vnode_t vp, vfs_context_t context, kauth_action_t action);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf.c | 377 int direction, int *action) 380 *action = PF_DROP; 381 return (action); 390 *action = PF_PASS; 391 return (action); 399 int action; \ 405 if (pf_state_lookup_aux(state, kif, direction, &action)) \ 406 return (action); \ 1352 (*sn)->ruletype = rule->action; 3354 if (r->action 376 pf_state_lookup_aux(struct pf_state **state, struct pfi_kif *kif, int direction, int *action) argument 6322 int dx, action, extfilter; local 6835 int dx, action; local 7234 int action; local 8053 u_short action = PF_PASS, reason = 0, log = 0; local 8587 u_short action = PF_PASS, reason = 0, log = 0; local [all...] |
H A D | if_pflog.h | 80 u_int8_t action; member in struct:pfloghdr
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | pmap_internal.h | 594 pmap_pagetable_corruption_action_t action; member in struct:__anon983 610 pmap_pagetable_corruption_log(pmap_pv_assertion_t incident, pmap_pagetable_corruption_t suppress_reason, pmap_pagetable_corruption_action_t action, pmap_t pmap, vm_map_offset_t vaddr, pt_entry_t *ptep, ppnum_t ppn, pmap_t pvpmap, vm_map_offset_t pvva) { argument 615 pmap_pagetable_corruption_records[pmap_pagetable_corruption_log_index].action = action; 629 pmap_pagetable_corruption_action_t action = PMAP_ACTION_ASSERT; local 663 action = PMAP_ACTION_RETRY; 679 action = PMAP_ACTION_RETRY_RELOCK; 688 action = PMAP_ACTION_ASSERT; 695 action = PMAP_ACTION_IGNORE; 699 action [all...] |