| /xnu-11215/osfmk/kern/ |
| H A D | mk_timer.c | 55 int active; member 137 timer->active--; in mk_timer_port_destroy() 142 if (timer->active == 0) { in mk_timer_port_destroy() 163 assert(timer->active > 0); in mk_timer_expire() 165 while (timer->is_armed && timer->active == 1) { in mk_timer_expire() 186 timer->active -= 1; in mk_timer_expire() 188 if (timer->active == 0 && timer->is_dead) { in mk_timer_expire() 294 timer->active++; in mk_timer_arm_trap_internal() 298 timer->active++; in mk_timer_arm_trap_internal() 362 timer->active--; in mk_timer_cancel_trap()
|
| H A D | thread_act.c | 249 if (thread->active) { in thread_terminate_internal() 431 if (thread->active) { in thread_suspend() 459 if (thread->active) { in thread_resume() 492 if (thread->active) { in thread_depress_abort_from_user() 542 if (thread->active) { in thread_abort() 566 if (thread->active) { in thread_abort_safely() 638 if (thread->active) { in thread_get_state_internal() 733 if (thread->active) { in thread_set_state_internal() 884 if (thread->active) { in thread_state_initialize() 954 active = source->active; in thread_dup2() [all …]
|
| H A D | mach_node.c | 139 localnode->active = 1; in mach_node_table_init() 156 if (!MACH_NODE_VALID(node) || (!node->active) || (node->published)) { in mach_node_publish() 222 localnode->active = 1; in mach_node_port_changed() 234 if (np->active == 1) { in mach_node_port_changed() 345 node->active = 1; in mach_node_register() 728 mnode->active = 0; in mnl_terminate()
|
| H A D | test_lock.c | 372 uint32_t active; member 500 if (os_atomic_dec(&ctx->active, relaxed) == 0) { in smr_sleepable_stress_worker() 522 ctx.active = zpercpu_count() * 2; /* overcommit the system on purpose */ in smr_sleepable_stress_test() 535 for (uint32_t i = 1; i < ctx.active; i++) { in smr_sleepable_stress_test() 546 if (os_atomic_dec(&ctx.active, relaxed) == 0) { in smr_sleepable_stress_test()
|
| H A D | ext_paniclog.h | 99 uint8_t active; member
|
| H A D | bsd_kern.c | 243 if (!task->active) { in get_firstthread() 271 if (!task->active) { in get_signalact() 280 if (inc->active && in get_signalact() 321 if (!task->active) { in check_actforsig() 332 if (inc->active && in check_actforsig() 386 if (!t->active) { in get_task_map_reference()
|
| H A D | mach_node.h | 114 uint32_t active:1; // True if node is up and ready member
|
| H A D | exception.c | 220 if (!thread->active && !thread->inspection) { in exception_deliver() 391 if (!task->active && kr == KERN_INVALID_ARGUMENT) { in exception_deliver() 437 if (!task->active && kr == KERN_INVALID_ARGUMENT) { in exception_deliver()
|
| H A D | task.c | 1016 return task->active; in task_is_active() 2570 if (!task->active) { in task_mark_corpse() 2798 int active; in task_duplicate_map_and_threads() local 2898 active = thread->active; in task_duplicate_map_and_threads() 2899 if (!active) { in task_duplicate_map_and_threads() 3024 if (!task->active) { in task_terminate_internal() 3310 (task->halting || !task->active || !self->active)) { in task_start_halt_locked() 3688 if (!task->active) { in task_hold_and_wait() 3827 if (!task->active) { in task_release() 4540 if (!task->active) { in task_add_turnstile_watchports() [all …]
|
| H A D | ext_paniclog.c | 110 handle->active = 0; in ext_paniclog_handle_alloc_with_uuid() 154 if (!OSCompareAndSwap8(0, 1, &handle->active)) { in ext_paniclog_handle_set_active() 175 if (!OSCompareAndSwap8(1, 0, &handle->active)) { in ext_paniclog_handle_set_inactive()
|
| /xnu-11215/bsd/net/ |
| H A D | pf_ioctl.c | 703 if (active) { in pf_get_pool() 1156 rs->rules[rs_num].active.ptr = in pf_commit_rules() 1158 rs->rules[rs_num].active.ptr_array = in pf_commit_rules() 1160 rs->rules[rs_num].active.rsize = in pf_commit_rules() 1162 rs->rules[rs_num].active.rcount = in pf_commit_rules() 1169 rs->rules[rs_num].active.ticket = in pf_commit_rules() 2533 ruleset->rules[rs].active.ticket = in pf_ruleset_cleanup() 3195 ruleset->rules[rs_num].active.ptr); in pfioctl_ioc_rule() 3201 ruleset->rules[rs_num].active.ptr); in pfioctl_ioc_rule() 3220 ruleset->rules[rs_num].active.ptr, in pfioctl_ioc_rule() [all …]
|
| H A D | bridgestp.c | 228 if (bp->bp_hello_timer.active == 0) { in bstp_transmit() 497 if (bp->bp_tc_timer.active) { in bstp_pdu_flags() 1118 bp->bp_recent_backup_timer.active == 0 && in bstp_update_roles() 1575 if (bp->bp_tc_timer.active) { in bstp_set_timer_tc() 1616 if (bp2->bp_recent_root_timer.active) { in bstp_rerooted() 1818 if (bp->bp_edge_delay_timer.active == 0) { in bstp_set_autoedge() 2092 t->active = 1; in bstp_timer_start() 2100 t->active = 0; in bstp_timer_stop() 2108 t->active = 1; in bstp_timer_latch() 2114 if (t->active == 0 || t->latched) { in bstp_timer_expired() [all …]
|
| /xnu-11215/doc/primitives/ |
| H A D | sched_cond.md | 16 * `sched_cond_ack(sched_cond_t *cond)` - Acknowledge the wakeup on cond and set state to active 77 signalling that it is active and clearing the queued wakeup. Once done with its consumption it atte… 88 …that are issued while the thread is active are guaranteed to be observed because the consumer will…
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOTimerEventSource.cpp | 391 bool active = _thread_call_cancel((thread_call_t) calloutEntry); in cancelTimeout() local 393 if (active && reserved && (kPassive & flags)) { in cancelTimeout() 414 bool active = _thread_call_cancel((thread_call_t) calloutEntry); in disable() local 416 if (active && reserved && (kPassive & flags)) { in disable()
|
| H A D | IOPMinformee.cpp | 62 active = true; in initialize()
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | IOPMinformee.h | 51 bool active; // enable flag variable
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 59 - `-T` prints the task's active thread counters in additional tables. 62 …prints a table of per-CPU kind counts for each coalition, not including the currently-active tasks. 66 - `-T` prints the processor's active thread counters in an additional table. 98 … a state stored in the top two bits to determine whether the processor is currently idle or active.
|
| /xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/ |
| H A D | der_vm.h | 149 der_vm_context_t active; member
|
| /xnu-11215/tests/ |
| H A D | stackshot_idle_25570396.m | 2 * that idle and active threads can be appropriately identified. 220 * ignoring the worker threads that have become active. 238 "Making sure delta shot isn't ignoring newly active threads");
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 85 | 30 | `JETSAM_PRIORITY_BACKGROUND` | Docked apps on iOS. Some active daemons on other platforms. | 86 | 40 | `JETSAM_PRIORITY_MAIL` | Docked apps on watchOS. Some active daemons on other platforms. | 105 Unmanaged processes go into their active jetsam band when they take out transactions. 107 …en they're inactive (in band 0) vs. active (above band 0). The inactive memory limit, active memor…
|
| /xnu-11215/bsd/netinet/ |
| H A D | tcp_timer.c | 631 boolean_t active = FALSE; in tcp_garbage_collect() local 642 active = TRUE; in tcp_garbage_collect() 652 active = TRUE; in tcp_garbage_collect() 668 active = TRUE; in tcp_garbage_collect() 675 active = TRUE; in tcp_garbage_collect() 715 active = TRUE; in tcp_garbage_collect() 721 active = FALSE; in tcp_garbage_collect() 767 active = FALSE; in tcp_garbage_collect() 772 active = TRUE; in tcp_garbage_collect() 779 return active; in tcp_garbage_collect()
|
| /xnu-11215/osfmk/mach/ |
| H A D | task_policy_private.h | 111 integer_t active; member
|
| H A D | host_info.h | 338 boolean_t active);
|
| /xnu-11215/osfmk/i386/ |
| H A D | pmCPU.h | 79 void (*pmActiveRTThreads)(boolean_t active);
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOExtensiblePaniclog.iig | 79 * @brief This function is called to set the IOExtensiblePaniclog object active. 80 * @discussion When it is set active, it is picked up and added to the extensible paniclog
|