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/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...]
/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.c167 time_t when, otime, ntime; local
199 when = otime + timeout; /* when to boot */
213 if (ntime >= when) {
220 kernelname, (int)(when - ntime),
221 (when-ntime)==1?"":"s");
H A Dcommands.c385 time_t when; local
421 when = time(NULL) + timeout;
423 if (time(NULL) >= when)
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c101 time_t when, minweeks, maxweeks; local
265 when = (long)a64l(pwdp->pw_age);
266 maxweeks = when & 077;
267 minweeks = (when >> 6) & 077;
268 when >>= 12;
269 sp->sp_lstchg = when * 7;
351 when = (long)a64l(pwdp->pw_age);
352 maxweeks = when & 077;
353 minweeks = (when >> 6) & 077;
354 when >>
[all...]
/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/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/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/cmd/auditreduce/
H A Dmain.c169 * which stops recursing when the number of files to process is small
700 write_file_token(time_t when) argument
713 tv.tv_sec = when;
727 if (when == f_start) {
/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/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/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/lib/libslp/clib/
H A Dslp_net.c117 * tcp_thread to free the target list when finished; this is useful
118 * when a target needs to be synthesised by another message thread
124 * Callers interested in knowing when the transaction has completed
997 * sent IN time when message was sent
1154 * side effect: 'now' is set to the time when poll found data on the pipe.
1163 int when, pollerr; local
1183 when = (int)(*now - sent);
1186 when > *timeout)
1188 *timeout = *timeout - when;
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dvacation.c39 * VACATION -- return a message to the sender when on vacation.
42 * when someone is on vacation. It returns a message
281 time_t when; member in struct:entry
314 (char *)&(which->when));
335 bcopy(content.dptr, (char *)&(new_entry->when),
336 sizeof (new_entry->when));
345 new_entry->when > curr->when; curr = curr->next)
1054 printf("when you go away on vacation.\n");
1080 " be read when
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c389 time_t when; local
404 when = time(0);
406 tm->tm_year = localtime(&when)->tm_year;
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c336 profile_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument
348 when->cyt_interval = prof->prof_interval;
349 when->cyt_when = dtrace_gethrtime() + when->cyt_interval;
351 pcpu->profc_expected = when->cyt_when;
352 pcpu->profc_interval = when->cyt_interval;
372 cyc_time_t when; local
382 when.cyt_interval = prof->prof_interval;
383 when.cyt_when = dtrace_gethrtime() + when
[all...]

Completed in 249 milliseconds

123