/fs/gfs2/ |
D | util.c | 127 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in signal_our_withdraw() 131 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || !sdp->sd_jdesc) in signal_our_withdraw() 141 set_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw() 153 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in signal_our_withdraw() 173 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw() 185 if (test_bit(SDF_FS_FROZEN, &sdp->sd_flags)) { in signal_our_withdraw() 260 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw() 303 wake_up_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY); in signal_our_withdraw() 312 test_bit(SDF_WITHDRAWN, &sdp->sd_flags)) in gfs2_lm() 328 test_and_set_bit(SDF_WITHDRAWN, &sdp->sd_flags)) { in gfs2_withdraw() [all …]
|
D | util.h | 198 set_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdraw_delayed() 207 return test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in gfs2_withdrawn() 208 test_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdrawn() 217 return test_bit(SDF_WITHDRAWING, &sdp->sd_flags) && in gfs2_withdrawing() 218 !test_bit(SDF_WITHDRAWN, &sdp->sd_flags); in gfs2_withdrawing() 223 return test_bit(SDF_WITHDRAW_IN_PROG, &sdp->sd_flags); in gfs2_withdraw_in_prog()
|
D | sys.c | 68 unsigned long f = sdp->sd_flags; in status_show() 327 if (!test_and_set_bit(SDF_DEMOTE, &sdp->sd_flags)) in demote_rq_store() 468 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in lkfirst_store() 530 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags)) { in recover_store() 573 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in jid_store() 579 clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); in jid_store() 581 wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); in jid_store() 778 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_uevent()
|
D | glops.c | 582 !test_bit(SDF_NORECOVERY, &sdp->sd_flags)) { in freeze_go_sync() 595 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in freeze_go_sync() 616 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) { in freeze_go_xmote_bh() 712 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || in nondisk_go_callback() 713 test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in nondisk_go_callback() 714 test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) in nondisk_go_callback() 728 set_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in nondisk_go_callback()
|
D | super.c | 159 set_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_rw() 527 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_ro() 575 set_bit(SDF_NORECOVERY, &sdp->sd_flags); in gfs2_put_super() 676 clear_bit_unlock(SDF_FS_FROZEN, &sdp->sd_flags); in gfs2_freeze_func() 677 wake_up_bit(&sdp->sd_flags, SDF_FS_FROZEN); in gfs2_freeze_func() 720 set_bit(SDF_FS_FROZEN, &sdp->sd_flags); in gfs2_freeze() 745 return wait_on_bit(&sdp->sd_flags, SDF_FS_FROZEN, TASK_INTERRUPTIBLE); in gfs2_unfreeze() 1071 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) in gfs2_show_options() 1073 if (test_bit(SDF_DEMOTE, &sdp->sd_flags)) in gfs2_show_options()
|
D | log.c | 367 if (test_bit(SDF_WITHDRAWING, &sdp->sd_flags)) { in gfs2_ail1_empty() 913 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) { in log_write_header() 1043 if (gfs2_withdrawn(sdp) || !test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_log_flush() 1085 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_log_flush() 1320 if (test_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags) || in gfs2_logd() 1322 clear_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags); in gfs2_logd() 1335 test_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags) || in gfs2_logd()
|
D | lock_dlm.c | 309 if (test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags) && in gdlm_put_lock() 616 if (test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) { in gfs2_control_func() 618 clear_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in gfs2_control_func() 1317 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) { in gdlm_mount() 1335 clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); in gdlm_mount() 1337 wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); in gdlm_mount()
|
D | ops_fstype.c | 87 set_bit(SDF_NOJOURNALID, &sdp->sd_flags); in init_sbd() 855 set_bit(SDF_JOURNAL_CHECKED, &sdp->sd_flags); in init_journal() 1046 if (test_and_clear_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_lm_mount() 1092 return wait_on_bit(&sdp->sd_flags, SDF_NOJOURNALID, TASK_INTERRUPTIBLE) in wait_on_journal() 1160 set_bit(SDF_RORECOVERY, &sdp->sd_flags); in gfs2_fill_super() 1165 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_fill_super() 1612 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure() 1614 clear_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure()
|
D | recovery.c | 479 if (test_bit(SDF_RORECOVERY, &sdp->sd_flags)) { in gfs2_recover_func() 481 } else if (test_bit(SDF_JOURNAL_CHECKED, &sdp->sd_flags)) { in gfs2_recover_func() 482 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_recover_func()
|
D | trans.c | 52 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in __gfs2_trans_begin() 96 if (unlikely(!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags))) { in __gfs2_trans_begin()
|
D | glock.c | 800 test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags))) { in do_xmote() 814 test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags)) { in do_xmote() 1580 if (test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags) && in __gfs2_glock_dq() 1586 wait_on_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY, in __gfs2_glock_dq() 2177 set_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags); in gfs2_gl_hash_clear()
|
D | incore.h | 691 unsigned long sd_flags; /* SDF_... */ member
|
D | aops.c | 217 set_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags); in gfs2_writepages()
|
D | lops.c | 215 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_end_log_write()
|
D | rgrp.c | 1417 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_fitrim() 2772 !test_bit(SDF_NORECOVERY, &rgd->rd_sbd->sd_flags)); in rgrp_lock_local()
|