Home
last modified time | relevance | path

Searched refs:gl_flags (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/fs/gfs2/
H A Dglock.c225 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
238 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
570 set_bit(nr, &gl->gl_flags); in gfs2_set_demote()
578 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
669 clear_bit(GLF_LOCK, &gl->gl_flags); in finish_xmote()
716 &gl->gl_flags)) in do_xmote()
857 set_bit(GLF_LOCK, &gl->gl_flags); in run_queue()
889 clear_bit(GLF_LOCK, &gl->gl_flags); in run_queue()
896 clear_bit(GLF_LOCK, &gl->gl_flags); in run_queue()
1206 gl->gl_flags = BIT(GLF_INITIAL); in gfs2_glock_get()
[all …]
H A Dglops.c202 if (!rgd || !test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
318 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
343 clear_bit(GLF_DIRTY, &gl->gl_flags); in inode_go_sync()
369 set_bit(GLF_INSTANTIATE_NEEDED, &gl->gl_flags); in inode_go_inval()
652 if (!test_bit(GLF_UNLOCKED, &gl->gl_flags)) in inode_go_unlocked()
654 clear_bit_unlock(GLF_UNLOCKED, &gl->gl_flags); in inode_go_unlocked()
655 wake_up_bit(&gl->gl_flags, GLF_UNLOCKED); in inode_go_unlocked()
676 clear_bit(GLF_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
677 clear_bit(GLF_PENDING_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
H A Dtrans.c218 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
219 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
262 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
263 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
H A Dutil.c189 wait_on_bit(&i_gl->gl_flags, GLF_DEMOTE, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
210 set_bit(GLF_UNLOCKED, &i_gl->gl_flags); in signal_our_withdraw()
211 wait_on_bit(&i_gl->gl_flags, GLF_UNLOCKED, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
H A Dglock.h290 return (test_bit(GLF_DEMOTE, &gl->gl_flags) || in glock_needs_demote()
291 test_bit(GLF_PENDING_DEMOTE, &gl->gl_flags)); in glock_needs_demote()
H A Dlock_dlm.c79 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
176 clear_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
180 if (test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
265 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) { in make_flags()
304 if (test_bit(GLF_INITIAL, &gl->gl_flags)) { in gdlm_lock()
335 if (test_bit(GLF_INITIAL, &gl->gl_flags)) { in gdlm_put_lock()
340 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
H A Ddentry.c92 if (test_bit(GLF_DEMOTE, &ginode->i_iopen_gh.gh_gl->gl_flags)) in gfs2_dentry_delete()
H A Dtrace_gfs2.h123 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
156 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
191 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
H A Dsuper.c1191 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1192 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1333 test_bit(GLF_DEFER_DELETE, &ip->i_iopen_gh.gh_gl->gl_flags)) in evict_should_delete()
1431 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in evict_linked_inode()
H A Dlog.c773 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
780 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
1053 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) in gfs2_log_flush()
H A Drgrp.c1266 if (!test_bit(GLF_INSTANTIATE_NEEDED, &gh->gh_gl->gl_flags)) in update_rgrp_lvb()
1306 set_bit(GLF_INSTANTIATE_NEEDED, &rgd->rd_gl->gl_flags); in gfs2_rgrp_brelse()
2020 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
2021 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
H A Dincore.h339 unsigned long gl_flags; /* GLF_... */ member
H A Dlops.c130 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
H A Dfile.c458 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
H A Dinode.c185 set_bit(GLF_INSTANTIATE_NEEDED, &ip->i_gl->gl_flags); in gfs2_inode_lookup()
H A Dbmap.c1183 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_iomap_end()