Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 45) sorted by relevance

12

/xnu-11215/osfmk/kern/
H A Depoch_sync.c239 assert3p(sync, !=, NULL); in esync_alloc()
241 sync->es_id = id; in esync_alloc()
243 sync->es_policy = policy; in esync_alloc()
249 return sync; in esync_alloc()
256 esync_free(esync_t *sync) in esync_free() argument
292 ht_remove(ht, id, sync); in esync_put()
306 esync_free(sync); in esync_put()
352 return sync; in esync_get()
481 turnstile_complete((uintptr_t)sync, &sync->es_turnstile, NULL, tt); in esync_wait()
522 if (sync == NULL) { in esync_wake()
[all …]
H A Dipc_kobject.c1215 mach_port_mscount_t sync) in ipc_kobject_nsrequest_locked() argument
1221 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()
1246 mach_port_mscount_t sync, in ipc_kobject_nsrequest() argument
1258 kr = ipc_kobject_nsrequest_locked(port, sync); in ipc_kobject_nsrequest()
H A Dipc_kobject.h281 mach_port_mscount_t sync,
H A Dexclaves_upcalls.c163 .sync = ^(const enum xnuupcalls_fstag_s fstag,
374 .sync = ^(const uint32_t fstag,
H A Dlock_ticket.c249 hw_lck_ticket_destroy_internal(hw_lck_ticket_t *lck, bool sync in hw_lck_ticket_destroy_internal()
256 if (__improbable(sync && !tmp.lck_valid && !equal_tickets(tmp.nticket, tmp.cticket))) { in hw_lck_ticket_destroy_internal()
/xnu-11215/tests/recount/
H A Drecount_test_utils.c299 void *sync = NULL; in scene_start() local
302 sync = &scene->scn_spin_sync; in scene_start()
306 sync = &ws; in scene_start()
312 int error = pthread_create(&act->act_thread, NULL, action, sync); in scene_start()
/xnu-11215/osfmk/voucher/
H A Dipc_pthread_priority.c56 mach_voucher_attr_value_reference_t sync);
140 mach_voucher_attr_value_reference_t sync) in ipc_pthread_priority_release_value() argument
147 …alled for a persistent PTHPRIORITY value %x with sync value %d", ipc_pthread_priority_value, sync); in ipc_pthread_priority_release_value()
/xnu-11215/iokit/Families/IONVRAM/
H A DIONVRAMController.cpp46 IONVRAMController::sync(void) in sync() function in IONVRAMController
/xnu-11215/iokit/IOKit/nvram/
H A DIONVRAMController.h41 virtual void sync(void);
/xnu-11215/osfmk/bank/
H A Dbank.c83 …k_account_dealloc_with_sync(bank_account_t bank_account, mach_voucher_attr_value_reference_t sync);
136 mach_voucher_attr_value_reference_t sync);
233 mach_voucher_attr_value_reference_t sync) in bank_release_value() argument
259 if (bank_task->bt_made != sync) { in bank_release_value()
264 bank_task_made_release_num(bank_task, sync); in bank_release_value()
272 kr = bank_account_dealloc_with_sync(bank_account, sync); in bank_release_value()
1232 mach_voucher_attr_value_reference_t sync) in bank_account_dealloc_with_sync() argument
1249 if (bank_account->ba_made != sync) { in bank_account_dealloc_with_sync()
1257 bank_account_made_release_num(bank_account, sync); in bank_account_dealloc_with_sync()
/xnu-11215/osfmk/arm/
H A Dcpu_common.c320 uint32_t sync; member
330 if (os_atomic_dec(&data->sync, relaxed) == 0) { in cpu_broadcast_xcall_simple_cbk()
331 thread_wakeup((event_t)&data->sync); in cpu_broadcast_xcall_simple_cbk()
346 …return cpu_broadcast_xcall_internal(immediate ? SIGPxcallImm : SIGPxcall, &data.sync, self_xcall, … in cpu_xcall_simple()
/xnu-11215/bsd/skywalk/channel/
H A Dchannel_syscalls.c347 channel_sync_log1(uint64_t verb, const char *sync, struct proc *p, in channel_sync_log1() argument
354 sync, i, na->na_name, SK_KVA(na), SK_KVA(ch), in channel_sync_log1()
361 channel_sync_log2(uint64_t verb, const char *sync, struct proc *p, in channel_sync_log2() argument
367 sk_proc_name_address(p), sk_proc_pid(p), sync, i, na->na_name, in channel_sync_log2()
/xnu-11215/libsyscall/mach/
H A Dmach_port.c243 mach_port_mscount_t sync, in mach_port_request_notification() argument
251 sync, notify, notifyPoly, previous); in mach_port_request_notification()
255 sync, notify, notifyPoly, previous); in mach_port_request_notification()
/xnu-11215/iokit/IOKit/
H A DIONVRAM.h125 virtual IOReturn sync(void);
/xnu-11215/bsd/man/man2/
H A DMakefile235 sync.2 \
/xnu-11215/bsd/kern/
H A Dkern_shutdown.c219 sync((proc_t)NULL, (void *)NULL, (int *)NULL); in reboot_kernel()
249 sync((proc_t)NULL, (void *)NULL, (int *)NULL); in reboot_kernel()
/xnu-11215/iokit/Kernel/
H A DIOPlatformExpert.cpp1271 gIOOptionsEntry->sync(); in PEWriteNVRAMBooleanProperty()
1316 gIOOptionsEntry->sync(); in PEWriteNVRAMPropertyInternal()
1360 gIOOptionsEntry->sync(); in PERemoveNVRAMProperty()
1371 gIOOptionsEntry->sync(); in PESyncNVRAM()
1515 nvramOptionsEntry->sync(); in registerNVRAMController()
H A DIONVRAMCHRPHandler.cpp116 virtual IOReturn sync(void) APPLE_KEXT_OVERRIDE;
716 _nvramController->sync(); in serializeVariables()
882 IONVRAMCHRPHandler::sync(void) in sync() function in IONVRAMCHRPHandler
H A DIOHibernateIO.cpp915 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
919 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
1172 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1175 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1325 gIOOptionsEntry->sync(); in IOHibernateDone()
/xnu-11215/tests/
H A Dioperf.c100 sync(); in io_perf_test_io_init()
/xnu-11215/osfmk/mach/
H A Dmach_port.defs283 * The sync value specifies whether a notification should
299 * than or equal to the sync value and there are no
310 sync : mach_port_mscount_t;
633 * Returns sync ipc turnstile link status
H A Dmach_traps.h343 mach_port_mscount_t sync,
896 PAD_ARG_(mach_port_mscount_t, sync);
/xnu-11215/osfmk/ipc/
H A Dipc_voucher.c2398 mach_voucher_attr_value_reference_t sync);
2477 mach_voucher_attr_value_reference_t sync) in user_data_release_value() argument
2489 if (sync == elem->e_made) { in user_data_release_value()
2495 assert(sync < elem->e_made); in user_data_release_value()
H A Dmach_port.c1571 mach_port_mscount_t sync, in mach_port_request_notification() argument
1589 if (sync != 0) { in mach_port_request_notification()
1657 ipc_port_nsrequest(port, sync, notify, previousp); in mach_port_request_notification()
1672 if (sync) { in mach_port_request_notification()
H A Dipc_importance.c3381 mach_voucher_attr_value_reference_t sync);
3444 mach_voucher_attr_value_reference_t sync) in ipc_importance_release_value() argument
3450 assert(0 < sync); in ipc_importance_release_value()
3457 if (sync != elem->iie_made) { in ipc_importance_release_value()
3458 assert(sync < elem->iie_made); in ipc_importance_release_value()

12