Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_qm_syscalls.c257 s64 timer) in xfs_setqlim_timer() argument
261 res->timer = xfs_dquot_set_grace_period(timer); in xfs_setqlim_timer()
262 qlim->time = res->timer; in xfs_setqlim_timer()
265 res->timer = xfs_dquot_set_timeout(mp, timer); in xfs_setqlim_timer()
411 dst->d_spc_timer = dqp->q_blk.timer; in xfs_qm_scall_getquota_fill_qc()
412 dst->d_ino_timer = dqp->q_ino.timer; in xfs_qm_scall_getquota_fill_qc()
418 dst->d_rt_spc_timer = dqp->q_rtb.timer; in xfs_qm_scall_getquota_fill_qc()
Dxfs_dquot.c135 if (res->timer == 0) in xfs_qm_adjust_res_timer()
136 res->timer = xfs_dquot_set_timeout(mp, in xfs_qm_adjust_res_timer()
139 res->timer = 0; in xfs_qm_adjust_res_timer()
593 dqp->q_blk.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_btimer); in xfs_dquot_from_disk()
594 dqp->q_ino.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_itimer); in xfs_dquot_from_disk()
595 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer); in xfs_dquot_from_disk()
638 ddqp->d_btimer = xfs_dquot_to_disk_ts(dqp, dqp->q_blk.timer); in xfs_dquot_to_disk()
639 ddqp->d_itimer = xfs_dquot_to_disk_ts(dqp, dqp->q_ino.timer); in xfs_dquot_to_disk()
640 ddqp->d_rtbtimer = xfs_dquot_to_disk_ts(dqp, dqp->q_rtb.timer); in xfs_dquot_to_disk()
1182 !dqp->q_blk.timer) in xfs_qm_dqflush_check()
[all …]
Dxfs_qm.c610 if (dqp->q_blk.timer) in xfs_qm_init_timelimits()
611 defq->blk.time = dqp->q_blk.timer; in xfs_qm_init_timelimits()
612 if (dqp->q_ino.timer) in xfs_qm_init_timelimits()
613 defq->ino.time = dqp->q_ino.timer; in xfs_qm_init_timelimits()
614 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits()
615 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits()
Dxfs_dquot.h46 time64_t timer; member
Dxfs_trans_dquot.c600 if (res->timer != 0 && now > res->timer) { in xfs_dqresv_check()
/fs/xfs/libxfs/
Dxfs_dquot_buf.c317 time64_t timer) in xfs_dquot_to_disk_ts() argument
319 uint32_t t = timer; in xfs_dquot_to_disk_ts()
321 if (timer != 0 && (dqp->q_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_to_disk_ts()
322 t = xfs_dq_unix_to_bigtime(timer); in xfs_dquot_to_disk_ts()
Dxfs_quota_defs.h144 __be32 xfs_dquot_to_disk_ts(struct xfs_dquot *ddq, time64_t timer);
/fs/btrfs/
Dzstd.c82 struct timer_list timer; member
107 static void zstd_reclaim_timer_fn(struct timer_list *timer) in zstd_reclaim_timer_fn() argument
142 mod_timer(&wsm.timer, jiffies + ZSTD_BTRFS_RECLAIM_JIFFIES); in zstd_reclaim_timer_fn()
184 timer_setup(&wsm.timer, zstd_reclaim_timer_fn, 0); in zstd_init_workspace_manager()
217 del_timer_sync(&wsm.timer); in zstd_cleanup_workspace_manager()
322 if (!timer_pending(&wsm.timer)) in zstd_put_workspace()
323 mod_timer(&wsm.timer, in zstd_put_workspace()
/fs/quota/
Dquota.c540 __s32 timer, __s8 timer_hi) in copy_from_xfs_dqblk_ts() argument
543 return (u32)timer | (s64)timer_hi << 32; in copy_from_xfs_dqblk_ts()
544 return timer; in copy_from_xfs_dqblk_ts()
658 __s32 *timer_lo, __s8 *timer_hi, s64 timer) in copy_to_xfs_dqblk_ts() argument
660 *timer_lo = timer; in copy_to_xfs_dqblk_ts()
662 *timer_hi = timer >> 32; in copy_to_xfs_dqblk_ts()
665 static inline bool want_bigtime(s64 timer) in want_bigtime() argument
667 return timer > S32_MAX || timer < S32_MIN; in want_bigtime()
/fs/ubifs/
Dio.c496 static enum hrtimer_restart wbuf_timer_callback_nolock(struct hrtimer *timer) in wbuf_timer_callback_nolock() argument
498 struct ubifs_wbuf *wbuf = container_of(timer, struct ubifs_wbuf, timer); in wbuf_timer_callback_nolock()
520 ubifs_assert(c, !hrtimer_active(&wbuf->timer)); in new_wbuf_timer_nolock()
529 hrtimer_start_range_ns(&wbuf->timer, softlimit, delta, in new_wbuf_timer_nolock()
542 hrtimer_cancel(&wbuf->timer); in cancel_wbuf_timer_nolock()
1182 hrtimer_init(&wbuf->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ubifs_wbuf_init()
1183 wbuf->timer.function = wbuf_timer_callback_nolock; in ubifs_wbuf_init()
Dubifs.h704 struct hrtimer timer; member
Dsuper.c1998 hrtimer_cancel(&c->jheads[i].wbuf.timer); in ubifs_put_super()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c580 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_start_busy_timer() argument
583 if (atomic_inc_return(&timer->n_ops) == 1) { in nfs4_ff_start_busy_timer()
584 timer->start_time = now; in nfs4_ff_start_busy_timer()
589 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_end_busy_timer() argument
593 if (atomic_dec_return(&timer->n_ops) < 0) in nfs4_ff_end_busy_timer()
596 start = timer->start_time; in nfs4_ff_end_busy_timer()
597 timer->start_time = now; in nfs4_ff_end_busy_timer()
644 ktime_t timer; in nfs4_ff_layout_stat_io_update_completed() local
650 timer = nfs4_ff_end_busy_timer(&layoutstat->busy_timer, time_completed); in nfs4_ff_layout_stat_io_update_completed()
652 ktime_add(iostat->total_busy_time, timer); in nfs4_ff_layout_stat_io_update_completed()
/fs/afs/
Dfs_probe.c319 void afs_fs_probe_timer(struct timer_list *timer) in afs_fs_probe_timer() argument
321 struct afs_net *net = container_of(timer, struct afs_net, fs_probe_timer); in afs_fs_probe_timer()
Dserver.c341 void afs_servers_timer(struct timer_list *timer) in afs_servers_timer() argument
343 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer()
Dcell.c530 void afs_cells_timer(struct timer_list *timer) in afs_cells_timer() argument
532 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); in afs_cells_timer()
/fs/proc/
Dbase.c2501 struct k_itimer *timer; in show_timer() local
2510 timer = list_entry((struct list_head *)v, struct k_itimer, list); in show_timer()
2511 notify = timer->it_sigev_notify; in show_timer()
2513 seq_printf(m, "ID: %d\n", timer->it_id); in show_timer()
2515 timer->sigq->info.si_signo, in show_timer()
2516 timer->sigq->info.si_value.sival_ptr); in show_timer()
2520 pid_nr_ns(timer->it_pid, tp->ns)); in show_timer()
2521 seq_printf(m, "ClockID: %d\n", timer->it_clock); in show_timer()
/fs/nfs/
Dnfs2xdr.c1121 #define PROC(proc, argtype, restype, timer) \ argument
1128 .p_timer = timer, \
Dnfs3xdr.c2508 #define PROC(proc, argtype, restype, timer) \ argument
2515 .p_timer = timer, \
/fs/fscache/
Dcookie.c18 static void fscache_cookie_lru_timed_out(struct timer_list *timer);
907 static void fscache_cookie_lru_timed_out(struct timer_list *timer) in fscache_cookie_lru_timed_out() argument
/fs/
Dtimerfd.c495 hrtimer_cancel_wait_running(&ctx->t.alarm.timer); in do_timerfd_settime()
/fs/jffs2/
DREADME.Locking80 to be called from bottom-half (timer) context (on the basis that nobody