Home
last modified time | relevance | path

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

/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.c664 unsigned long delay = 0; in glock_work_func() local
680 delay = holdtime - now; in glock_work_func()
682 if (!delay) { in glock_work_func()
689 if (!delay) in glock_work_func()
693 delay = 0; in glock_work_func()
694 if (queue_delayed_work(glock_workqueue, &gl->gl_work, delay) == 0) in glock_work_func()
915 unsigned long delay, bool remote) in handle_callback() argument
917 int bit = delay ? GLF_PENDING_DEMOTE : GLF_DEMOTE; in handle_callback()
1089 unsigned delay = 0; in gfs2_glock_dq() local
1122 delay = gl->gl_hold_time; in gfs2_glock_dq()
[all …]
/fs/afs/
Dserver.c274 unsigned long delay, expiry; in afs_reap_server() local
287 delay = (expiry - now) * HZ; in afs_reap_server()
288 mod_delayed_work(afs_wq, &afs_server_reaper, delay); in afs_reap_server()
Dvlocation.c545 unsigned long delay, expiry; in afs_vlocation_reaper() local
562 delay = (expiry - now) * HZ; in afs_vlocation_reaper()
563 _debug("delay %lu", delay); in afs_vlocation_reaper()
564 mod_delayed_work(afs_wq, &afs_vlocation_reap, delay); in afs_vlocation_reaper()
/fs/xfs/
Dtime.h26 static inline void delay(long ticks) in delay() function
Dxfs_icache.c452 delay(1); in xfs_iget()
612 delay(1); in xfs_inode_ag_walk()
963 delay(2); in xfs_reclaim_inode()
Dxfs_bmap.c3500 int delay, /* creating delalloc extent? */ in xfs_bmap_extsize_align() argument
3525 if (!delay && !eof && in xfs_bmap_extsize_align()
3571 if ((delay && gotp->br_startblock == HOLESTARTBLOCK) || in xfs_bmap_extsize_align()
3572 (!delay && gotp->br_startblock == DELAYSTARTBLOCK)) in xfs_bmap_extsize_align()
5143 int delay; /* current block is delayed allocated */ in xfs_bmap_del_extent() local
5177 delay = isnullstartblock(got.br_startblock); in xfs_bmap_del_extent()
5178 ASSERT(isnullstartblock(del->br_startblock) == delay); in xfs_bmap_del_extent()
5185 if (!delay) { in xfs_bmap_del_extent()
5248 if (delay) in xfs_bmap_del_extent()
5271 if (delay) { in xfs_bmap_del_extent()
[all …]
Dxfs_extent_busy.c176 delay(1); in xfs_extent_busy_update_extent()
Dxfs_vnodeops.c783 delay(1); /* Don't just spin the CPU */ in xfs_lock_inodes()
847 delay(1); /* Don't just spin the CPU */ in xfs_lock_two_inodes()
Dxfs_dquot.c845 delay(1); in xfs_qm_dqget()
Dxfs_buf.c1518 delay(100); in xfs_wait_buftarg()
Dxfs_super.c1187 delay(100); in xfs_quiesce_attr()
Dxfs_qm.c121 delay(1); in xfs_qm_dquot_walk()
Dxfs_inode.c1971 delay(1); in xfs_ifree_cluster()
/fs/ocfs2/cluster/
Dtcp.c480 int delay) in o2net_sc_queue_delayed_work() argument
483 if (!queue_delayed_work(o2net_wq, work, delay)) in o2net_sc_queue_delayed_work()
562 unsigned long delay; in o2net_set_nn_state() local
565 delay = (nn->nn_last_connect_attempt + in o2net_set_nn_state()
568 if (delay > msecs_to_jiffies(o2net_reconnect_delay())) in o2net_set_nn_state()
569 delay = 0; in o2net_set_nn_state()
570 mlog(ML_CONN, "queueing conn attempt in %lu jiffies\n", delay); in o2net_set_nn_state()
571 queue_delayed_work(o2net_wq, &nn->nn_connect_work, delay); in o2net_set_nn_state()
582 delay += msecs_to_jiffies(o2net_idle_timeout()); in o2net_set_nn_state()
583 queue_delayed_work(o2net_wq, &nn->nn_connect_expired, delay); in o2net_set_nn_state()
/fs/hfs/
Dsuper.c71 unsigned long delay; in hfs_mark_mdb_dirty() local
78 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfs_mark_mdb_dirty()
79 queue_delayed_work(system_long_wq, &sbi->mdb_work, delay); in hfs_mark_mdb_dirty()
/fs/affs/
Dsuper.c84 unsigned long delay; in affs_mark_sb_dirty() local
91 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in affs_mark_sb_dirty()
92 queue_delayed_work(system_long_wq, &sbi->sb_work, delay); in affs_mark_sb_dirty()
/fs/hfsplus/
Dsuper.c260 unsigned long delay; in hfsplus_mark_mdb_dirty() local
267 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in hfsplus_mark_mdb_dirty()
268 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in hfsplus_mark_mdb_dirty()
/fs/ocfs2/dlm/
Ddlmthread.c660 int delay = 0; in dlm_thread() local
707 delay = 1; in dlm_thread()
729 if (delay) { in dlm_thread()
/fs/ubifs/
Ddebug.c2475 unsigned long delay; in power_cut_emulated() local
2480 delay = prandom_u32() % 60000; in power_cut_emulated()
2482 d->pc_timeout += msecs_to_jiffies(delay); in power_cut_emulated()
2483 ubifs_warn("failing after %lums", delay); in power_cut_emulated()
2486 delay = prandom_u32() % 10000; in power_cut_emulated()
2488 d->pc_cnt_max = delay; in power_cut_emulated()
2489 ubifs_warn("failing after %lu calls", delay); in power_cut_emulated()
/fs/jffs2/
Dwbuf.c1178 unsigned long delay; in jffs2_dirty_trigger() local
1186 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in jffs2_dirty_trigger()
1187 queue_delayed_work(system_long_wq, &c->wbuf_dwork, delay); in jffs2_dirty_trigger()
/fs/ufs/
Dsuper.c742 unsigned long delay; in ufs_mark_sb_dirty() local
746 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in ufs_mark_sb_dirty()
747 queue_delayed_work(system_long_wq, &sbi->sync_work, delay); in ufs_mark_sb_dirty()
/fs/reiserfs/
Dsuper.c102 unsigned long delay; in reiserfs_schedule_old_flush() local
109 delay = msecs_to_jiffies(dirty_writeback_interval * 10); in reiserfs_schedule_old_flush()
110 queue_delayed_work(system_long_wq, &sbi->old_work, delay); in reiserfs_schedule_old_flush()
/fs/btrfs/
Ddisk-io.c1712 unsigned long delay; in transaction_kthread() local
1717 delay = HZ * 30; in transaction_kthread()
1731 delay = HZ * 5; in transaction_kthread()
1758 schedule_timeout(delay); in transaction_kthread()
/fs/ceph/
Dmds_client.c2965 int delay = 5; in schedule_delayed() local
2966 unsigned hz = round_jiffies_relative(HZ * delay); in schedule_delayed()