Searched defs:when (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisena.c37 disable(PSTATUS *pps, char *reason, int when) argument
50 switch (when) {
H A Ddisp4.c178 ushort when, local
182 getmessage (m, S_DISABLE_DEST, &destination, &reason, &when);
185 (reason ? reason : "NULL"), when);
203 if (pps->request && when == 2)
206 if (disable(pps, reason, (int)when) == -1) {
356 * For printer faults the alert will be reactivated when:
361 * For forms/print-wheels the alert will be reactivated when:
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcyclic.c20 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) argument
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c185 const struct itimerspec *when)
206 it->it_itime = *when;
224 * However, when we call into realtime_timeout(), below,
248 clock_realtime_timer_gettime(itimer_t *it, struct itimerspec *when) argument
259 *when = it->it_itime;
262 if (!timerspecisset(&when->it_value))
265 if (timerspeccmp(&when->it_value, &now) < 0) {
270 timerspecclear(&when->it_value);
272 timespecsub(&when->it_value, &now);
184 clock_realtime_timer_settime(itimer_t *it, int flags, const struct itimerspec *when) argument
H A Dclock_highres.c104 const struct itimerspec *when)
115 cyctime.cyt_when = ts2hrt(&when->it_value);
116 cyctime.cyt_interval = ts2hrt(&when->it_interval);
127 it->it_itime = *when;
172 * side of (a) is minimized when i is small, it is sufficient to show
197 it->it_itime = *when;
227 clock_highres_timer_gettime(itimer_t *it, struct itimerspec *when) argument
244 *when = it->it_itime;
246 if (!timerspecisset(&when->it_value))
260 timerspecclear(&when
103 clock_highres_timer_settime(itimer_t *it, int flags, const struct itimerspec *when) argument
[all...]
H A Dcondvar.c106 * The sobj_ops vector exports a set of functions needed when a thread
178 * when it calls thread_unlock() on curthread.
224 * when it was unblocked.
290 * the timeout has occured between when we were awoken and
428 * the timeout has occured between when we were awoken and
523 * be used when no other option is available; almost all callers
595 * This should only be used when we know we aren't holding any locks.
746 * If 'when' is a NULL pointer, no timeout will occur.
767 timestruc_t *when, int timecheck)
774 if (when
766 cv_waituntil_sig(kcondvar_t *cvp, kmutex_t *mp, timestruc_t *when, int timecheck) argument
[all...]
H A Dtimer.c117 * have the opportunity to run; when they see the ITLK_REMOVE flag
395 * There are some conditions during a fork or an exit when we can
624 * This timer is programmed to use event port notification when
628 * - when the timer fires :
637 * free the event structure when required.
721 itimerspec_t when; local
727 error = it->it_backend->clk_timer_gettime(it, &when);
733 if (copyout(&when, val, sizeof (itimerspec_t)))
736 if (ITIMERSPEC_OVERFLOW(&when))
741 ITIMERSPEC_TO_ITIMERSPEC32(&w32, &when)
754 itimerspec_t when; local
[all...]
H A Dtimers.c78 * timers when they expire.
338 cyc_time_t when; local
371 * at the same time, even when we drop p->p_lock below.
433 when.cyt_when = (ts = gethrtime() + tv2hrt(&aitv.it_value));
434 when.cyt_interval = tv2hrt(&aitv.it_interval);
436 if (when.cyt_interval == 0) {
439 * set the interval to be INT64_MAX - when.cyt_when to
443 when.cyt_interval = INT64_MAX - when.cyt_when;
446 cyclic = cyclic_add(&hdlr, &when);
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc218 hrtime_t when; local
235 sysevent_get_time(ev, &when);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c195 * Regular pat occurs when the system runs normally.
196 * Long pat is when system panics.
269 cyc_time_t when; local
275 when.cyt_when = 0;
276 when.cyt_interval = wdt_cyclic_interval;
279 (void) cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dboot.c171 time_t when, otime, ntime; local
204 when = otime + timeout; /* when to boot */
220 if (ntime >= when) {
227 kernelname, (int)(when - ntime),
228 (when - ntime) == 1? "":"s");
H A Dcommands.c393 time_t when; local
429 when = time(NULL) + timeout;
431 if (time(NULL) >= when)
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncp.c68 * on startup so that we can differentiate between when we start up
69 * with a given NCP versus when we are asked to reenable it.
129 * We weren't able to enable the NCP when nwamd starts up,
302 * (when wa->manual is true, wa->activate determines if we activate or
710 nwamd_create_ncu_check_event(uint64_t when) argument
714 nwamd_event_enqueue_timed(check_event, when);
H A Dobjects.c356 * list lock before we get the object lock when we are
418 nwam_state_t state, nwam_aux_state_t aux_state, uint32_t when)
427 nwamd_event_enqueue_timed(event, when);
417 nwamd_object_set_state_timed(nwam_object_type_t type, const char *name, nwam_state_t state, nwam_aux_state_t aux_state, uint32_t when) argument
H A Dconditions.c820 nwamd_create_triggered_condition_check_event(uint32_t when) argument
830 nwamd_event_enqueue_timed(check_event, when);
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c280 time_t when; local
340 if ((when = mktime(&tm)) == -1 && errno != 0)
343 when -= (timezone - altzone);
383 ts->tv_sec = when;
393 time_t when; local
408 when = time(0);
409 tm.tm_year = localtime(&when)->tm_year;
439 if ((when = mktime(&tm)) == -1)
442 when -= (timezone-altzone);
444 ts->tv_sec = when;
451 time_t when; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dcbe.c239 * to be close to %tick when we suspended the system,
268 cyc_time_t when; local
311 when.cyt_when = 0;
312 when.cyt_interval = nsec_per_tick;
314 cbe_hres_cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcbe.c266 * disabled on CPU 0, and cbe_enable is called when we resume.
341 cyc_time_t when; local
371 when.cyt_when = 0;
372 when.cyt_interval = nsec_per_tick;
374 cbe_hres_cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c99 time_t when, minweeks, maxweeks; local
263 when = (long)a64l(pwdp->pw_age);
264 maxweeks = when & 077;
265 minweeks = (when >> 6) & 077;
266 when >>= 12;
267 sp->sp_lstchg = when * 7;
354 when = (long)a64l(pwdp->pw_age);
355 maxweeks = when & 077;
356 minweeks = (when >> 6) & 077;
357 when >>
[all...]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c173 * which stops recursing when the number of files to process is small
710 write_file_token(time_t when)
723 tv.tv_sec = when;
737 if (when == f_start) {
700 write_file_token(time_t when) argument
/illumos-gate/usr/src/uts/sun4v/io/
H A Dntwdt.c728 cyc_time_t *when = &ntwdt_state->ntwdt_cycl_time; local
733 when->cyt_interval = ntwdt_state->ntwdt_cyclic_interval;
734 when->cyt_when = gethrtime() + when->cyt_interval;
741 ntwdt_ptr->ntwdt_cycl_id = cyclic_add(hdlr, when);
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_service.c88 * (used when NLM server needs to reply to MSG NLM procedure).
165 * WARNING: users of this routine must do a VN_RELE on the vnode when they
652 * We need to block on this lock, and when that
743 * The function that is used as flk callback when NLM server
751 nlm_block_callback(flk_cb_when_t when, void *data) argument
756 if (when == FLK_AFTER_SLEEP) {
889 * return nlm4_granted except when the server is
953 * to "call back" when a blocking lock from this NLM client
1158 * Get holded vnode when on lock operation.
/illumos-gate/usr/src/uts/common/io/
H A Dtimerfd.c252 itimerspec_t when, oval; local
306 err = it->it_backend->clk_timer_gettime(it, &when);
312 if ((err = timerfd_copyout(&when, arg)) != 0)
324 if ((err = timerfd_copyin(st.tfd_settime_value, &when)) != 0)
351 * function to call back into when the timer is between states
373 TIMER_ABSTIME : TIMER_RELTIME, &when);
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgcn.c457 * "sgcn_start" will see it when it's done
716 * called when SC first establishes console connection
743 * SC sends an interrupt when new data comes in
821 * SC sends an interrupt when it takes output data
850 * SC sends an interrupt when it detects BREAK sequence
884 sgcn_log_error(int when, int what) argument
902 (when == RW_CONSOLE_READ) ? "console input" :
903 (when == RW_CONSOLE_WRITE) ? "console output, dropped" :
1038 * The circular buffer is empty when read ptr == write ptr
1039 * and is full when rea
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c388 time_t when; local
403 when = time(0);
405 tm->tm_year = localtime(&when)->tm_year;

Completed in 336 milliseconds

123