Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 25 of 267) sorted by relevance

1234567891011

/drivers/char/
Dmmtimer.c98 static void mmtimer_setup_int_0(int cpu, u64 expires) in mmtimer_setup_int_0() argument
122 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPB), expires); in mmtimer_setup_int_0()
128 static void mmtimer_setup_int_1(int cpu, u64 expires) in mmtimer_setup_int_1() argument
146 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPC), expires); in mmtimer_setup_int_1()
150 static void mmtimer_setup_int_2(int cpu, u64 expires) in mmtimer_setup_int_2() argument
168 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPD), expires); in mmtimer_setup_int_2()
176 static int mmtimer_setup(int cpu, int comparator, unsigned long expires) in mmtimer_setup() argument
181 mmtimer_setup_int_0(cpu, expires); in mmtimer_setup()
184 mmtimer_setup_int_1(cpu, expires); in mmtimer_setup()
187 mmtimer_setup_int_2(cpu, expires); in mmtimer_setup()
[all …]
Ddtlk.c231 unsigned long expires; in dtlk_poll() local
253 expires = jiffies + 3*HZ / 100; in dtlk_poll()
254 mod_timer(&dtlk_timer, expires); in dtlk_poll()
/drivers/md/
Ddm-delay.c45 unsigned long expires; member
60 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
64 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout()
65 mod_timer(&dc->delay_timer, expires); in queue_timeout()
91 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
104 next_expires = delayed->expires; in flush_delayed_bios()
106 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
233 unsigned long expires = 0; in delay_bio() local
242 delayed->expires = expires = jiffies + (delay * HZ / 1000); in delay_bio()
255 queue_timeout(dc, expires); in delay_bio()
/drivers/s390/cio/
Ddevice_ops.c240 unsigned long flags, int expires) in ccw_device_start_timeout_key() argument
246 ccw_device_set_timeout(cdev, expires); in ccw_device_start_timeout_key()
313 unsigned long flags, int expires) in ccw_device_start_timeout() argument
317 expires); in ccw_device_start_timeout()
620 int expires) in ccw_device_tm_start_timeout_key() argument
624 ccw_device_set_timeout(cdev, expires); in ccw_device_tm_start_timeout_key()
662 unsigned long intparm, u8 lpm, int expires) in ccw_device_tm_start_timeout() argument
665 PAGE_DEFAULT_KEY, expires); in ccw_device_tm_start_timeout()
/drivers/isdn/divert/
Disdn_divert.c72 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire()
84 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire()
229 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
243 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
260 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
466 cs->timer.expires = jiffies + (HZ * dv->rule.waittime); in isdn_divert_icall()
469 cs->timer.expires = jiffies + (HZ * extern_wait_max); in isdn_divert_icall()
471 cs->timer.expires = 0; in isdn_divert_icall()
479 if (!cs->timer.expires) in isdn_divert_icall()
484 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in isdn_divert_icall()
[all …]
/drivers/s390/block/
Ddasd_diag.c227 unsigned long long expires; in dasd_ext_handler() local
273 expires = 0; in dasd_ext_handler()
283 expires = next->expires; in dasd_ext_handler()
298 if (expires != 0) in dasd_ext_handler()
299 dasd_device_set_timer(device, expires); in dasd_ext_handler()
553 cqr->expires = DIAG_TIMEOUT; in dasd_diag_build_cp()
Ddasd.c922 void dasd_device_set_timer(struct dasd_device *device, int expires) in dasd_device_set_timer() argument
924 if (expires == 0) in dasd_device_set_timer()
927 mod_timer(&device->timer, jiffies + expires); in dasd_device_set_timer()
992 int expires; in dasd_int_handler() local
1061 expires = 0; in dasd_int_handler()
1095 expires = next->expires; in dasd_int_handler()
1101 if (expires != 0) in dasd_int_handler()
1102 dasd_device_set_timer(device, expires); in dasd_int_handler()
1216 if ((cqr->status == DASD_CQR_IN_IO && cqr->expires != 0) && in __dasd_device_check_expire()
1217 (time_after_eq(jiffies, cqr->expires + cqr->starttime))) { in __dasd_device_check_expire()
[all …]
Ddasd_3990_erp.c72 dasd_3990_erp_block_queue(struct dasd_ccw_req * erp, int expires) in dasd_3990_erp_block_queue() argument
79 "blocking request queue for %is", expires/HZ); in dasd_3990_erp_block_queue()
85 dasd_block_set_timer(device->block, expires); in dasd_3990_erp_block_queue()
228 dctl_cqr->expires = 5 * 60 * HZ; in dasd_3990_erp_DCTL()
1666 erp->expires = 0; in dasd_3990_erp_action_1B_32()
2282 erp->expires = 0; in dasd_3990_erp_add_erp()
/drivers/net/tulip/
Dpnic2.c330 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
355 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
379 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change()
D21142.c219 tp->timer.expires = RUN_AT(3*HZ); in t21142_lnk_change()
229 tp->timer.expires = RUN_AT(3*HZ); in t21142_lnk_change()
/drivers/char/ip2/
Di2lib.c1275 ip2trace (CHANN, ITRC_DRAIN, 10, 1, pCh->BookmarkTimer.expires ); in i2DrainWakeup()
1277 pCh->BookmarkTimer.expires = 0; in i2DrainWakeup()
1287 ip2trace (CHANN, ITRC_DRAIN, ITRC_ENTER, 1, pCh->BookmarkTimer.expires); in i2DrainOutput()
1298 if ((timeout > 0) && (pCh->BookmarkTimer.expires == 0 )) { in i2DrainOutput()
1303 ip2trace (CHANN, ITRC_DRAIN, 1, 1, pCh->BookmarkTimer.expires ); in i2DrainOutput()
1323 if ((timeout > 0) && pCh->BookmarkTimer.expires && in i2DrainOutput()
1324 time_before(jiffies, pCh->BookmarkTimer.expires)) { in i2DrainOutput()
1326 pCh->BookmarkTimer.expires = 0; in i2DrainOutput()
1328 ip2trace (CHANN, ITRC_DRAIN, 3, 1, pCh->BookmarkTimer.expires ); in i2DrainOutput()
1331 ip2trace (CHANN, ITRC_DRAIN, ITRC_RETURN, 1, pCh->BookmarkTimer.expires ); in i2DrainOutput()
[all …]
/drivers/s390/char/
Dcon3270.c74 static void con3270_set_timer(struct con3270 *cp, int expires) in con3270_set_timer() argument
76 if (expires == 0) { in con3270_set_timer()
82 mod_timer(&cp->timer, jiffies + expires)) in con3270_set_timer()
86 cp->timer.expires = jiffies + expires; in con3270_set_timer()
/drivers/net/ixp2000/
Denp2611.c171 link_check_timer.expires = jiffies + HZ / 10; in enp2611_check_link_status()
229 link_check_timer.expires = jiffies; in enp2611_init_module()
/drivers/lguest/
Dinterrupts_and_traps.c490 ktime_t expires; in guest_set_clockevent() local
501 expires = ktime_add_ns(ktime_get_real(), delta); in guest_set_clockevent()
502 hrtimer_start(&cpu->hrt, expires, HRTIMER_MODE_ABS); in guest_set_clockevent()
/drivers/isdn/hisax/
Dfsm.c138 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmAddTimer()
159 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmRestartTimer()
/drivers/isdn/mISDN/
Dfsm.c158 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer()
180 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer()
Dl1oip_core.c291 if ((int)(hc->keep_tl.expires-jiffies) < 5*HZ) { in l1oip_socket_send()
293 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE*HZ; in l1oip_socket_send()
296 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE*HZ; in l1oip_socket_send()
630 if ((int)(hc->timeout_tl.expires-jiffies) < 5*HZ || !hc->timeout_on) { in l1oip_socket_parse()
633 hc->timeout_tl.expires = jiffies + L1OIP_TIMEOUT*HZ; in l1oip_socket_parse()
636 hc->timeout_tl.expires = jiffies + L1OIP_TIMEOUT*HZ; in l1oip_socket_parse()
1452 hc->keep_tl.expires = jiffies + 2*HZ; /* two seconds first time */ in init_card()
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt.c78 ieee->crypt_deinit_timer.expires = jiffies + HZ; in ieee80211_crypt_deinit_handler()
104 ieee->crypt_deinit_timer.expires = jiffies + HZ; in ieee80211_crypt_delayed_deinit()
/drivers/i2c/busses/
Di2c-pnx.c55 int expires = I2C_PNX_TIMEOUT / (1000 / HZ); in i2c_pnx_arm_timer() local
60 jiffies, expires); in i2c_pnx_arm_timer()
62 timer->expires = jiffies + expires; in i2c_pnx_arm_timer()
/drivers/staging/epl/
DTimerHighReskX86.c512 pTimer_p->expires = ktime_add_ns(pTimer_p->expires, in EplTimerHighReskCallback()
/drivers/s390/net/
Dfsm.c176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer()
197 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer()
/drivers/block/
Damiflop.c330 motor_on_timer.expires = jiffies + HZ/10; in motor_on_callback()
380 motor_off_timer[drive].expires = jiffies + 1; in fd_motor_off()
566 post_write_timer.expires = jiffies + 1; /* at least 2 ms */ in fd_block_done()
1253 flush_track_timer[nr].expires = jiffies + 1; in flush_track_callback()
1761 motor_on_timer.expires = 0; in amiga_floppy_init()
1766 motor_off_timer[i].expires = 0; in amiga_floppy_init()
1770 flush_track_timer[i].expires = 0; in amiga_floppy_init()
1778 post_write_timer.expires = 0; in amiga_floppy_init()
Dub.c955 sc->work_timer.expires = jiffies + UB_URB_TIMEOUT; in ub_scsi_cmd_start()
1348 sc->work_timer.expires = jiffies + cmd->timeo; in ub_data_start()
1350 sc->work_timer.expires = jiffies + UB_DATA_TIMEOUT; in ub_data_start()
1391 sc->work_timer.expires = jiffies + cmd->timeo; in __ub_state_stat()
1393 sc->work_timer.expires = jiffies + UB_STAT_TIMEOUT; in __ub_state_stat()
1505 sc->work_timer.expires = jiffies + UB_CTRL_TIMEOUT; in ub_submit_clear_stall()
1996 timer.expires = jiffies + UB_CTRL_TIMEOUT; in ub_sync_reset()
2044 timer.expires = jiffies + UB_CTRL_TIMEOUT; in ub_sync_getmaxlun()
2114 timer.expires = jiffies + UB_CTRL_TIMEOUT; in ub_probe_clear_stall()
/drivers/media/video/
Domap24xxcam-dma.c479 unsigned long expires; in omap24xxcam_sgdma_process() local
486 expires = jiffies + HZ; in omap24xxcam_sgdma_process()
487 mod_timer(&sgdma->reset_timer, expires); in omap24xxcam_sgdma_process()
/drivers/uwb/
Dbeacon.c285 unsigned long expires; in uwb_beca_purge() local
289 expires = bce->ts_jiffies + msecs_to_jiffies(beacon_timeout_ms); in uwb_beca_purge()
290 if (time_after(jiffies, expires)) { in uwb_beca_purge()

1234567891011