Searched defs:expires (Results 1 - 25 of 34) sorted by relevance

12

/drivers/char/hw_random/
H A Dtimeriomem-rng.c38 unsigned int expires; member in struct:timeriomem_rng_private_data
76 delay = cur - priv->expires;
79 priv->expires = cur + delay;
83 mod_timer(&priv->timer, priv->expires);
148 priv->expires = jiffies;
/drivers/s390/cio/
H A Deadm_sch.c115 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires) argument
119 if (expires == 0) {
124 if (mod_timer(&private->timer, jiffies + expires))
129 private->timer.expires = jiffies + expires;
H A Ddevice_ops.c247 * @expires: timeout value in jiffies
253 * completed during the time specified by @expires. If a timeout occurs, the
266 unsigned long flags, int expires)
272 ccw_device_set_timeout(cdev, expires);
320 * @expires: timeout value in jiffies
326 * completed during the time specified by @expires. If a timeout occurs, the
339 unsigned long flags, int expires)
343 expires);
649 * @expires: time span in jiffies after which to abort request
656 int expires)
264 ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags, int expires) argument
337 ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, unsigned long flags, int expires) argument
654 ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key, int expires) argument
697 ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, int expires) argument
[all...]
H A Ddevice_fsm.c111 ccw_device_set_timeout(struct ccw_device *cdev, int expires) argument
113 if (expires == 0) {
118 if (mod_timer(&cdev->private->timer, jiffies + expires))
123 cdev->private->timer.expires = jiffies + expires;
/drivers/usb/chipidea/
H A Dotg_fsm.h80 unsigned long expires; /* Number of count increase to timeout */ member in struct:ci_otg_fsm_timer
H A Dotg_fsm.c35 unsigned long expires, unsigned long data)
44 timer->expires = expires;
224 timer->count = timer->expires;
228 timer->count = timer->expires;
269 /* check if timer expires */
33 otg_timer_initializer(struct ci_hdrc *ci, void (*function)(void *, unsigned long), unsigned long expires, unsigned long data) argument
/drivers/ata/
H A Dlibata-zpodd.c134 unsigned long expires; local
148 expires = zpodd->last_ready +
150 if (time_before(jiffies, expires))
/drivers/base/power/
H A Druntime.c134 unsigned long expires = 0; local
152 expires = last_busy + msecs_to_jiffies(autosuspend_delay);
154 expires = round_jiffies(expires);
155 expires += !expires;
156 if (elapsed >= expires - last_busy)
157 expires = 0; /* Already expired. */
160 return expires;
444 unsigned long expires variable
823 unsigned long expires; local
[all...]
H A Dwakeup.c380 * function executed when the timer expires, whichever comes first.
623 unsigned long expires; local
637 expires = jiffies + msecs_to_jiffies(msec);
638 if (!expires)
639 expires = 1;
641 if (!ws->timer_expires || time_after(expires, ws->timer_expires)) {
642 mod_timer(&ws->timer, expires);
643 ws->timer_expires = expires;
/drivers/char/
H A Ddtlk.c234 unsigned long expires; local
256 expires = jiffies + 3*HZ / 100;
257 mod_timer(&dtlk_timer, expires);
H A Dmmtimer.c103 static void mmtimer_setup_int_0(int cpu, u64 expires) argument
127 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPB), expires);
133 static void mmtimer_setup_int_1(int cpu, u64 expires) argument
151 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPC), expires);
155 static void mmtimer_setup_int_2(int cpu, u64 expires) argument
173 HUB_S((u64 *)LOCAL_MMR_ADDR(SH_INT_CMPD), expires);
181 static int mmtimer_setup(int cpu, int comparator, unsigned long expires, argument
186 mmtimer_setup_int_0(cpu, expires);
189 mmtimer_setup_int_1(cpu, expires);
192 mmtimer_setup_int_2(cpu, expires);
263 unsigned long expires = n->timer->it.mmtimer.expires; local
302 u64 expires, exp, set_completion_time; local
527 unsigned long expires = 0; local
617 unsigned long expires = timr->it.mmtimer.expires; local
[all...]
/drivers/lguest/
H A Dinterrupts_and_traps.c625 ktime_t expires; local
638 expires = ktime_add_ns(ktime_get_real(), delta);
639 hrtimer_start(&cpu->hrt, expires, HRTIMER_MODE_ABS);
642 /* This is the function called when the Guest's timer expires. */
/drivers/md/
H A Ddm-delay.c42 unsigned long expires; member in struct:dm_delay_info
54 static void queue_timeout(struct delay_c *dc, unsigned long expires) argument
58 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires)
59 mod_timer(&dc->delay_timer, expires);
85 if (flush_all || time_after_eq(jiffies, delayed->expires)) {
99 next_expires = delayed->expires;
101 next_expires = min(next_expires, delayed->expires);
231 unsigned long expires = 0; local
239 delayed->expires
[all...]
/drivers/staging/rtl8188eu/core/
H A Drtw_pwrctrl.c568 unsigned long expires; local
571 expires = jiffies + msecs_to_jiffies(ips_deffer_ms);
572 if (time_before(pwrpriv->ips_deny_time, expires))
627 expires = jiffies + msecs_to_jiffies(ips_deffer_ms);
628 if (time_before(pwrpriv->ips_deny_time, expires))
/drivers/uwb/
H A Dbeacon.c289 unsigned long expires; local
293 expires = bce->ts_jiffies + msecs_to_jiffies(beacon_timeout_ms);
294 if (time_after(jiffies, expires)) {
/drivers/watchdog/
H A Dxen_wdt.c60 __kernel_time_t expires; local
65 expires = set_timeout();
72 wdt_expires = expires;
101 __kernel_time_t expires; local
106 expires = set_timeout();
112 wdt_expires = expires;
/drivers/rtc/
H A Dinterface.c330 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires);
387 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time);
415 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time);
420 rtc->aie_timer.node.expires.tv64)) {
487 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec);
544 * This functions is called when the aie_timer expires.
557 * This functions is called when the uie_timer expires.
572 * hrtimer expires.
788 alarm.time = rtc_ktime_to_tm(timer->node.expires);
836 alarm.time = rtc_ktime_to_tm(next->expires);
930 rtc_timer_start(struct rtc_device *rtc, struct rtc_timer *timer, ktime_t expires, ktime_t period) argument
[all...]
/drivers/s390/block/
H A Ddasd_3990_erp.c70 static void dasd_3990_erp_block_queue(struct dasd_ccw_req *erp, int expires) argument
77 "blocking request queue for %is", expires/HZ);
84 dasd_block_set_timer(erp->block, expires);
86 dasd_device_set_timer(device, expires);
229 dctl_cqr->expires = 5 * 60 * HZ;
1720 erp->expires = default_erp->expires;
2365 erp->expires = cqr->expires;
H A Ddasd_diag.c236 unsigned long long expires; local
281 expires = 0;
291 expires = next->expires;
302 if (expires != 0)
303 dasd_device_set_timer(device, expires);
567 cqr->expires = memdev->default_expires * HZ;
/drivers/s390/char/
H A Dcon3270.c76 static void con3270_set_timer(struct con3270 *cp, int expires) argument
78 if (expires == 0)
81 mod_timer(&cp->timer, jiffies + expires);
/drivers/i2c/busses/
H A Di2c-pnx.c104 unsigned long expires = msecs_to_jiffies(alg_data->timeout); local
106 if (expires <= 1)
107 expires = 2;
112 jiffies, expires);
114 timer->expires = jiffies + expires;
/drivers/net/xen-netback/
H A Dcommon.h250 unsigned long expires; member in struct:xenvif_rx_cb
/drivers/cpufreq/
H A Dcpufreq_interactive.c129 unsigned long expires; local
139 expires = jiffies + usecs_to_jiffies(tunables->timer_rate);
140 mod_timer_pinned(&pcpu->cpu_timer, expires);
144 expires += usecs_to_jiffies(tunables->timer_slack_val);
145 mod_timer_pinned(&pcpu->cpu_slack_timer, expires);
159 unsigned long expires = jiffies + local
163 pcpu->cpu_timer.expires = expires;
167 expires += usecs_to_jiffies(tunables->timer_slack_val);
168 pcpu->cpu_slack_timer.expires
[all...]
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c623 unsigned long expires; local
631 expires = tmp_fil->ftime + QLCNIC_FILTER_AGE * HZ;
632 if (time_before(expires, jiffies)) {
650 expires = tmp_fil->ftime + QLCNIC_FILTER_AGE * HZ;
651 if (time_before(expires, jiffies)) {
/drivers/isdn/i4l/
H A Disdn_net.c1431 unsigned long expires = 0; local
1458 expires = (unsigned long)(jiffies +
1460 mod_timer(&lp->cisco_timer, expires);
1572 lp->cisco_timer.expires = jiffies + lp->cisco_keepalive_period * HZ;
1621 lp->cisco_timer.expires = jiffies + lp->cisco_keepalive_period * HZ;

Completed in 3294 milliseconds

12