Searched refs:timeout (Results 1 - 25 of 69) sorted by relevance

123

/darwin-on-arm/xnu/iokit/bsddev/
H A DIOKitBSDInit.h39 IOServiceWaitForMatchingResource( const char * property, uint64_t timeout );
H A DIOKitBSDInit.cpp72 IOServiceWaitForMatchingResource( const char * property, uint64_t timeout )
83 match = IOService::waitForMatchingService( dict, timeout );
642 kern_return_t IOBSDGetPlatformUUID( uuid_t uuid, mach_timespec_t timeout )
647 resources = IOService::waitForService( IOService::resourceMatching( kIOPlatformUUIDKey ), ( timeout.tv_sec || timeout.tv_nsec ) ? &timeout : 0 );
687 dev_t IOBSDGetMediaWithUUID( const char *uuid_cstring, char *bsd_name, int bsd_name_len, int timeout) argument
703 mach_timespec_t tv = { timeout, 0 }; // wait up to "timeout" seconds for the device
789 mach_timespec_t tv = { 5, 0 }; // wait up to "timeout" second
[all...]
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_en_debugger.h35 unsigned int timeout);
/darwin-on-arm/xnu/libsyscall/wrappers/
H A Dselect-base.c54 timeout
60 struct timeval tb, *timeout; local
68 timeout = &tb;
70 timeout = intimeout;
78 return __select(nfds, readfds, writefds, exceptfds, timeout);
80 return __select_nocancel(nfds, readfds, writefds, exceptfds, timeout);
/darwin-on-arm/xnu/libsyscall/mach/
H A Dmach_msg.c78 mach_msg(msg, option, send_size, rcv_size, rcv_name, timeout, notify)
84 mach_msg_timeout_t timeout;
103 timeout, notify);
112 timeout, notify);
119 timeout, notify);
141 mach_msg_overwrite(msg, option, send_size, rcv_limit, rcv_name, timeout,
148 mach_msg_timeout_t timeout;
169 timeout, notify, rcv_msg, rcv_scatter_size);
178 timeout, notify, rcv_msg, rcv_scatter_size);
185 timeout, notif
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_brt.c138 timeout(ddp_brt_sweep_locked, (long)0, BRT_SWEEP_INT * SYS_HZ);
192 timeout(ddp_brt_sweep_locked, (long)0, BRT_SWEEP_INT * SYS_HZ);
H A Daurp_misc.c118 timeout(AURPupdate, arg, AURP_UpdateRate*10*HZ);
146 timeout(AURPupdate, 0, AURP_UpdateRate*10*HZ);
H A Daurp_tickle.c111 timeout(AURPsndTickle, state, AURP_TickleRetryInterval*HZ);
H A Daurp_open.c128 timeout(AURPsndOpenReq_locked, state, AURP_RetryInterval*HZ);
253 timeout(AURPsndTickle, state, AURP_TickleRetryInterval*HZ);
H A Dddp_rtmp.c143 timeout(ddp_age_router, (caddr_t) router, 50*SYS_HZ);
164 timeout(ddp_age_router, (caddr_t) unused, 50*SYS_HZ);
174 * This is the timeout function that is called after 50 seconds,
H A Datp_read.c98 timeout(atp_treq_event, gref, 10);
374 timeout(atp_treq_event, gref, 10);
496 timeout(atp_x_done_locked, trp, 10);
H A Dadsp_Timer.c211 timeout(TimerTick_funnel, (caddr_t)0, HZ/6);
H A Daurp_ri.c144 timeout(AURPsndRIReq_locked, state, AURP_RetryInterval*HZ);
179 timeout(AURPsndRIRsp_locked, state, AURP_RetryInterval*HZ);
207 timeout(AURPsndRIRsp_locked, state, AURP_RetryInterval*HZ);
265 timeout(AURPsndRIUpd_locked, state, AURP_RetryInterval*HZ);
H A Dsysglue.h210 #undef timeout macro
/darwin-on-arm/xnu/iokit/IOKit/
H A DIODMAController.h53 virtual IOReturn stopDMACommand(UInt32 dmaIndex, bool flush = false, uint64_t timeout = UINT64_MAX) = 0;
H A DIODMAEventSource.h61 virtual IOReturn stopDMACommand(bool flush = false, uint64_t timeout = UINT64_MAX);
H A DIOTimerEventSource.h53 @discussion An event source that implements a simple timer. A timeout handler is called once the timeout period expires. This timeout handler will be called by the work-loop that this event source is attached to.
55 Usually a timer event source will be used to implement a timeout. In general when a driver makes a request it will need to setup a call to keep track of when the I/O doesn't complete. This class is designed to make that somewhat easier.
83 /*! @function timeout
84 @abstract Function that routes the call from the OS' timeout mechanism into a work-loop context.
85 @discussion timeout will normally not be called nor overridden by a subclass. If the event source is enabled then close the work-loop's gate and call the action routine.
87 static void timeout(void *self);
90 @abstract Set's timeout as the function of calloutEntry.
91 @discussion IOTimerEventSource is based upon the kern/thread_call.h APIs currently. This function allocates the calloutEntry member variable by using thread_call_allocate(timeout, thi
[all...]
H A DIOService.h604 IOReturn waitQuiet(mach_timespec_t * timeout)
610 @param timeout The maximum time to wait in nanoseconds. Default is to wait forever.
613 IOReturn waitQuiet(uint64_t timeout = UINT64_MAX);
707 @param timeout The maximum time to wait.
711 mach_timespec_t * timeout = 0);
717 @param timeout The maximum time to wait in nanoseconds. Default is to wait forever.
721 uint64_t timeout = UINT64_MAX);
1299 mach_timespec_t * timeout = 0 );
1301 IOReturn waitForState( UInt32 mask, UInt32 value, uint64_t timeout );
1478 @discussion Implement <code>setAggressiveness</code> to receive a notification when an "aggressiveness Aggressiveness factors are a loose set of power management variables that contain values for system sleep timeout, displa
[all...]
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_timer_tests.c19 struct timespec timeout; local
23 timeout.tv_sec = (expected / (1000 * 1000)) + 1;
24 timeout.tv_nsec = (expected % (1000 * 1000)) * 1000;
28 ret = kevent64(kq, kev, 1, kev, 1, 0, &timeout);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODMAEventSource.cpp106 IOReturn IODMAEventSource::stopDMACommand(bool flush, uint64_t timeout) argument
110 return dmaController->stopDMACommand(dmaIndex, flush, timeout);
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched.h60 /* macro for timeout/untimeout */
61 /* use old-style timeout/untimeout */
75 timeout((f), (a), (t)); \
/darwin-on-arm/xnu/bsd/sys/
H A Devent.h280 * specifying the timeout interval in milliseconds.
287 #define NOTE_ABSOLUTE 0x00000008 /* absolute timeout */
297 #define NOTE_TIMEOUT 0x00000008 /* timeout: rexmt, keep-alive or persist */
439 const struct timespec *timeout);
443 const struct timespec *timeout);
H A Dsystm.h194 void timeout(void (*)(void *), void *arg, int ticks);
/darwin-on-arm/xnu/osfmk/pmc/
H A Dpmc.c62 uint64_t pmc_spin_timeout_count = 0; /* Number of times where a PMC spin loop causes a timeout */
1682 uint64_t timeout; local
1699 nanoseconds_to_absolutetime(PMC_SPIN_TIMEOUT_US * 1000, &timeout);
1700 timeout += mach_absolute_time();
1705 if (mach_absolute_time() > timeout) {
2594 uint64_t timeout; local
2601 nanoseconds_to_absolutetime(PMC_SPIN_TIMEOUT_US * 1000, &timeout);
2602 timeout += mach_absolute_time();
2620 if (mach_absolute_time() > timeout) {
2653 uint64_t timeout; local
[all...]
/darwin-on-arm/xnu/osfmk/mach/
H A Dmessage.h84 * The timeout mechanism uses mach_msg_timeout_t values,
85 * passed by value. The timeout units are milliseconds.
93 * The value to be used when there is no timeout.
527 * the scope of send timeout values provided to IPC.
694 /* Message not sent before timeout expired. */
725 /* Didn't get a message within the timeout value. */
751 /* Waiting for receive with timeout. (Internal use only.) */
779 mach_msg_timeout_t timeout,
800 mach_msg_timeout_t timeout,

Completed in 196 milliseconds

123