Home
last modified time | relevance | path

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

/linux-4.19.296/fs/gfs2/
Dglock.c195 if (!test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_add_to_lru()
196 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
209 if (test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_remove_from_lru()
212 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
429 clear_bit(GLF_QUEUED, &gl->gl_flags); in state_change()
442 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
444 wake_up_bit(&gl->gl_flags, GLF_DEMOTE); in gfs2_demote_wake()
467 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote()
473 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote()
510 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote()
[all …]
Dtrans.c183 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
184 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
226 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
227 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.c77 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
157 set_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
161 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
237 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags()
293 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
Dglops.c160 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
255 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
277 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);
Dlog.c612 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
619 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
796 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) { in gfs2_log_flush()
Dsuper.c1332 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1485 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1486 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1681 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in gfs2_evict_inode()
Drgrp.c1293 int demote_requested = test_bit(GLF_DEMOTE, &gh->gh_gl->gl_flags) | in gfs2_rgrp_go_unlock()
1294 test_bit(GLF_PENDING_DEMOTE, &gh->gh_gl->gl_flags); in gfs2_rgrp_go_unlock()
2005 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
2006 !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()
778 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
786 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
Dincore.h356 unsigned long gl_flags; /* GLF_... */ member
Dlops.c127 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
Dfile.c422 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()