Home
last modified time | relevance | path

Searched refs:sd_flags (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/fs/gfs2/
Dutil.c128 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || !sdp->sd_jdesc) in signal_our_withdraw()
138 set_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw()
150 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in signal_our_withdraw()
176 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw()
259 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw()
302 wake_up_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY); in signal_our_withdraw()
311 test_bit(SDF_WITHDRAWN, &sdp->sd_flags)) in gfs2_lm()
327 unsigned long old = READ_ONCE(sdp->sd_flags), new; in gfs2_withdraw()
331 wait_on_bit(&sdp->sd_flags, in gfs2_withdraw()
337 } while (unlikely(!try_cmpxchg(&sdp->sd_flags, &old, new))); in gfs2_withdraw()
[all …]
Dutil.h197 set_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdraw_delayed()
206 return test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in gfs2_withdrawn()
207 test_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdrawn()
216 return test_bit(SDF_WITHDRAWING, &sdp->sd_flags) && in gfs2_withdrawing()
217 !test_bit(SDF_WITHDRAWN, &sdp->sd_flags); in gfs2_withdrawing()
222 return test_bit(SDF_WITHDRAW_IN_PROG, &sdp->sd_flags); in gfs2_withdraw_in_prog()
Dsuper.c159 set_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_rw()
547 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_ro()
549 if (!test_bit(SDF_KILL, &sdp->sd_flags)) in gfs2_make_fs_ro()
589 set_bit(SDF_NORECOVERY, &sdp->sd_flags); in gfs2_put_super()
685 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) { in gfs2_freeze_locally()
724 if (test_bit(SDF_FROZEN, &sdp->sd_flags)) in gfs2_freeze_func()
732 set_bit(SDF_FROZEN, &sdp->sd_flags); in gfs2_freeze_func()
738 clear_bit(SDF_FROZEN, &sdp->sd_flags); in gfs2_freeze_func()
763 if (test_bit(SDF_FROZEN, &sdp->sd_flags)) in gfs2_freeze_super()
797 set_bit(SDF_FREEZE_INITIATOR, &sdp->sd_flags); in gfs2_freeze_super()
[all …]
Dsys.c68 unsigned long f = sdp->sd_flags; in status_show()
337 if (!test_and_set_bit(SDF_DEMOTE, &sdp->sd_flags)) in demote_rq_store()
478 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in lkfirst_store()
540 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags)) { in recover_store()
583 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in jid_store()
589 clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); in jid_store()
591 wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); in jid_store()
787 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_uevent()
Dglops.c601 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) { in freeze_go_xmote_bh()
641 test_bit(SDF_KILL, &sdp->sd_flags)) in iopen_go_callback()
692 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || in nondisk_go_callback()
693 test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in nondisk_go_callback()
694 test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) in nondisk_go_callback()
708 set_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in nondisk_go_callback()
Dlog.c375 if (test_bit(SDF_WITHDRAWING, &sdp->sd_flags)) { in gfs2_ail1_empty()
918 gfs2_assert_withdraw(sdp, !test_bit(SDF_FROZEN, &sdp->sd_flags)); in log_write_header()
920 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) { in log_write_header()
1038 bool frozen = test_bit(SDF_FROZEN, &sdp->sd_flags); in gfs2_log_flush()
1050 if (gfs2_withdrawn(sdp) || !test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_log_flush()
1092 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_log_flush()
1321 if (test_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags) || in gfs2_logd()
1323 clear_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags); in gfs2_logd()
1336 test_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags) || in gfs2_logd()
Drecovery.c470 if (test_bit(SDF_FROZEN, &sdp->sd_flags)) { in gfs2_recover_func()
477 if (test_bit(SDF_RORECOVERY, &sdp->sd_flags)) { in gfs2_recover_func()
479 } else if (test_bit(SDF_JOURNAL_CHECKED, &sdp->sd_flags)) { in gfs2_recover_func()
480 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_recover_func()
Dops_fstype.c87 set_bit(SDF_NOJOURNALID, &sdp->sd_flags); in init_sbd()
850 set_bit(SDF_JOURNAL_CHECKED, &sdp->sd_flags); in init_journal()
1040 if (test_and_clear_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_lm_mount()
1086 return wait_on_bit(&sdp->sd_flags, SDF_NOJOURNALID, TASK_INTERRUPTIBLE) in wait_on_journal()
1173 set_bit(SDF_RORECOVERY, &sdp->sd_flags); in gfs2_fill_super()
1178 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_fill_super()
1620 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure()
1622 clear_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure()
1758 set_bit(SDF_EVICTING, &sdp->sd_flags); in gfs2_evict_inodes()
1805 set_bit(SDF_KILL, &sdp->sd_flags); in gfs2_kill_sb()
Dlock_dlm.c307 if (test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags) && in gdlm_put_lock()
621 if (test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) { in gfs2_control_func()
623 clear_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in gfs2_control_func()
1322 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) { in gdlm_mount()
1340 clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); in gdlm_mount()
1342 wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); in gdlm_mount()
Dtrans.c52 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()
Dglock.c764 test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags))) { in do_xmote()
792 test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags)) { in do_xmote()
1025 if (test_bit(SDF_KILL, &sdp->sd_flags)) in delete_work_func()
1038 !test_bit(SDF_KILL, &sdp->sd_flags) && in delete_work_func()
1677 if (test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags) && in gfs2_glock_dq()
1683 wait_on_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY, in gfs2_glock_dq()
2189 set_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags); in gfs2_gl_hash_clear()
Dquota.c325 if (unlikely(!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags))) { in qd_put()
1496 BUG_ON(!test_bit(SDF_NORECOVERY, &sdp->sd_flags) && in gfs2_quota_cleanup()
1497 test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)); in gfs2_quota_cleanup()
Dincore.h689 unsigned long sd_flags; /* SDF_... */ member
Daops.c193 set_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags); in gfs2_writepages()
Dlops.c215 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_end_log_write()
Drgrp.c1404 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_fitrim()
/linux-6.6.21/arch/powerpc/kernel/
Dsmp.c1709 if (powerpc_topology[i].sd_flags && powerpc_topology[i - 1].sd_flags && in fixup_topology()
1710 powerpc_topology[i].sd_flags != powerpc_topology[i - 1].sd_flags) in fixup_topology()
1713 if (!powerpc_topology[i - 1].sd_flags) in fixup_topology()
1714 powerpc_topology[i - 1].sd_flags = powerpc_topology[i].sd_flags; in fixup_topology()
1717 powerpc_topology[i].sd_flags = powerpc_topology[i + 1].sd_flags; in fixup_topology()
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
Dsched-domains.rst63 实现者需要阅读include/linux/sched/sd_flags.h的注释:读SD_*来了解具体情况以及调度域的
/linux-6.6.21/include/linux/sched/
Dtopology.h197 sched_domain_flags_f sd_flags; member
/linux-6.6.21/kernel/sched/
Dtopology.c1562 int sd_id, sd_weight, sd_flags = 0; in sd_init() local
1574 if (tl->sd_flags) in sd_init()
1575 sd_flags = (*tl->sd_flags)(); in sd_init()
1576 if (WARN_ONCE(sd_flags & ~TOPOLOGY_SD_FLAGS, in sd_init()
1578 sd_flags &= TOPOLOGY_SD_FLAGS; in sd_init()
1598 | sd_flags in sd_init()
1955 .sd_flags = cpu_numa_flags, in sched_init_numa()
/linux-6.6.21/Documentation/scheduler/
Dsched-domains.rst68 The implementor should read comments in include/linux/sched/sd_flags.h: