/drivers/char/ |
D | mmtimer.c | 98 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 …]
|
D | dtlk.c | 231 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/ |
D | dm-delay.c | 45 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/ |
D | device_ops.c | 240 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/ |
D | isdn_divert.c | 72 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/ |
D | dasd_diag.c | 227 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()
|
D | dasd.c | 922 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 …]
|
D | dasd_3990_erp.c | 72 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/ |
D | pnic2.c | 330 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()
|
D | 21142.c | 219 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/ |
D | i2lib.c | 1275 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/ |
D | con3270.c | 74 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/ |
D | enp2611.c | 171 link_check_timer.expires = jiffies + HZ / 10; in enp2611_check_link_status() 229 link_check_timer.expires = jiffies; in enp2611_init_module()
|
/drivers/lguest/ |
D | interrupts_and_traps.c | 490 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/ |
D | fsm.c | 138 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmAddTimer() 159 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmRestartTimer()
|
/drivers/isdn/mISDN/ |
D | fsm.c | 158 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer() 180 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer()
|
D | l1oip_core.c | 291 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/ |
D | ieee80211_crypt.c | 78 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/ |
D | i2c-pnx.c | 55 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/ |
D | TimerHighReskX86.c | 512 pTimer_p->expires = ktime_add_ns(pTimer_p->expires, in EplTimerHighReskCallback()
|
/drivers/s390/net/ |
D | fsm.c | 176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer() 197 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer()
|
/drivers/block/ |
D | amiflop.c | 330 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()
|
D | ub.c | 955 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/ |
D | omap24xxcam-dma.c | 479 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/ |
D | beacon.c | 285 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()
|