Home
last modified time | relevance | path

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

12

/fs/dlm/
Drecover.c98 int error = 0, delay; in wait_status_all() local
101 delay = 0; in wait_status_all()
117 if (delay < 1000) in wait_status_all()
118 delay += 20; in wait_status_all()
119 msleep(delay); in wait_status_all()
130 int error = 0, delay = 0, nodeid = ls->ls_low_nodeid; in wait_status_low() local
144 if (delay < 1000) in wait_status_low()
145 delay += 20; in wait_status_low()
146 msleep(delay); in wait_status_low()
/fs/gfs2/
Dglock.c221 static void __gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in __gfs2_glock_queue_work() argument
222 if (!queue_delayed_work(glock_workqueue, &gl->gl_work, delay)) { in __gfs2_glock_queue_work()
234 static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) { in gfs2_glock_queue_work() argument
236 __gfs2_glock_queue_work(gl, delay); in gfs2_glock_queue_work()
696 unsigned long delay = 0; in glock_work_func() local
712 delay = holdtime - now; in glock_work_func()
714 if (!delay) { in glock_work_func()
720 if (delay) { in glock_work_func()
724 delay = 0; in glock_work_func()
725 __gfs2_glock_queue_work(gl, delay); in glock_work_func()
[all …]
/fs/afs/
Dserver.c279 unsigned long delay, expiry; in afs_reap_server() local
292 delay = (expiry - now) * HZ; in afs_reap_server()
293 mod_delayed_work(afs_wq, &afs_server_reaper, delay); in afs_reap_server()
Dvlocation.c546 unsigned long delay, expiry; in afs_vlocation_reaper() local
563 delay = (expiry - now) * HZ; in afs_vlocation_reaper()
564 _debug("delay %lu", delay); in afs_vlocation_reaper()
565 mod_delayed_work(afs_wq, &afs_vlocation_reap, delay); in afs_vlocation_reaper()
/fs/hfs/
Dsuper.c72 unsigned long delay; in hfs_mark_mdb_dirty() local
79 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfs_mark_mdb_dirty()
80 queue_delayed_work(system_long_wq, &sbi->mdb_work, delay); in hfs_mark_mdb_dirty()
/fs/ocfs2/cluster/
Dtcp.c483 int delay) in o2net_sc_queue_delayed_work() argument
486 if (!queue_delayed_work(o2net_wq, work, delay)) in o2net_sc_queue_delayed_work()
566 unsigned long delay; in o2net_set_nn_state() local
569 delay = (nn->nn_last_connect_attempt + in o2net_set_nn_state()
572 if (delay > msecs_to_jiffies(o2net_reconnect_delay())) in o2net_set_nn_state()
573 delay = 0; in o2net_set_nn_state()
574 mlog(ML_CONN, "queueing conn attempt in %lu jiffies\n", delay); in o2net_set_nn_state()
575 queue_delayed_work(o2net_wq, &nn->nn_connect_work, delay); in o2net_set_nn_state()
586 delay += msecs_to_jiffies(o2net_idle_timeout()); in o2net_set_nn_state()
587 queue_delayed_work(o2net_wq, &nn->nn_connect_expired, delay); in o2net_set_nn_state()
/fs/affs/
Dsuper.c81 unsigned long delay; in affs_mark_sb_dirty() local
88 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in affs_mark_sb_dirty()
89 queue_delayed_work(system_long_wq, &sbi->sb_work, delay); in affs_mark_sb_dirty()
/fs/xfs/
Dxfs_bmap_util.h58 int rt, int eof, int delay, int convert,
Dxfs_linux.h151 static inline void delay(long ticks) in delay() function
Dxfs_icache.c681 delay(1); in xfs_iget()
880 delay(1); in xfs_inode_ag_walk()
1155 delay(2); in xfs_reclaim_inode()
Dxfs_extent_busy.c166 delay(1); in xfs_extent_busy_update_extent()
Dxfs_buf.c1694 delay(100); in xfs_wait_buftarg()
1716 delay(100); in xfs_wait_buftarg()
Dxfs_inode.c546 delay(1); /* Don't just spin the CPU */ in xfs_lock_inodes()
608 delay(1); /* Don't just spin the CPU */ in xfs_lock_two_inodes()
2368 delay(1); in xfs_ifree_cluster()
Dxfs_dquot.c800 delay(1); in xfs_qm_dqget()
Dxfs_qm.c121 delay(1); in xfs_qm_dquot_walk()
Dxfs_super.c1201 delay(100); in xfs_quiesce_attr()
/fs/hfsplus/
Dsuper.c265 unsigned long delay; in hfsplus_mark_mdb_dirty() local
272 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfsplus_mark_mdb_dirty()
273 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in hfsplus_mark_mdb_dirty()
/fs/ocfs2/dlm/
Ddlmthread.c726 int delay = 0; in dlm_thread() local
774 delay = 1; in dlm_thread()
796 if (delay) { in dlm_thread()
/fs/ubifs/
Ddebug.c2469 unsigned long delay; in power_cut_emulated() local
2474 delay = prandom_u32() % 60000; in power_cut_emulated()
2476 d->pc_timeout += msecs_to_jiffies(delay); in power_cut_emulated()
2477 ubifs_warn(c, "failing after %lums", delay); in power_cut_emulated()
2480 delay = prandom_u32() % 10000; in power_cut_emulated()
2482 d->pc_cnt_max = delay; in power_cut_emulated()
2483 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/xfs/libxfs/
Dxfs_bmap.c3096 int delay, /* creating delalloc extent? */ in xfs_bmap_extsize_align() argument
3121 if (!delay && !eof && in xfs_bmap_extsize_align()
3179 if ((delay && gotp->br_startblock == HOLESTARTBLOCK) || in xfs_bmap_extsize_align()
3180 (!delay && gotp->br_startblock == DELAYSTARTBLOCK)) in xfs_bmap_extsize_align()
5097 int delay; /* current block is delayed allocated */ in xfs_bmap_del_extent() local
5132 delay = isnullstartblock(got.br_startblock); in xfs_bmap_del_extent()
5133 ASSERT(isnullstartblock(del->br_startblock) == delay); in xfs_bmap_del_extent()
5140 if (!delay) { in xfs_bmap_del_extent()
5205 if (delay) in xfs_bmap_del_extent()
5228 if (delay) { in xfs_bmap_del_extent()
[all …]
/fs/ufs/
Dsuper.c728 unsigned long delay; in ufs_mark_sb_dirty() local
732 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in ufs_mark_sb_dirty()
733 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in ufs_mark_sb_dirty()
/fs/nfs/
Dnfs4_fs.h196 unsigned char delay : 1, member
/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/btrfs/
Ddisk-io.c1761 unsigned long delay; in transaction_kthread() local
1766 delay = HZ * fs_info->commit_interval; in transaction_kthread()
1781 delay = HZ * 5; in transaction_kthread()
1810 schedule_timeout(delay); in transaction_kthread()

12