Home
last modified time | relevance | path

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

/Linux-v4.19/fs/gfs2/
Dglock.c194 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
207 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
424 clear_bit(GLF_QUEUED, &gl->gl_flags); in state_change()
437 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
439 wake_up_bit(&gl->gl_flags, GLF_DEMOTE); in gfs2_demote_wake()
462 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote()
468 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote()
505 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote()
522 clear_bit(GLF_LOCK, &gl->gl_flags); in finish_xmote()
553 set_bit(GLF_INVALIDATE_IN_PROGRESS, &gl->gl_flags); in do_xmote()
[all …]
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()
Ddentry.c123 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()
156 set_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
160 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
236 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags()
293 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
Dglops.c158 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
253 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
275 clear_bit(GLF_DIRTY, &gl->gl_flags); in inode_go_sync()
Dtrace_gfs2.h116 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
149 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
184 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
Dsuper.c1329 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1478 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1479 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1666 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in gfs2_evict_inode()
Dlops.c127 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
666 clear_bit(GLF_LFLUSH, &gl->gl_flags); in revoke_lo_after_commit()
Dlog.c608 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
784 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) { in gfs2_log_flush()
Drgrp.c1278 int demote_requested = test_bit(GLF_DEMOTE, &gh->gh_gl->gl_flags) | in gfs2_rgrp_go_unlock()
1279 test_bit(GLF_PENDING_DEMOTE, &gh->gh_gl->gl_flags); in gfs2_rgrp_go_unlock()
1986 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
1987 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
Dinode.c731 BUG_ON(test_and_set_bit(GLF_INODE_CREATING, &io_gl->gl_flags)); in gfs2_create_inode()
775 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
784 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
Dincore.h356 unsigned long gl_flags; /* GLF_... */ member
Dfile.c422 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()