Searched refs:timer (Results 376 - 400 of 1556) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/s390/scsi/
H A Dzfcp_def.h20 #include <linux/timer.h>
133 struct timer_list timer; member in struct:zfcp_erp_action
320 * @timer: timer data of this request
335 struct timer_list timer; member in struct:zfcp_fsf_req
/linux-master/net/llc/
H A Dllc_conn.c855 * queue by llc_rcv function (llc_mac.c) and timers queue by timer
869 /* timer expiration event */
899 timer_setup(&llc->ack_timer.timer, llc_conn_ack_tmr_cb, 0);
902 timer_setup(&llc->pf_cycle_timer.timer, llc_conn_pf_cycle_tmr_cb, 0);
905 timer_setup(&llc->rej_sent_timer.timer, llc_conn_rej_tmr_cb, 0);
908 timer_setup(&llc->busy_state_timer.timer, llc_conn_busy_tmr_cb, 0);
952 del_timer_sync(&llc->pf_cycle_timer.timer);
953 del_timer_sync(&llc->ack_timer.timer);
954 del_timer_sync(&llc->rej_sent_timer.timer);
955 del_timer_sync(&llc->busy_state_timer.timer);
[all...]
H A Dllc_c_ac.c54 del_timer(&llc->busy_state_timer.timer);
194 del_timer(&llc->rej_sent_timer.timer);
615 mod_timer(&llc->busy_state_timer.timer,
848 mod_timer(&llc->pf_cycle_timer.timer,
1114 del_timer(&llc->rej_sent_timer.timer);
1115 del_timer(&llc->pf_cycle_timer.timer);
1116 del_timer(&llc->busy_state_timer.timer);
1126 mod_timer(&llc->ack_timer.timer, jiffies + llc->ack_timer.expire);
1134 mod_timer(&llc->rej_sent_timer.timer,
1144 if (!timer_pending(&llc->ack_timer.timer))
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dexceptions_fail.c19 struct bpf_timer timer; member in struct:hmap_elem
89 static int timer_cb(void *map, int *key, struct bpf_timer *timer) argument
104 return bpf_timer_set_callback(&elem->timer, timer_cb);
/linux-master/fs/xfs/
H A Dxfs_dquot.c159 if (res->timer == 0)
160 res->timer = xfs_dquot_set_timeout(mp,
163 res->timer = 0;
620 dqp->q_blk.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_btimer);
621 dqp->q_ino.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_itimer);
622 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer);
665 ddqp->d_btimer = xfs_dquot_to_disk_ts(dqp, dqp->q_blk.timer);
666 ddqp->d_itimer = xfs_dquot_to_disk_ts(dqp, dqp->q_ino.timer);
667 ddqp->d_rtbtimer = xfs_dquot_to_disk_ts(dqp, dqp->q_rtb.timer);
1217 !dqp->q_blk.timer)
[all...]
/linux-master/block/
H A Dblk-stat.c79 struct blk_stat_callback *cb = from_timer(cb, t, timer);
128 timer_setup(&cb->timer, blk_stat_timer_fn, 0);
165 del_timer_sync(&cb->timer);
/linux-master/drivers/usb/atm/
H A Dcxacru.c21 #include <linux/timer.h>
579 struct timer_list timer; member in struct:cxacru_timer
585 struct cxacru_timer *timer = from_timer(timer, t, timer); local
587 usb_unlink_urb(timer->urb);
593 struct cxacru_timer timer = { local
597 timer_setup_on_stack(&timer.timer, cxacru_timeout_kill, 0);
598 mod_timer(&timer
[all...]
/linux-master/net/sctp/
H A Dsm_sideeffect.c199 /* Restart the SACK timer. */
217 /* Stop the SACK timer. */
228 /* When the T3-RTX timer expires, it calls this function to create the
279 pr_debug("%s: sock is busy: timer %d\n", __func__,
289 * the timer to let go of the reference?
404 /* Handle the timeout of the ICMP protocol unreachable timer. Trigger
441 /* Handle the timeout of the RE-CONFIG timer. */
461 /* This happens when the response arrives after the timer is triggered. */
478 /* Handle the timeout of the probe timer. */
541 * Each time the T3-rtx timer expire
1079 sctp_cmd_t1_timer_update(struct sctp_association *asoc, enum sctp_event_timeout timer, char *name) argument
1283 struct timer_list *timer; local
[all...]
/linux-master/drivers/parport/
H A Dieee1284.c25 #include <linux/timer.h>
43 struct parport *port = from_timer(port, t, timer);
73 timer_setup(&port->timer, timeout_waiting_on_port, 0);
74 mod_timer(&port->timer, jiffies + timeout);
76 if (!del_timer_sync(&port->timer) && !ret)
/linux-master/sound/drivers/mpu401/
H A Dmpu401_uart.c154 * timer callback
155 * reprogram the timer and call the interrupt job
159 struct snd_mpu401 *mpu = from_timer(mpu, t, timer);
164 mod_timer(&mpu->timer, 1 + jiffies);
171 * initialize the timer callback if not programmed yet
179 timer_setup(&mpu->timer, snd_mpu401_uart_timer, 0);
180 mod_timer(&mpu->timer, 1 + jiffies);
188 * remove the timer callback if still active
199 del_timer(&mpu->timer);
452 /* try to add the timer a
[all...]
/linux-master/drivers/input/touchscreen/
H A Dsx8654.c101 spinlock_t lock; /* for input reporting from irq/timer */
102 struct timer_list timer; member in struct:sx8654
119 struct sx8654 *ts = from_timer(ts, t, timer);
125 dev_dbg(&ts->client->dev, "penrelease by timer\n");
186 mod_timer(&ts->timer, jiffies + SX8650_PENIRQ_TIMEOUT);
293 del_timer_sync(&sx8654->timer);
340 dev_dbg(&client->dev, "use timer for penrelease\n");
341 timer_setup(&sx8654->timer, sx865x_penrelease_timer_handler, 0);
/linux-master/include/linux/
H A Dworkqueue.h9 #include <linux/timer.h>
115 struct timer_list timer;
117 /* target workqueue and CPU ->timer uses to queue ->work */
246 .timer = __TIMER_INITIALIZER(delayed_work_timer_fn,\
319 __init_timer(&(_work)->timer, \
327 __init_timer_on_stack(&(_work)->timer, \
110 struct timer_list timer; member in struct:delayed_work
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhw.c3106 /* HW generic timer primitives */
3131 struct ath_gen_timer *timer; local
3141 timer = kzalloc(sizeof(struct ath_gen_timer), GFP_KERNEL);
3142 if (timer == NULL)
3145 /* allocate a hardware generic timer slot */
3146 timer_table->timers[timer_index] = timer;
3147 timer->index = timer_index;
3148 timer->trigger = trigger;
3149 timer->overflow = overflow;
3150 timer
3161 ath9k_hw_gen_timer_start(struct ath_hw *ah, struct ath_gen_timer *timer, u32 timer_next, u32 timer_period) argument
3211 ath9k_hw_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer) argument
3243 ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer) argument
3259 struct ath_gen_timer *timer; local
[all...]
/linux-master/drivers/watchdog/
H A Dwatchdog_dev.c13 * by all the watchdog timer drivers.
137 hrtimer_start(&wd_data->timer, t,
140 hrtimer_cancel(&wd_data->timer);
155 hrtimer_start(&wd_data->timer,
229 static enum hrtimer_restart watchdog_timer_expired(struct hrtimer *timer) argument
233 wd_data = container_of(timer, struct watchdog_core_data, timer);
360 * watchdog_set_timeout - set the watchdog timer timeout
395 * watchdog_set_pretimeout - set the watchdog timer pretimeout
1054 hrtimer_init(&wd_data->timer, CLOCK_MONOTONI
[all...]
/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_test.c8 #include <linux/timer.h>
166 struct timer_list timer; member in struct:signal_timer
172 struct signal_timer *s_timer = from_timer(s_timer, t, timer);
190 timer_setup_on_stack(&s_timer.timer, &signal_for_ttm_bo_reserve, 0);
193 mod_timer(&s_timer.timer, msecs_to_jiffies(100));
197 timer_delete_sync(&s_timer.timer);
198 destroy_timer_on_stack(&s_timer.timer);
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_vidi.c12 #include <linux/timer.h>
48 struct timer_list timer; member in struct:vidi_context
101 mod_timer(&ctx->timer,
162 struct vidi_context *ctx = from_timer(ctx, t, timer);
165 mod_timer(&ctx->timer,
437 del_timer_sync(&ctx->timer);
456 timer_setup(&ctx->timer, vidi_fake_vblank_timer, 0);
/linux-master/sound/sh/
H A Daica.c19 #include <linux/timer.h>
282 mod_timer(&dreamcastcard->timer, jiffies + 1);
289 t, timer);
291 /*timer function - so cannot sleep */
305 /* reschedule the timer */
306 mod_timer(&(dreamcastcard->timer), jiffies + 1);
324 mod_timer(&dreamcastcard->timer, jiffies + 4);
360 del_timer_sync(&dreamcastcard->timer);
580 timer_setup(&dreamcastcard->timer, aica_period_elapsed, 0);
/linux-master/arch/arc/kernel/
H A Dsetup.c292 struct bcr_timer timer; local
317 READ_BCR(ARC_REG_TIMERS_BCR, timer);
318 info->t0 = timer.t0;
319 info->t1 = timer.t1;
326 IS_AVAIL1(timer.t0, "Timer0 "),
327 IS_AVAIL1(timer.t1, "Timer1 "),
328 IS_AVAIL2(timer.rtc, "RTC [UP 64-bit] ", CONFIG_ARC_TIMERS_64BIT),
/linux-master/fs/btrfs/
H A Dzstd.c71 * A timer is used to reclaim workspaces if they have not been used for
83 struct timer_list timer; member in struct:zstd_workspace_manager
101 * @t: timer
108 static void zstd_reclaim_timer_fn(struct timer_list *timer) argument
143 mod_timer(&wsm.timer, jiffies + ZSTD_BTRFS_RECLAIM_JIFFIES);
185 timer_setup(&wsm.timer, zstd_reclaim_timer_fn, 0);
218 del_timer_sync(&wsm.timer);
308 * max level workspace or update last_used accordingly. If the reclaim timer
326 if (!timer_pending(&wsm.timer))
327 mod_timer(&wsm.timer,
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c29 struct timer_list timer; member in struct:mlx5_fw_reset
231 del_timer_sync(&fw_reset->timer);
263 struct mlx5_fw_reset *fw_reset = from_timer(fw_reset, t, timer);
281 mod_timer(&fw_reset->timer, round_jiffies(jiffies + MLX5_RESET_POLL_INTERVAL));
288 timer_setup(&fw_reset->timer, poll_sync_reset, 0);
289 fw_reset->timer.expires = round_jiffies(jiffies + MLX5_RESET_POLL_INTERVAL);
290 add_timer(&fw_reset->timer);
/linux-master/sound/pci/
H A Dazt3328.c70 * - built-in General DirectX timer having a 20 bits counter
88 * since it additionally supports the card's 1MHz DirectX timer - just try
111 * at least sometimes. Maybe even use with hardware sequencer timer above :)
153 * - (ab)use 1MHz DirectX timer as kernel clocksource
240 MODULE_PARM_DESC(seqtimer_scaling, "Set 1024000Hz sequencer timer scale factor (lockup danger!). Default 128.");
270 struct snd_timer *timer; member in struct:snd_azf3328
1736 /* ok, this one is a bit dirty: cooked_read is being polled by a timer,
1908 /* dev_dbg(chip->card->dev, "timer %ld\n",
1912 if (chip->timer)
1913 snd_timer_interrupt(chip->timer, chi
2137 snd_azf3328_timer_start(struct snd_timer *timer) argument
2162 snd_azf3328_timer_stop(struct snd_timer *timer) argument
2183 snd_azf3328_timer_precise_resolution(struct snd_timer *timer, unsigned long *num, unsigned long *den) argument
2203 struct snd_timer *timer = NULL; local
[all...]
/linux-master/net/atm/
H A Dlec.c1205 #include <linux/timer.h>
1304 del_timer(&to_remove->timer);
1484 del_timer_sync(&entry->timer);
1493 del_timer_sync(&entry->timer);
1501 /* No timer, LANEv2 7.1.20 and 2.3.5.3 */
1540 timer_setup(&to_return->timer, lec_arp_expire_arp, 0);
1548 /* Arp sent timer expired */
1553 entry = from_timer(entry, t, timer);
1566 mod_timer(&entry->timer, jiffies + (1 * HZ));
1574 struct lec_arp_table *to_remove = from_timer(to_remove, t, timer);
[all...]
/linux-master/net/bridge/
H A Dbr_mdb.c21 unsigned long *timer)
23 *timer = br_timer_value(&pmctx->ip4_mc_router_timer);
29 unsigned long *timer)
32 *timer = br_timer_value(&pmctx->ip6_mc_router_timer);
35 *timer = 0;
214 br_timer_value(&ent->timer))) {
244 mtimer = &p->timer;
248 mtimer = &mp->timer;
732 mod_timer(&pg->timer,
735 del_timer(&pg->timer);
20 br_ip4_rports_get_timer(struct net_bridge_mcast_port *pmctx, unsigned long *timer) argument
28 br_ip6_rports_get_timer(struct net_bridge_mcast_port *pmctx, unsigned long *timer) argument
[all...]
/linux-master/kernel/trace/
H A Dtrace_osnoise.c4 * Timerlat Tracer: measures the wakeup latency of a timer triggered IRQ and thread.
233 * Runtime information for the timer mode.
237 struct hrtimer timer; member in struct:timerlat_variables
330 int context; /* timer context */
1727 static enum hrtimer_restart timerlat_irq(struct hrtimer *timer) argument
1736 * I am not sure if the timer was armed for this CPU. So, get
1737 * the timerlat struct from the timer itself, not from this
1740 tlat = container_of(timer, struct timerlat_variables, timer);
1742 now = ktime_to_ns(hrtimer_cb_get_time(&tlat->timer));
[all...]
/linux-master/net/can/
H A Dbcm.c111 struct hrtimer timer, thrtimer; member in struct:bcm_op
422 if (bcm_tx_set_expiry(op, &op->timer))
423 hrtimer_start_expires(&op->timer, HRTIMER_MODE_ABS_SOFT);
429 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer);
454 return bcm_tx_set_expiry(op, &op->timer) ?
512 /* with active throttling timer we are just done here */
523 /* do not send the saved data - only start throttle timer */
586 hrtimer_start(&op->timer, op->kt_ival1, HRTIMER_MODE_REL_SOFT);
592 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer);
693 hrtimer_cancel(&op->timer);
[all...]

Completed in 417 milliseconds

<<11121314151617181920>>