Home
last modified time | relevance | path

Searched refs:TRUE (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/xnu-8020.121.3/pexpert/gen/
H A Dbootargs.c87 arg_boolean = TRUE; in PE_parse_boot_argn_internal()
112 arg_found = TRUE; in PE_parse_boot_argn_internal()
114 arg_found = TRUE; in PE_parse_boot_argn_internal()
130 arg_found = TRUE; in PE_parse_boot_argn_internal()
132 arg_found = TRUE; in PE_parse_boot_argn_internal()
140 arg_found = TRUE; in PE_parse_boot_argn_internal()
142 arg_found = TRUE; in PE_parse_boot_argn_internal()
148 arg_found = TRUE; in PE_parse_boot_argn_internal()
150 arg_found = TRUE; in PE_parse_boot_argn_internal()
155 arg_found = TRUE; in PE_parse_boot_argn_internal()
[all …]
/xnu-8020.121.3/osfmk/vm/
H A Dvm_compressor_backing_store.c44 boolean_t compressor_store_stop_compaction = TRUE;
145 #define VM_SWAP_SHOULD_DEFRAGMENT() (((vm_swap_force_defrag == TRUE) || (c_swappedout_sparse_co…
156 #define VM_SWAP_SHOULD_DEFRAGMENT() (((vm_swap_force_defrag == TRUE) || (c_swappedout_sparse_co…
164 #define VM_SWAP_SHOULD_RECLAIM() (((vm_swap_force_reclaim == TRUE) || ((vm_swapfile_total_se…
266 swap_crypt_initialized = TRUE; in swap_crypt_initialize()
335 swap_crypt_xts_tested = TRUE; in swap_crypt_initialize()
485 c_compressed_record_init_done = TRUE; in c_compressed_record_init()
555 vm_swappin_enabled = TRUE; in vm_compaction_swapper_do_init()
580 vm_swap_force_defrag = TRUE; in vm_swap_consider_defragmenting()
584 vm_swap_force_reclaim = TRUE; in vm_swap_consider_defragmenting()
[all …]
H A Dvm_compressor.c73 bool freezer_incore_cseg_acct = TRUE; /* Only count incore compressed memory for jetsams. */
78 boolean_t popcount_c_segs = TRUE;
118 boolean_t validate_c_segs = TRUE;
151 boolean_t checksum_c_segs = TRUE;
438 return TRUE; in vm_compressor_low_on_space()
443 return TRUE; in vm_compressor_low_on_space()
466 return TRUE; in vm_compressor_out_of_space()
471 return TRUE; in vm_compressor_out_of_space()
542 PAGE_REPLACEMENT_ALLOWED(TRUE); in vm_decompressor_lock()
544 decompressions_blocked = TRUE; in vm_decompressor_lock()
[all …]
H A Dvm_pageout.c448 vm_page_unwire(m, TRUE); /* reactivates */ in vm_pageout_object_terminate()
495 vm_page_unwire(m, TRUE); /* reactivates */ in vm_pageout_object_terminate()
550 m->vmp_cleaning = TRUE; in vm_pageclean_setup()
561 new_m->vmp_private = TRUE; in vm_pageclean_setup()
562 new_m->vmp_free_when_done = TRUE; in vm_pageclean_setup()
566 vm_page_wire(new_m, VM_KERN_MEMORY_NONE, TRUE); in vm_pageclean_setup()
722 if (object->internal == TRUE) { in vm_pageout_cluster()
725 m->vmp_busy = TRUE; in vm_pageout_cluster()
735 m->vmp_laundry = TRUE; in vm_pageout_cluster()
741 if (q->pgo_idle == TRUE) { in vm_pageout_cluster()
[all …]
H A Dvm_object.c111 boolean_t vm_object_collapse_compressor_allowed = TRUE;
298 .internal = TRUE,
301 .alive = TRUE,
551 kernel_object->no_tag_update = TRUE; in vm_object_bootstrap()
862 p->vmp_reference = TRUE; in vm_object_page_grab()
872 p->vmp_reference = TRUE; in vm_object_page_grab()
883 if ((p->vmp_q_state != VM_PAGE_ON_ACTIVE_Q) && p->vmp_reference == TRUE) { in vm_object_page_grab()
905 vm_page_free_prepare_object(p, TRUE); in vm_object_page_grab()
1133 vm_page_enqueue_inactive(p, TRUE); in vm_object_cache_evict()
1158 vm_page_free_list(local_free_q, TRUE); in vm_object_cache_evict()
[all …]
H A Dvm_resident.c152 boolean_t vm_page_free_verify = TRUE;
495 boolean_t vm_page_deactivate_hint = TRUE;
1155 vm_page_buckets_check_ready = TRUE; in vm_page_bootstrap()
1331 return pmap_steal_memory_internal(size, TRUE); in pmap_steal_freeable_memory()
1421 fill = TRUE; in pmap_startup()
1429 fill = TRUE; in pmap_startup()
1725 m = vm_page_grab_fictitious_common(phys_page, TRUE); in vm_page_create()
1747 m = vm_page_grab_fictitious_common(phys_page, TRUE); in vm_page_create_retired()
1794 vm_page_insert_internal(mem, object, offset, VM_KERN_MEMORY_NONE, FALSE, TRUE, FALSE, FALSE, NULL); in vm_page_insert()
1804 vm_page_insert_internal(mem, object, offset, tag, FALSE, TRUE, FALSE, FALSE, NULL); in vm_page_insert_wired()
[all …]
H A Dvm_fault.c276 boolean_t need_default_val = TRUE; in vm_fault_init()
383 boolean_t vm_page_deactivate_behind = TRUE;
660 return TRUE; in vm_fault_deactivate_behind()
793 if (page_throttle == TRUE) { in vm_fault_check()
847 vm_page_queues_remove(m, TRUE); in vm_fault_enqueue_throttled_locked()
885 m->vmp_pmapped = TRUE; in vm_fault_zero_page()
887 if (no_zero_fill == TRUE) { in vm_fault_zero_page()
1101 while (TRUE) { in vm_fault_page()
1159 if (caller_lookup == TRUE) { in vm_fault_page()
1218 m->vmp_busy = TRUE; in vm_fault_page()
[all …]
H A Ddevice_vm.c168 object->true_share = TRUE; in device_pager_setup()
276 vm_object->private = TRUE; in device_pager_init()
278 vm_object->phys_contiguous = TRUE; in device_pager_init()
281 vm_object->nophyscache = TRUE; in device_pager_init()
292 attributes.temporary = TRUE; in device_pager_init()
495 device_object->is_mapped = TRUE; in device_pager_map()
516 drop_ref = TRUE; in device_pager_last_unmap()
561 return TRUE; in is_device_pager_ops()
/xnu-8020.121.3/tools/tests/superpages/
H A Dtestsp.c56 return TRUE; in check_kr()
66 return TRUE; in check_addr0()
76 return TRUE; in check_addr()
86 return TRUE; in check_align()
108 return TRUE; in check_r()
123 return TRUE; in check_nr()
141 return TRUE; in check_w()
156 return TRUE; in check_nw()
175 return TRUE; in check_rw()
210 return TRUE; in test_allocate()
[all …]
/xnu-8020.121.3/bsd/nfs/
H A Dnfs_srvcache.c112 TRUE,
117 TRUE,
118 TRUE,
119 TRUE,
120 TRUE,
121 TRUE,
122 TRUE,
123 TRUE,
124 TRUE,
125 TRUE,
[all …]
/xnu-8020.121.3/bsd/kern/
H A Dkern_memorystatus.c139 return TRUE; in is_reason_thrashing()
150 return TRUE; in is_reason_zone_map_exhaustion()
203 is_fatal = TRUE; \
215 is_fatal = TRUE; \
474 memorystatus_invalidate_idle_demotion_locked(p, TRUE);
494 memorystatus_invalidate_idle_demotion_locked(p, TRUE);
644 if (proc_jetsam_state_is_active_locked(p) == TRUE) { in memorystatus_raise_memlimit()
645 use_active_limit = TRUE; in memorystatus_raise_memlimit()
958 traverse_all_buckets = TRUE; in memorystatus_debug_dump_bucket_locked()
1069 p = memorystatus_get_first_proc_locked(&b, TRUE);
[all …]
H A Dkern_memorystatus_notify.c553 found_knote = TRUE; in memorystatus_warn_process()
599 found_knote = TRUE; in memorystatus_warn_process()
646 found_knote = TRUE; in memorystatus_warn_process()
650 found_knote = TRUE; in memorystatus_warn_process()
654 found_knote = TRUE; in memorystatus_warn_process()
663 found_knote = TRUE; in memorystatus_warn_process()
675 ret = TRUE; in memorystatus_warn_process()
694 set_privilege = TRUE; in memorystatus_low_mem_privileged_listener()
748 eligible = TRUE; in memorystatus_bg_pressure_eligible()
777 …s_knote_registered_modify_task_pressure_bits(kn, NOTE_MEMORYSTATUS_LOW_SWAP, NULL, 0, 0) == TRUE) { in memorystatus_send_low_swap_note()
[all …]
H A Dmach_loader.c352 const int fourk_binary_compatibility_unsafe = TRUE;
449 boolean_t enforce_hard_pagezero = TRUE; in load_machfile()
731 return TRUE; in pie_required()
735 return TRUE; in pie_required()
836 header->cpusubtype & CPU_SUBTYPE_MASK, TRUE)) { in parse_machfile()
852 result->needs_dynlinker = TRUE; in parse_machfile()
866 is_dyld = TRUE; in parse_machfile()
928 slide_realign = TRUE; in parse_machfile()
960 result->has_pagezero = TRUE; in parse_machfile()
1083 dyld_no_load_addr = TRUE; in parse_machfile()
[all …]
/xnu-8020.121.3/osfmk/kdp/
H A Dkdp.c235 kdp.is_conn = TRUE; in kdp_connect()
252 return TRUE; in kdp_connect()
301 return TRUE; in kdp_disconnect()
313 kdp.is_conn = TRUE; in kdp_reattach()
317 return TRUE; in kdp_reattach()
345 return TRUE; in kdp_hostinfo()
375 return TRUE; in kdp_kernelversion()
398 kdp.is_halted = TRUE; in kdp_suspend()
403 return TRUE; in kdp_suspend()
431 return TRUE; in kdp_resumecpus()
[all …]
/xnu-8020.121.3/tests/vm/
H A Dvm_test_cow_before_zf_read.c52 TRUE, /* copy */ in test_cow_before_zf_read()
97 test_cow_before_zf_read(FALSE, TRUE);
98 test_cow_before_zf_read(TRUE, FALSE);
99 test_cow_before_zf_read(TRUE, TRUE);
/xnu-8020.121.3/osfmk/tests/
H A Dtest_thread_call.c126 T_ASSERT_EQ_INT(canceled, TRUE, "thread_call_cancel should succeed"); in test_once_thread_call()
135 T_ASSERT_EQ_INT(pending, TRUE, "call should be pending"); in test_once_thread_call()
140 T_ASSERT_EQ_INT(canceled, TRUE, "thread_call_cancel_wait should succeed"); in test_once_thread_call()
146 T_ASSERT_EQ_INT(freed, TRUE, "thread_call_free should succeed"); in test_once_thread_call()
184 T_ASSERT_EQ_INT(canceled, TRUE, "thread_call_cancel should succeed"); in test_signal_thread_call()
199 T_ASSERT_EQ_INT(freed, TRUE, "thread_call_free should succeed"); in test_signal_thread_call()
/xnu-8020.121.3/osfmk/i386/
H A Dfpu.c377 fps->fx.fp_valid = TRUE; in configure_mxcsr_capability_mask()
438 static boolean_t is_avx512_enabled = TRUE; in init_fpu()
538 return TRUE; in fpu_allzeroes()
671 if (ifps && ((ifps->fp_valid != FALSE) && (ifps->fp_valid != TRUE))) { in fpu_switch_context()
687 ifps->fp_valid = TRUE; in fpu_switch_context()
698 …assertf(fpu_YMM_capable ? (xgetbv(XCR0) == xstate_xmask[cdp->cpu_xstate]) : TRUE, "XCR0 mismatch: … in fpu_switch_context()
811 fresh_state = TRUE; in fpu_set_fxstate()
865 if (fpu_allzeroes((uint64_t *)(void *)iavx->x_YMM_Hi128, 8 * sizeof(_STRUCT_XMM_REG)) == TRUE) { in fpu_set_fxstate()
870 … if (fpu_allzeroes((uint64_t *)(void *)iavx->x_YMM_Hi128, 16 * sizeof(_STRUCT_XMM_REG)) == TRUE) { in fpu_set_fxstate()
902 if (fpu_allzeroes((uint64_t *)(void *)iavx->x_Opmask, 8 * sizeof(_STRUCT_OPMASK_REG)) == TRUE) { in fpu_set_fxstate()
[all …]
H A Dmp.c127 boolean_t mp_interrupt_watchdog_enabled = TRUE;
242 smp_initialized = TRUE; in smp_init()
532 mp_kdp_wait(TRUE, FALSE); in cpu_signal_handler()
574 panic_i386_backtrace(stackptr, 64, &pstr[0], TRUE, current_cpu_datap()->cpu_int_state); in NMI_pte_corruption_callback()
613 panic_i386_backtrace(stackptr, 64, &pstr[0], TRUE, regs); in NMIInterruptHandler()
618 panic_i386_backtrace(stackptr, 48, &pstr[0], TRUE, regs); in NMIInterruptHandler()
623 panic_i386_backtrace(stackptr, 64, &pstr[0], TRUE, regs); in NMIInterruptHandler()
628 panic_i386_backtrace(stackptr, 64, &pstr[0], TRUE, regs); in NMIInterruptHandler()
635 current_cpu_datap()->cpu_NMI_acknowledged = TRUE; in NMIInterruptHandler()
638 mp_kdp_wait(FALSE, TRUE); in NMIInterruptHandler()
[all …]
H A Di386_timer.c106 mytimer->has_expired = TRUE; in timer_intr()
274 mytimer->has_expired = TRUE; in timer_queue_expire_local()
296 mytimer->has_expired = TRUE; in timer_queue_expire_rescan()
297 mytimer->deadline = timer_queue_expire_with_options(&mytimer->queue, abstime, TRUE); in timer_queue_expire_rescan()
317 return TRUE; in timer_resort_threshold()
448 .latency_tier_rate_limited = {FALSE, FALSE, FALSE, FALSE, TRUE, TRUE},
/xnu-8020.121.3/bsd/net/
H A Dnecp.c1159 session->dirty = TRUE; in necp_session_set_session_priority()
1163 policy->pending_update = TRUE; in necp_session_set_session_priority()
1176 session->proc_locked = TRUE; in necp_session_lock_to_process()
1705 *updated = TRUE; in necp_buffer_write_tlv_if_different()
1709 *updated = TRUE; in necp_buffer_write_tlv_if_different()
1714 *updated = TRUE; in necp_buffer_write_tlv_if_different()
1798 while (TRUE) { in necp_buffer_find_tlv()
2023 return TRUE; in necp_policy_result_requires_route_rules()
2049 validated = TRUE; in necp_policy_result_is_valid()
2055 validated = TRUE; in necp_policy_result_is_valid()
[all …]
/xnu-8020.121.3/osfmk/kern/
H A Dgzalloc.c111 boolean_t gzalloc_uf_mode = FALSE, gzalloc_consistency_checks = TRUE, gzalloc_dfree_check = TRUE;
239 gzalloc_mode = TRUE; in gzalloc_configure()
245 gzalloc_mode = TRUE; in gzalloc_configure()
250 gzalloc_mode = TRUE; in gzalloc_configure()
258 gzalloc_mode = TRUE; in gzalloc_configure()
268 gzalloc_uf_mode = TRUE; in gzalloc_configure()
283 gzalloc_mode = TRUE; in gzalloc_configure()
291 gzalloc_mode = TRUE; in gzalloc_configure()
574 if (gzalloc_uf_mode == TRUE) { in gzalloc_element_size()
614 return TRUE; in gzalloc_element_size()
H A Dprintf.c237 boolean_t doprnt_hide_pointers = TRUE;
294 while (TRUE) { in __doprnt()
297 altfmt = TRUE; in __doprnt()
299 ladjust = TRUE; in __doprnt()
411 any = TRUE; in __doprnt()
429 any = TRUE; in __doprnt()
553 altfmt = TRUE; in __doprnt()
772 __doprnt(fmt, *argp, dummy_putc, putc, radix, TRUE); in _doprnt_log()
858 console_printbuf_state_init(&info_data, TRUE, TRUE); in vprintf_internal()
859 __doprnt(fmt, ap, console_printbuf_putc, &info_data, 16, TRUE); in vprintf_internal()
H A Dhibernate.c61 page_list = hibernate_page_list_allocate(TRUE); in hibernate_alloc_page_lists()
109 need_to_unlock_decompressor = TRUE; in hibernate_setup()
123 if (retval != KERN_SUCCESS && need_to_unlock_decompressor == TRUE) { in hibernate_setup()
148 if (need_to_unlock_decompressor == TRUE) { in hibernate_teardown()
/xnu-8020.121.3/bsd/dev/i386/
H A Ddtrace_subr_x86.c62 boolean_t user_mode = TRUE; in dtrace_user_probe()
64 if (is_saved_state64(regs) == TRUE) { in dtrace_user_probe()
68 user_mode = TRUE; // By default, because xnu is 32 bit only in dtrace_user_probe()
72 if (regs32->cs & 0x03) user_mode = TRUE; in dtrace_user_probe()
/xnu-8020.121.3/libkern/kxld/
H A Dkxld_copyright.c113 return TRUE; in is_space()
161 result = TRUE; in token_is_year()
197 result = TRUE; in token_is_yearRange()
246 result = TRUE; in dates_are_valid()
293 result = TRUE; in kxld_validate_copyright_string()

12345678910>>...21