Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c260 time_t deadline; in memscrubber() local
284 deadline = gethrestime_sec() + memscrub_delay_start_sec; in memscrubber()
298 if (now >= deadline) { in memscrubber()
300 memscrub_late_sec += (now - deadline); in memscrubber()
306 deadline = now + memscrub_period_sec; in memscrubber()
312 interval_sec = deadline - now; in memscrubber()
315 deadline += memscrub_period_sec; in memscrubber()
/illumos-gate/usr/src/cmd/tip/
H A Dhunt.c15 static sigjmp_buf deadline; variable
23 siglongjmp(deadline, 1); in dead()
49 if (sigsetjmp(deadline, 1) == 0) { in hunt()
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c1201 hrtime_t deadline = 0; in dpioctl() local
1237 deadline = STRUCT_FGET(dvpoll, dp_timeout); in dpioctl()
1238 if (deadline > 0) { in dpioctl()
1244 deadline = MSEC2NSEC(deadline); in dpioctl()
1245 deadline = MAX(deadline, nsec_per_tick); in dpioctl()
1246 deadline += now; in dpioctl()
1306 if (deadline == 0) { in dpioctl()
1314 &curthread->t_delay_lock, deadline)) > 0) in dpioctl()
1389 if (deadline == 0) { in dpioctl()
1395 &pcp->pc_lock, deadline); in dpioctl()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmemscrub.c464 time_t deadline; in memscrubber() local
486 deadline = gethrestime_sec() + memscrub_delay_start_sec; in memscrubber()
528 if (now >= deadline) { in memscrubber()
530 MEMSCRUB_STAT_NINC(late_sec, now - deadline); in memscrubber()
536 deadline = now + memscrub_period_sec; in memscrubber()
542 interval_ticks = (deadline - now) * hz; in memscrubber()
544 MEMSCRUB_STAT_NINC(early_sec, deadline - now); in memscrubber()
545 deadline += memscrub_period_sec; in memscrubber()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c1048 time_t deadline; in get_line() local
1053 deadline = time(NULL) + timeoutval; in get_line()
1065 timeoutval = deadline - time(NULL); in get_line()
1140 time_t deadline, timeleft; in kill_pid() local
1147 deadline = time(NULL) + SCRIPT_KILL_TIMEOUT; in kill_pid()
1155 timeleft = deadline - time(NULL); in kill_pid()
1337 time_t deadline; in do_cmd() local
1353 deadline = rsi->lastrun + cmd_timeout; in do_cmd()
1366 maxsecs = deadline - time(NULL); in do_cmd()
1474 deadline += SCRIPT_ABORT_TIMEOUT; in do_cmd()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c474 time_t deadline; in ps_suspend_send_response() local
504 deadline = gethrestime_sec() + timeout; in ps_suspend_send_response()
521 } while ((rv != 0) && (gethrestime_sec() < deadline)); in ps_suspend_send_response()
H A Dvdc.c230 static void vdc_eio_unqueue(vdc_t *vdc, clock_t deadline,
6773 vdc_eio_unqueue(vdc_t *vdc, clock_t deadline, boolean_t complete_io) in vdc_eio_unqueue() argument
6784 if (deadline != 0) { in vdc_eio_unqueue()
6789 while (vio != NULL && vio->vio_qtime > deadline) { in vdc_eio_unqueue()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c337 hrtime_t deadline; /* hrtime value when we want to return */ in poll_common() local
349 deadline = -1; in poll_common()
351 deadline = 0; in poll_common()
354 deadline = ((hrtime_t)tsp->tv_sec * NANOSEC) + tsp->tv_nsec; in poll_common()
355 deadline = MAX(deadline, nsec_per_tick); in poll_common()
356 deadline += gethrtime(); in poll_common()
391 if (deadline != 0) { in poll_common()
394 &t->t_delay_lock, deadline)) > 0) in poll_common()
584 if (deadline == 0) { in poll_common()
588 &pcp->pc_lock, deadline); in poll_common()
/illumos-gate/usr/src/uts/common/os/
H A Dclock.c1762 clock_t deadline; in delay_common() local
1774 deadline = ddi_get_lbolt() + ticks; in delay_common()
1775 while ((timeleft = deadline - ddi_get_lbolt()) > 0) { in delay_common()
1819 clock_t deadline; in delay_sig() local
1829 deadline = ddi_get_lbolt() + ticks; in delay_sig()
1833 &t->t_delay_lock, deadline); in delay_sig()
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c81 static sigjmp_buf deadline; variable
270 siglongjmp(deadline, 1); in catch_alarm()
937 if (sigsetjmp(deadline, 1) != 0) in safeopen()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_svc.c731 clock_t deadline; in eib_manage_keepalives() local
743 deadline = ddi_get_lbolt() + ss->ei_gw_props->pp_vnic_ka_ticks; in eib_manage_keepalives()
752 deadline) == -1) { in eib_manage_keepalives()
H A Deib_vnic.c195 clock_t deadline; in eib_vnic_wait_for_login_ack() local
198 deadline = ddi_get_lbolt() + drv_usectohz(EIB_LOGIN_TIMEOUT_USEC); in eib_vnic_wait_for_login_ack()
207 deadline) == -1) { in eib_vnic_wait_for_login_ack()
362 clock_t deadline; in eib_vnic_wait_for_table() local
372 deadline = ddi_get_lbolt() + ss->ei_gw_props->pp_gw_ka_ticks; in eib_vnic_wait_for_table()
381 deadline) == -1) { in eib_vnic_wait_for_table()
H A Denx_hdlrs.c90 clock_t deadline; in eibnx_port_monitor() local
232 deadline = ddi_get_lbolt() + solicit_period_ticks; in eibnx_port_monitor()
239 deadline) == -1) { in eibnx_port_monitor()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c1522 hrtime_t deadline = gethrtime() + in ata_wait() local
1531 } while (gethrtime() < deadline); in ata_wait()
1556 hrtime_t deadline = gethrtime() + in ata_wait3() local
1582 } while (gethrtime() < deadline); in ata_wait3()
2759 hrtime_t deadline; in ata_software_reset() local
2785 deadline = gethrtime() + ((hrtime_t)31 * NANOSEC); in ata_software_reset()
2807 while (gethrtime() < deadline) { in ata_software_reset()
2837 usecs_left = (deadline - gethrtime()) / 1000; in ata_software_reset()
/illumos-gate/usr/src/uts/sun4u/lw2plus/io/
H A Dlombus.c307 clock_t deadline; member
702 if (ddi_get_lbolt() > ssp->deadline) { in lombus_receive()
892 ssp->deadline = start + drv_usectohz(LOMBUS_CTS_TIMEOUT/1000); in lombus_cmd()
894 if (ddi_get_lbolt() > ssp->deadline) in lombus_cmd()
924 ssp->deadline = start + drv_usectohz(LOMBUS_CMD_TIMEOUT/1000); in lombus_cmd()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c362 clock_t deadline; in acpi_sema_p() local
387 deadline = ddi_get_lbolt() + in acpi_sema_p()
393 else if (cv_timedwait(&sp->cv, &sp->mutex, deadline) < 0) { in acpi_sema_p()
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpciehpc.c2133 clock_t deadline; in pciehpc_slot_wait_for_active() local
2140 deadline = ddi_get_lbolt() + in pciehpc_slot_wait_for_active()
2144 ddi_get_lbolt() < deadline) { in pciehpc_slot_wait_for_active()
2146 &ctrl_p->hc_mutex, deadline); in pciehpc_slot_wait_for_active()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs243 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
244 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
266 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
267 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
268 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
269 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
276 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
277 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
278 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
279 …l_density, (struct sched_dl_entity)->runtime, (struct sched_dl_entity)->deadline, (struct sched_dl…
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7833 clock_t start, now, deadline; in stmf_wait_ilu_tasks_finish() local
7836 deadline = start + drv_usectohz(stmf_io_deadman * 1000000llu); in stmf_wait_ilu_tasks_finish()
7840 &ilu->ilu_task_lock, deadline); in stmf_wait_ilu_tasks_finish()
7842 if (now > deadline) { in stmf_wait_ilu_tasks_finish()
7849 deadline = now + drv_usectohz(stmf_io_deadman * in stmf_wait_ilu_tasks_finish()
/illumos-gate/usr/src/data/zoneinfo/
H A Dnorthamerica1646 # Some cities in the United States have pushed the deadline back
/illumos-gate/usr/src/cmd/spell/
H A Dlist6099 deadline
/illumos-gate/usr/src/cmd/look/
H A Dwords6100 deadline