Home
last modified time | relevance | path

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

/linux-4.4.14/fs/gfs2/
Dglock.c140 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
150 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
332 clear_bit(GLF_QUEUED, &gl->gl_flags); in state_change()
345 clear_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_demote_wake()
347 wake_up_bit(&gl->gl_flags, GLF_DEMOTE); in gfs2_demote_wake()
370 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote()
376 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote()
413 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote()
430 clear_bit(GLF_LOCK, &gl->gl_flags); in finish_xmote()
458 set_bit(GLF_INVALIDATE_IN_PROGRESS, &gl->gl_flags); in do_xmote()
[all …]
Dtrans.c187 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
188 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
207 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in meta_lo_add()
208 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in meta_lo_add()
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()
294 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
Dglops.c155 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
218 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
239 clear_bit(GLF_DIRTY, &gl->gl_flags); in inode_go_sync()
Dtrace_gfs2.h114 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
147 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
182 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
Dsuper.c1304 if (gl && test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1434 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1435 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1578 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in gfs2_evict_inode()
Dlops.c126 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
663 clear_bit(GLF_LFLUSH, &gl->gl_flags); in revoke_lo_after_commit()
Dlog.c590 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
713 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) { in gfs2_log_flush()
Drgrp.c1276 int demote_requested = test_bit(GLF_DEMOTE, &gh->gh_gl->gl_flags) | in gfs2_rgrp_go_unlock()
1277 test_bit(GLF_PENDING_DEMOTE, &gh->gh_gl->gl_flags); in gfs2_rgrp_go_unlock()
1959 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
1960 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
Dincore.h333 unsigned long gl_flags; /* GLF_... */ member
Dfile.c415 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h504 __u32 gl_flags;/* see LDLM_GL_WORK_* below */ member
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c3158 LASSERTF((int)offsetof(struct ldlm_gl_lquota_desc, gl_flags) == 16, "found %lld\n", in lustre_assert_wire_constants()
3159 (long long)(int)offsetof(struct ldlm_gl_lquota_desc, gl_flags)); in lustre_assert_wire_constants()
3160 LASSERTF((int)sizeof(((struct ldlm_gl_lquota_desc *)0)->gl_flags) == 8, "found %lld\n", in lustre_assert_wire_constants()
3161 (long long)(int)sizeof(((struct ldlm_gl_lquota_desc *)0)->gl_flags)); in lustre_assert_wire_constants()
Dpack_generic.c1632 __swab64s(&desc->lquota_desc.gl_flags); in lustre_swab_gl_desc()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c1699 if ((gl_work->gl_flags & LDLM_GL_WORK_NOFREE) == 0) in ldlm_work_gl_ast_lock()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h1980 __u64 gl_flags; /* see LQUOTA_FL* below */ member