Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 31) sorted by relevance

12

/fs/btrfs/
Ddiscard.c343 unsigned long delay = discard_ctl->delay; in __btrfs_discard_schedule_work() local
356 delay = max(delay, msecs_to_jiffies(bps_delay)); in __btrfs_discard_schedule_work()
366 delay = max(delay, nsecs_to_jiffies(bg_timeout)); in __btrfs_discard_schedule_work()
370 &discard_ctl->work, delay); in __btrfs_discard_schedule_work()
527 unsigned long delay; in btrfs_discard_calc_delay() local
562 delay = BTRFS_DISCARD_TARGET_MSEC / discardable_extents; in btrfs_discard_calc_delay()
563 delay = clamp(delay, lower_limit, BTRFS_DISCARD_MAX_DELAY_MSEC); in btrfs_discard_calc_delay()
564 discard_ctl->delay = msecs_to_jiffies(delay); in btrfs_discard_calc_delay()
696 discard_ctl->delay = BTRFS_DISCARD_MAX_DELAY_MSEC; in btrfs_discard_init()
Ddisk-io.c1796 unsigned long delay; in transaction_kthread() local
1801 delay = HZ * fs_info->commit_interval; in transaction_kthread()
1816 delay = HZ * 5; in transaction_kthread()
1844 schedule_timeout_interruptible(delay); in transaction_kthread()
/fs/dlm/
Drecover.c100 int error = 0, delay; in wait_status_all() local
103 delay = 0; in wait_status_all()
119 if (delay < 1000) in wait_status_all()
120 delay += 20; in wait_status_all()
121 msleep(delay); in wait_status_all()
132 int error = 0, delay = 0, nodeid = ls->ls_low_nodeid; in wait_status_low() local
146 if (delay < 1000) in wait_status_low()
147 delay += 20; in wait_status_low()
148 msleep(delay); in wait_status_low()
/fs/gfs2/
Dglock.c244 static void __gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in __gfs2_glock_queue_work() argument
245 if (!queue_delayed_work(glock_workqueue, &gl->gl_work, delay)) { in __gfs2_glock_queue_work()
257 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work() argument
259 __gfs2_glock_queue_work(gl, delay); in gfs2_glock_queue_work()
921 unsigned long delay = 0; in glock_work_func() local
937 delay = holdtime - now; in glock_work_func()
939 if (!delay) { in glock_work_func()
945 if (delay) { in glock_work_func()
949 delay = 0; in glock_work_func()
950 __gfs2_glock_queue_work(gl, delay); in glock_work_func()
[all …]
Dglock.h247 extern bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay);
/fs/hfs/
Dsuper.c73 unsigned long delay; in hfs_mark_mdb_dirty() local
80 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfs_mark_mdb_dirty()
81 queue_delayed_work(system_long_wq, &sbi->mdb_work, delay); in hfs_mark_mdb_dirty()
/fs/ocfs2/cluster/
Dtcp.c468 int delay) in o2net_sc_queue_delayed_work() argument
471 if (!queue_delayed_work(o2net_wq, work, delay)) in o2net_sc_queue_delayed_work()
551 unsigned long delay; in o2net_set_nn_state() local
554 delay = (nn->nn_last_connect_attempt + in o2net_set_nn_state()
557 if (delay > msecs_to_jiffies(o2net_reconnect_delay())) in o2net_set_nn_state()
558 delay = 0; in o2net_set_nn_state()
559 mlog(ML_CONN, "queueing conn attempt in %lu jiffies\n", delay); in o2net_set_nn_state()
560 queue_delayed_work(o2net_wq, &nn->nn_connect_work, delay); in o2net_set_nn_state()
571 delay += msecs_to_jiffies(o2net_idle_timeout()); in o2net_set_nn_state()
572 queue_delayed_work(o2net_wq, &nn->nn_connect_expired, delay); in o2net_set_nn_state()
/fs/affs/
Dsuper.c83 unsigned long delay; in affs_mark_sb_dirty() local
90 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in affs_mark_sb_dirty()
91 queue_delayed_work(system_long_wq, &sbi->sb_work, delay); in affs_mark_sb_dirty()
/fs/xfs/
Dxfs_bmap_util.h48 int rt, int eof, int delay, int convert,
Dxfs_linux.h139 static inline void delay(long ticks) in delay() function
Dxfs_extent_busy.c154 delay(1); in xfs_extent_busy_update_extent()
Dxfs_icache.c672 delay(1); in xfs_iget()
870 delay(1); in xfs_inode_walk_ag()
Dxfs_buf.c1839 delay(100); in xfs_wait_buftarg()
1861 delay(100); in xfs_wait_buftarg()
Dxfs_inode.c528 delay(1); /* Don't just spin the CPU */ in xfs_lock_inodes()
593 delay(1); /* Don't just spin the CPU */ in xfs_lock_two_inodes()
2542 delay(1); in xfs_ifree_mark_inode_stale()
/fs/hfsplus/
Dsuper.c266 unsigned long delay; in hfsplus_mark_mdb_dirty() local
273 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfsplus_mark_mdb_dirty()
274 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in hfsplus_mark_mdb_dirty()
/fs/ocfs2/dlm/
Ddlmthread.c708 int delay = 0; in dlm_thread() local
756 delay = 1; in dlm_thread()
778 if (delay) { in dlm_thread()
/fs/afs/
Dserver.c327 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer() argument
331 if (timer_reduce(&net->fs_timer, jiffies + delay * HZ)) in afs_set_server_timer()
Dcell.c36 static void afs_set_cell_timer(struct afs_net *net, time64_t delay) in afs_set_cell_timer() argument
40 if (timer_reduce(&net->cells_timer, jiffies + delay * HZ)) in afs_set_cell_timer()
/fs/ubifs/
Ddebug.c2463 unsigned long delay; in power_cut_emulated() local
2468 delay = prandom_u32() % 60000; in power_cut_emulated()
2470 d->pc_timeout += msecs_to_jiffies(delay); in power_cut_emulated()
2471 ubifs_warn(c, "failing after %lums", delay); in power_cut_emulated()
2474 delay = prandom_u32() % 10000; in power_cut_emulated()
2476 d->pc_cnt_max = delay; in power_cut_emulated()
2477 ubifs_warn(c, "failing after %lu calls", delay); in power_cut_emulated()
/fs/jffs2/
Dwbuf.c1174 unsigned long delay; in jffs2_dirty_trigger() local
1179 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in jffs2_dirty_trigger()
1180 if (queue_delayed_work(system_long_wq, &c->wbuf_dwork, delay)) in jffs2_dirty_trigger()
/fs/ufs/
Dsuper.c732 unsigned long delay; in ufs_mark_sb_dirty() local
736 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in ufs_mark_sb_dirty()
737 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in ufs_mark_sb_dirty()
/fs/ceph/
Dmds_client.c4492 static void schedule_delayed(struct ceph_mds_client *mdsc, unsigned long delay) in schedule_delayed() argument
4497 if (!delay || (delay > max_delay)) in schedule_delayed()
4498 delay = max_delay; in schedule_delayed()
4500 round_jiffies_relative(delay)); in schedule_delayed()
4507 unsigned long delay; in delayed_work() local
4550 delay = ceph_check_delayed_caps(mdsc); in delayed_work()
4558 schedule_delayed(mdsc, delay); in delayed_work()
/fs/reiserfs/
Dsuper.c118 unsigned long delay; in reiserfs_schedule_old_flush() local
129 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in reiserfs_schedule_old_flush()
130 queue_delayed_work(system_long_wq, &sbi->old_work, delay); in reiserfs_schedule_old_flush()
/fs/nfs/
Dnfs4_fs.h211 unsigned char delay : 1, member
/fs/xfs/scrub/
Dcommon.c894 delay(1); in xchk_ilock_inverted()

12