Home
last modified time | relevance | path

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

/Linux-v5.10/fs/gfs2/
Dglock.c218 if (!test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_add_to_lru()
219 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
232 if (test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_remove_from_lru()
235 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
473 set_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_set_demote()
481 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
483 wake_up_bit(&gl->gl_flags, GLF_DEMOTE); in gfs2_demote_wake()
506 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote()
512 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote()
550 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote()
[all …]
Dglops.c207 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
321 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
344 clear_bit(GLF_DIRTY, &gl->gl_flags); in inode_go_sync()
692 if (!test_bit(GLF_FREEING, &gl->gl_flags)) in inode_go_free()
694 clear_bit_unlock(GLF_FREEING, &gl->gl_flags); in inode_go_free()
695 wake_up_bit(&gl->gl_flags, GLF_FREEING); in inode_go_free()
716 clear_bit(GLF_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
717 clear_bit(GLF_PENDING_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
Dtrans.c181 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
182 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
224 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
225 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
Dutil.c144 wait_on_bit(&gl->gl_flags, GLF_DEMOTE, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
165 set_bit(GLF_FREEING, &gl->gl_flags); in signal_our_withdraw()
166 wait_on_bit(&gl->gl_flags, GLF_FREEING, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
Ddentry.c97 if (test_bit(GLF_DEMOTE, &ginode->i_iopen_gh.gh_gl->gl_flags)) in gfs2_dentry_delete()
Dlock_dlm.c76 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
158 set_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
162 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
238 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags()
295 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
Dtrace_gfs2.h115 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
148 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
183 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
Dsuper.c1053 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1202 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1203 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1312 test_bit(GLF_DEMOTE, &ip->i_gl->gl_flags), in gfs2_upgrade_iopen_glock()
1442 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in evict_linked_inode()
Dlog.c688 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
695 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
971 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) in gfs2_log_flush()
Dincore.h357 unsigned long gl_flags; /* GLF_... */ member
Dinode.c749 BUG_ON(test_and_set_bit(GLF_INODE_CREATING, &io_gl->gl_flags)); in gfs2_create_inode()
796 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
805 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
Dlops.c127 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
Drgrp.c1980 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
1981 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
Dfile.c484 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
Dbmap.c1253 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_iomap_end()