Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 199) sorted by relevance

12345678

/xnu-11215/osfmk/kern/
H A Diotrace.c65 int enable = mmiotrace_enabled; in iotrace_init() local
68 enable = 0; in iotrace_init()
71 (void) PE_parse_boot_argn("iotrace", &enable, sizeof(enable)); in iotrace_init()
72 if (enable != 0 && in iotrace_init()
78 mmiotrace_enabled = enable; in iotrace_init()
/xnu-11215/bsd/kern/
H A Dkern_ntptime.c262 boolean_t enable; in ntp_gettime() local
264 NTP_LOCK(enable); in ntp_gettime()
266 NTP_UNLOCK(enable); in ntp_gettime()
304 boolean_t enable; in ntp_adjtime() local
366 NTP_LOCK(enable); in ntp_adjtime()
676 boolean_t enable; in kern_adjtime() local
684 NTP_LOCK(enable); in kern_adjtime()
765 boolean_t enable; in ntp_loop_update_call() local
767 NTP_LOCK(enable); in ntp_loop_update_call()
807 boolean_t enable; in start_ntp_loop() local
[all …]
/xnu-11215/osfmk/vm/
H A Dvm_compressor_internal.h55 #define PAGE_REPLACEMENT_DISALLOWED(enable) (enable == TRUE ? lck_rw_lock_shared(&c_master_lock… argument
56 #define PAGE_REPLACEMENT_ALLOWED(enable) (enable == TRUE ? lck_rw_lock_exclusive(&c_master_l… argument
/xnu-11215/bsd/netinet6/
H A Dnd6_prproxy.c229 nd6_prproxy_prelist_setroute(boolean_t enable, in nd6_prproxy_prelist_setroute() argument
259 if (enable && pr->ndpr_allmulti_cnt == 0) { in nd6_prproxy_prelist_setroute()
272 if ((enable && prproxy) || (!enable && !prproxy)) { in nd6_prproxy_prelist_setroute()
290 rt_set_proxy(rt, enable); in nd6_prproxy_prelist_setroute()
316 if (enable && pr->ndpr_allmulti_cnt == 0) { in nd6_prproxy_prelist_setroute()
327 if ((enable && prproxy) || (!enable && !prproxy)) { in nd6_prproxy_prelist_setroute()
343 rt_set_proxy(rt, enable); in nd6_prproxy_prelist_setroute()
406 } else if (!enable) { in nd6_if_prproxy()
477 nd6_prproxy_prelist_setroute(enable, in nd6_if_prproxy()
705 boolean_t enable; in nd6_prproxy_prelist_update() local
[all …]
/xnu-11215/iokit/DriverKit/
H A DIODispatchSource.iig10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
59 bool enable,
66 SetEnable(bool enable) LOCAL;
H A DIOServiceNotificationDispatchSource.iig10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
74 * @brief Control the enable state of the notification.
75 * @param enable Pass true to enable the source or false to disable.
82 bool enable,
H A DIOServiceStateNotificationDispatchSource.iig10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
62 * @brief Control the enable state of the notification.
63 * @param enable Pass true to enable the source or false to disable.
70 bool enable,
H A DIOInterruptDispatchSource.iig10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
115 * @brief Control the enable state of the interrupt source.
116 * @param enable Pass true to enable the source or false to disable.
123 bool enable,
/xnu-11215/libsyscall/wrappers/
H A D_libkernel_init.c129 int enable = 1; in __libkernel_init_late() local
131 NULL, NULL, &enable, sizeof(enable)); in __libkernel_init_late()
/xnu-11215/tests/
H A Daqm_qdelay_utun.c79 const int enable = 1; in create_tun() local
81 &enable, sizeof(enable)), NULL); in create_tun()
84 &enable, sizeof(enable)), EINVAL, NULL); in create_tun()
H A Dnet_bond.c130 fake_set_bsd_mode(bool enable) in fake_set_bsd_mode() argument
132 sysctl_set_integer(FAKE_SYSCTL_BSD_MODE, enable ? 1 : 0, in fake_set_bsd_mode()
144 fake_set_vlan_tagging(bool enable) in fake_set_vlan_tagging() argument
146 sysctl_set_integer(FAKE_SYSCTL_VLAN_TAGGING, enable ? 1 : 0, in fake_set_vlan_tagging()
/xnu-11215/iokit/Exclaves/
H A DExclaves.cpp373 res = ref->service->exclaveEnableInterrupt(ref, args->index, args->data.enable_args.enable); in IOExclaveInterruptUpcallHandler()
414 bool enable = args->data.enable_args.enable; in IOExclaveTimerUpcallHandler() local
415 res = ref->service->exclaveEnableTimer(ref, timer_id, enable); in IOExclaveTimerUpcallHandler()
756 IOService::exclaveEnableInterrupt(IOExclaveProxyState * pRef, int index, bool enable) in exclaveEnableInterrupt() argument
775 if (enable) { in exclaveEnableInterrupt()
776 ies->enable(); in exclaveEnableInterrupt()
783 EXLOG("%s: IRQ %s success!\n", __func__, enable ? "enable" : "disable"); in exclaveEnableInterrupt()
943 IOService::exclaveEnableTimer(IOExclaveProxyState * pRef, uint32_t timer_id, bool enable) in exclaveEnableTimer() argument
962 if (enable) { in exclaveEnableTimer()
963 tes->enable(); in exclaveEnableTimer()
[all …]
H A DExclaves.h69 bool enable; member
87 bool enable; member
/xnu-11215/bsd/vfs/
H A Dvfs_io_compression_stats.c180 int enable = 0; variable
188 error = SYSCTL_IN(req, &enable, sizeof(int));
193 if (!((enable == 1) || (enable == 0))) {
199 if ((io_compression_stats_enable == 0) && (enable == 1)) {
203 io_compression_stats_enable = enable;
208 } else if ((io_compression_stats_enable == 1) && (enable == 0)) {
/xnu-11215/osfmk/i386/
H A Dmp_native.c83 NMIPI_enable(boolean_t enable) in NMIPI_enable() argument
85 NMIPIs_enabled = enable; in NMIPI_enable()
H A DDiagnostics.c304 boolean_t enable = TRUE; in diagCall64() local
311 mp_cpus_call(CPUMASK_ALL, ASYNC, cpu_pmc_control, &enable); in diagCall64()
405 boolean_t enable = *(boolean_t *)enablep; in cpu_pmc_control() local
408 if (enable) { in cpu_pmc_control()
417 cdp->cpu_fixed_pmcs_enabled = enable; in cpu_pmc_control()
/xnu-11215/iokit/Kernel/
H A DIOInterruptEventSource.cpp252 IOInterruptEventSource::enable() in enable() function in IOInterruptEventSource
388 enable(); in checkForWork()
440 enable(); in checkForWork()
526 IOInterruptEventSource::enablePrimaryInterruptTimestamp(bool enable) in enablePrimaryInterruptTimestamp() argument
529 reserved->statistics->enablePrimaryTimestamp = enable; in enablePrimaryInterruptTimestamp()
H A DIOServicePrivate.h116 virtual void enable( bool was ) APPLE_KEXT_OVERRIDE;
138 virtual void enable( bool was ) APPLE_KEXT_OVERRIDE;
153 virtual void enable( bool was ) APPLE_KEXT_OVERRIDE;
/xnu-11215/bsd/sys/
H A Dmonotonic.h77 bool enable; member
150 void(*const mtd_enable)(bool enable);
/xnu-11215/iokit/IOKit/
H A DIOInterruptEventSource.h183 virtual void enable() APPLE_KEXT_OVERRIDE;
240 void enablePrimaryInterruptTimestamp(bool enable);
/xnu-11215/libsyscall/mach/
H A Dprocessor.defs10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
H A Drestartable.defs10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
H A Dprocessor_set.defs10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
H A Dexc.defs10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any
H A Dmach_vm.defs10 * may not be used to create, or enable the creation or redistribution of,
12 * circumvent, violate, or enable the circumvention or violation of, any

12345678