/linux-6.1.9/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() 178 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw() 190 if (test_bit(SDF_FS_FROZEN, &sdp->sd_flags)) { in signal_our_withdraw() 268 clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); in signal_our_withdraw() 311 wake_up_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY); in signal_our_withdraw() 320 test_bit(SDF_WITHDRAWN, &sdp->sd_flags)) in gfs2_lm() 336 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() 777 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_uevent()
|
D | glops.c | 571 !test_bit(SDF_NORECOVERY, &sdp->sd_flags)) { in freeze_go_sync() 584 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in freeze_go_sync() 605 if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) { in freeze_go_xmote_bh() 701 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || in nondisk_go_callback() 702 test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in nondisk_go_callback() 703 test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) in nondisk_go_callback() 717 set_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in nondisk_go_callback()
|
D | super.c | 155 set_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_rw() 523 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_make_fs_ro() 571 set_bit(SDF_NORECOVERY, &sdp->sd_flags); in gfs2_put_super() 672 clear_bit_unlock(SDF_FS_FROZEN, &sdp->sd_flags); in gfs2_freeze_func() 673 wake_up_bit(&sdp->sd_flags, SDF_FS_FROZEN); in gfs2_freeze_func() 716 set_bit(SDF_FS_FROZEN, &sdp->sd_flags); in gfs2_freeze() 741 return wait_on_bit(&sdp->sd_flags, SDF_FS_FROZEN, TASK_INTERRUPTIBLE); in gfs2_unfreeze() 1063 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) in gfs2_show_options() 1065 if (test_bit(SDF_DEMOTE, &sdp->sd_flags)) in gfs2_show_options()
|
D | lock_dlm.c | 316 if (test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags) && in gdlm_put_lock() 629 if (test_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags)) { in gfs2_control_func() 631 clear_bit(SDF_REMOTE_WITHDRAW, &sdp->sd_flags); in gfs2_control_func() 1330 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) { in gdlm_mount() 1348 clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); in gdlm_mount() 1350 wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); in gdlm_mount()
|
D | recovery.c | 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()
|
D | ops_fstype.c | 87 set_bit(SDF_NOJOURNALID, &sdp->sd_flags); in init_sbd() 853 set_bit(SDF_JOURNAL_CHECKED, &sdp->sd_flags); in init_journal() 1044 if (test_and_clear_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_lm_mount() 1090 return wait_on_bit(&sdp->sd_flags, SDF_NOJOURNALID, TASK_INTERRUPTIBLE) in wait_on_journal() 1158 set_bit(SDF_RORECOVERY, &sdp->sd_flags); in gfs2_fill_super() 1163 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_fill_super() 1610 set_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure() 1612 clear_bit(SDF_NOBARRIERS, &sdp->sd_flags); in gfs2_reconfigure()
|
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 | log.c | 366 if (test_bit(SDF_WITHDRAWING, &sdp->sd_flags)) { in gfs2_ail1_empty() 912 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) { in log_write_header() 1042 if (gfs2_withdrawn(sdp) || !test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_log_flush() 1084 clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags); in gfs2_log_flush() 1279 if (test_and_clear_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags)) in gfs2_ail_flush_reqd()
|
D | glock.c | 834 test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags))) { in do_xmote() 862 test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags)) { in do_xmote() 1642 if (test_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags) && in __gfs2_glock_dq() 1648 wait_on_bit(&sdp->sd_flags, SDF_WITHDRAW_RECOVERY, in __gfs2_glock_dq() 2261 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 | 193 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 | 1404 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_fitrim()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | smp.c | 1696 if (powerpc_topology[i].sd_flags && powerpc_topology[i - 1].sd_flags && in fixup_topology() 1697 powerpc_topology[i].sd_flags != powerpc_topology[i - 1].sd_flags) in fixup_topology() 1700 if (!powerpc_topology[i - 1].sd_flags) in fixup_topology() 1701 powerpc_topology[i - 1].sd_flags = powerpc_topology[i].sd_flags; in fixup_topology() 1704 powerpc_topology[i].sd_flags = powerpc_topology[i + 1].sd_flags; in fixup_topology()
|
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/ |
D | sched-domains.rst | 63 实现者需要阅读include/linux/sched/sd_flags.h的注释:读SD_*来了解具体情况以及调度域的
|
/linux-6.1.9/kernel/sched/ |
D | topology.c | 1546 int sd_id, sd_weight, sd_flags = 0; in sd_init() local 1558 if (tl->sd_flags) in sd_init() 1559 sd_flags = (*tl->sd_flags)(); in sd_init() 1560 if (WARN_ONCE(sd_flags & ~TOPOLOGY_SD_FLAGS, in sd_init() 1562 sd_flags &= TOPOLOGY_SD_FLAGS; in sd_init() 1582 | sd_flags in sd_init() 1939 .sd_flags = cpu_numa_flags, in sched_init_numa()
|
/linux-6.1.9/include/linux/sched/ |
D | topology.h | 197 sched_domain_flags_f sd_flags; member
|
/linux-6.1.9/Documentation/scheduler/ |
D | sched-domains.rst | 68 The implementor should read comments in include/linux/sched/sd_flags.h:
|