/fs/btrfs/ |
D | discard.c | 343 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()
|
D | disk-io.c | 1796 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/ |
D | recover.c | 100 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/ |
D | glock.c | 244 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 …]
|
D | glock.h | 247 extern bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay);
|
/fs/hfs/ |
D | super.c | 73 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/ |
D | tcp.c | 468 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/ |
D | super.c | 83 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/ |
D | xfs_bmap_util.h | 48 int rt, int eof, int delay, int convert,
|
D | xfs_linux.h | 139 static inline void delay(long ticks) in delay() function
|
D | xfs_extent_busy.c | 154 delay(1); in xfs_extent_busy_update_extent()
|
D | xfs_icache.c | 672 delay(1); in xfs_iget() 870 delay(1); in xfs_inode_walk_ag()
|
D | xfs_buf.c | 1839 delay(100); in xfs_wait_buftarg() 1861 delay(100); in xfs_wait_buftarg()
|
D | xfs_inode.c | 528 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/ |
D | super.c | 266 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/ |
D | dlmthread.c | 708 int delay = 0; in dlm_thread() local 756 delay = 1; in dlm_thread() 778 if (delay) { in dlm_thread()
|
/fs/afs/ |
D | server.c | 327 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()
|
D | cell.c | 36 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/ |
D | debug.c | 2463 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/ |
D | wbuf.c | 1174 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/ |
D | super.c | 732 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/ |
D | mds_client.c | 4492 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/ |
D | super.c | 118 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/ |
D | nfs4_fs.h | 211 unsigned char delay : 1, member
|
/fs/xfs/scrub/ |
D | common.c | 894 delay(1); in xchk_ilock_inverted()
|