Home
last modified time | relevance | path

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

/openbmc/linux/fs/gfs2/
H A Dglock.c251 if (!test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_add_to_lru()
252 set_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_add_to_lru()
265 if (test_bit(GLF_LRU, &gl->gl_flags)) { in gfs2_glock_remove_from_lru()
268 clear_bit(GLF_LRU, &gl->gl_flags); in gfs2_glock_remove_from_lru()
463 if (!test_bit(GLF_INSTANTIATE_NEEDED, &gl->gl_flags)) in gfs2_instantiate()
470 if (test_and_set_bit(GLF_INSTANTIATE_IN_PROG, &gl->gl_flags)) { in gfs2_instantiate()
471 wait_on_bit(&gl->gl_flags, GLF_INSTANTIATE_IN_PROG, in gfs2_instantiate()
485 clear_bit(GLF_INSTANTIATE_NEEDED, &gl->gl_flags); in gfs2_instantiate()
486 clear_and_wake_up_bit(GLF_INSTANTIATE_IN_PROG, &gl->gl_flags); in gfs2_instantiate()
580 set_bit(GLF_DEMOTE, &gl->gl_flags); in gfs2_set_demote()
[all …]
H A Dglops.c202 if (!rgd || !test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync()
318 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
343 clear_bit(GLF_DIRTY, &gl->gl_flags); in inode_go_sync()
369 set_bit(GLF_INSTANTIATE_NEEDED, &gl->gl_flags); in inode_go_inval()
667 if (!test_bit(GLF_FREEING, &gl->gl_flags)) in inode_go_free()
669 clear_bit_unlock(GLF_FREEING, &gl->gl_flags); in inode_go_free()
670 wake_up_bit(&gl->gl_flags, GLF_FREEING); in inode_go_free()
691 clear_bit(GLF_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
692 clear_bit(GLF_PENDING_DEMOTE, &gl->gl_flags); in nondisk_go_callback()
H A Dtrans.c218 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
219 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_data()
262 set_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
263 set_bit(GLF_DIRTY, &bd->bd_gl->gl_flags); in gfs2_trans_add_meta()
H A Dutil.c189 wait_on_bit(&i_gl->gl_flags, GLF_DEMOTE, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
210 set_bit(GLF_FREEING, &i_gl->gl_flags); in signal_our_withdraw()
211 wait_on_bit(&i_gl->gl_flags, GLF_FREEING, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
H A Ddentry.c97 if (test_bit(GLF_DEMOTE, &ginode->i_iopen_gh.gh_gl->gl_flags)) in gfs2_dentry_delete()
H A Dlock_dlm.c79 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
166 set_bit(GLF_INITIAL, &gl->gl_flags); in gdlm_ast()
170 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast()
244 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags()
309 clear_bit(GLF_BLOCKING, &gl->gl_flags); in gdlm_put_lock()
H A Dsuper.c1041 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1209 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1210 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1326 test_bit(GLF_DEMOTE, &ip->i_gl->gl_flags), in gfs2_upgrade_iopen_glock()
1462 if (test_bit(GLF_DIRTY, &ip->i_gl->gl_flags)) { in evict_linked_inode()
H A 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);
H A Dlog.c785 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
792 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
1055 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) in gfs2_log_flush()
H A Drgrp.c1266 if (!test_bit(GLF_INSTANTIATE_NEEDED, &gh->gh_gl->gl_flags)) in update_rgrp_lvb()
1306 set_bit(GLF_INSTANTIATE_NEEDED, &rgd->rd_gl->gl_flags); in gfs2_rgrp_brelse()
2022 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in fast_to_acquire()
2023 !test_bit(GLF_DEMOTE, &gl->gl_flags)) in fast_to_acquire()
H A Dincore.h338 unsigned long gl_flags; /* GLF_... */ member
H A Dlops.c130 clear_bit(GLF_LFLUSH, &bd->bd_gl->gl_flags); in gfs2_unpin()
H A Dfile.c458 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
H A Dinode.c185 set_bit(GLF_INSTANTIATE_NEEDED, &ip->i_gl->gl_flags); in gfs2_inode_lookup()
H A Dbmap.c1180 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_iomap_end()
/openbmc/u-boot/common/
H A Dcli_hush.c2089 pglob->gl_pathc, pglob->gl_pathv, pglob->gl_offs, pglob->gl_flags);