Home
last modified time | relevance | path

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

/fs/gfs2/
Dglock.c192 if (!test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_add_to_lru()
193 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
206 if (test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_remove_from_lru()
209 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
431 clear_bit(GLF_QUEUED, &gl->gl_flags); in state_change()
444 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
446 wake_up_bit(&gl->gl_flags, GLF_DEMOTE); in gfs2_demote_wake()
469 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote()
475 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote()
513 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote()
[all …]
Dtrans.c176 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
177 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
219 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
220 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
Dlock_dlm.c74 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
154 set_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
158 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
234 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags()
291 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
Ddentry.c97 if (test_bit(GLF_DEMOTE, &ginode->i_iopen_gh.gh_gl->gl_flags)) in gfs2_dentry_delete()
Dglops.c156 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
251 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
273 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.c1000 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1149 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1150 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1335 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in gfs2_evict_inode()
Dlog.c608 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
615 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
800 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) { in gfs2_log_flush()
Drgrp.c1311 int demote_requested = test_bit(GLF_DEMOTE, &gh->gh_gl->gl_flags) | in gfs2_rgrp_go_unlock()
1312 test_bit(GLF_PENDING_DEMOTE, &gh->gh_gl->gl_flags); in gfs2_rgrp_go_unlock()
2015 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
2016 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
Dinode.c728 BUG_ON(test_and_set_bit(GLF_INODE_CREATING, &io_gl->gl_flags)); in gfs2_create_inode()
774 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
783 clear_bit(GLF_INODE_CREATING, &io_gl->gl_flags); in gfs2_create_inode()
Dincore.h349 unsigned long gl_flags; /* GLF_... */ member
Dlops.c126 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
Dfile.c475 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
Dbmap.c1249 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_iomap_end()