Searched refs:sync (Results 1 - 21 of 21) sorted by relevance

/xnu-2422.115.4/iokit/Families/IONVRAM/
H A DIONVRAMController.cpp55 void IONVRAMController::sync(void) function in class:IONVRAMController
/xnu-2422.115.4/iokit/IOKit/nvram/
H A DIONVRAMController.h41 virtual void sync(void);
/xnu-2422.115.4/osfmk/mach/
H A Dsync.defs33 * File: mach/sync.defs
44 sync 617000;
H A Dmach_port.defs278 * The sync value specifies whether a notification should
294 * than or equal to the sync value and there are no
305 sync : mach_port_mscount_t;
/xnu-2422.115.4/bsd/man/man2/
H A DMakefile203 sync.2 \
/xnu-2422.115.4/osfmk/default_pager/
H A Ddp_memory_object.c267 /* a cluster basis into fresh (as of sync time) cluster locations */
332 mach_port_mscount_t sync;
345 sync = 0;
349 sync = 1;
355 ipc_port_nsrequest(mem_obj, sync, mem_obj, &previous);
499 /* failure during its sync phase. In the mean time ... */
/xnu-2422.115.4/iokit/IOKit/
H A DIONVRAM.h145 virtual void sync(void);
/xnu-2422.115.4/bsd/kern/
H A Dkern_shutdown.c68 #include <sys/sysproto.h> /* abused for sync() */
134 sync(p, (void *)NULL, (int *)NULL);
143 * Release vnodes held by texts before sync.
156 sync(p, (void *)NULL, (int *)NULL);
160 * sync'ed up, suspend init
H A Dkdebug.c450 * deallocates without a final sync flush.
3202 sync(current_proc(), (void *)NULL, (int *)NULL);
/xnu-2422.115.4/libsyscall/mach/
H A Dmach_port.c235 mach_port_mscount_t sync,
243 sync, notify, notifyPoly, previous);
231 mach_port_request_notification( ipc_space_t task, mach_port_name_t name, mach_msg_id_t msgid, mach_port_mscount_t sync, mach_port_t notify, mach_msg_type_name_t notifyPoly, mach_port_t *previous) argument
/xnu-2422.115.4/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl147 select sem_wait semop sendmsg sendto sigsuspend stat symlink sync
/xnu-2422.115.4/osfmk/ipc/
H A Dipc_port.h401 mach_port_mscount_t sync,
H A Dmach_port.c1454 * senders, sync is less than or equal to the
1461 * dead name, sync is non-zero, and a send-once
1479 * sync is zero or notify is IP_NULL.
1489 mach_port_mscount_t sync,
1529 if (sync != 0)
1558 ipc_port_nsrequest(port, sync, notify, previousp);
1569 kr = ipc_right_request_alloc(space, name, sync != 0,
1586 kr = ipc_right_request_alloc(space, name, sync != 0,
1485 mach_port_request_notification( ipc_space_t space, mach_port_name_t name, mach_msg_id_t id, mach_port_mscount_t sync, ipc_port_t notify, ipc_port_t *previousp) argument
H A Dipc_port.c514 mach_port_mscount_t sync,
526 if ((port->ip_srights == 0) && (sync <= mscount) &&
512 ipc_port_nsrequest( ipc_port_t port, mach_port_mscount_t sync, ipc_port_t notify, ipc_port_t *previousp) argument
/xnu-2422.115.4/iokit/Kernel/
H A DIOPlatformExpert.cpp899 gIOOptionsEntry->sync();
926 gIOOptionsEntry->sync();
1227 if (dtNVRAM) dtNVRAM->sync();
H A DIONVRAM.cpp248 _freshInterval = TRUE; // we will allow sync() even before the first 15 minutes have passed.
253 void IODTNVRAM::sync(void)
257 // Don't try to sync OF Variables if the system has already paniced.
264 _nvramController->sync();
477 result = true; // We are not going to gaurantee sync, this is best effort
480 sync();
635 /* The call to sync() forces the NVRAM controller to write the panic info
638 sync();
H A DIOService.cpp591 bool sync; local
596 sync = (options & kIOServiceSynchronous)
601 sync = false;
610 // if( sync) LOG("OSKernelStackRemaining = %08x @ %s\n",
617 if( sync)
633 } else if( !sync || (kIOServiceAsynchronous & options)) {
H A DIOHibernateIO.cpp1768 gIOOptionsEntry->sync();
1907 if (kIOHibernateStateWakingFromHibernate != gIOHibernateState) gIOOptionsEntry->sync();
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c2190 * Read-ahead multiple disk blocks. The first is sync, the rest async.
2199 * Read-ahead multiple disk blocks. The first is sync, the rest async.
2214 int sync, wasdelayed; local
2224 sync = !ISSET(bp->b_flags, B_ASYNC);
2231 if (!sync) {
2254 if (sync) {
4003 * Can be enabled to print out on every ``sync'' by setting "syncprt"
H A Dvfs_syscalls.c2096 sync(__unused proc_t p, __unused struct sync_args *uap, __unused int32_t *retval) function
8671 /* issue the sync for this volume */
9012 * An in-kernel sync for power management to call.
9024 error = sync(current_proc(), &data, &retval[0]);
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dtests.c1858 * Test mknod, sync system calls.
1895 /* not really sure what to do with sync call test */
1896 sync( );

Completed in 249 milliseconds