Home
last modified time | relevance | path

Searched refs:kconfig (Results 1 – 25 of 125) sorted by relevance

12345

/linux/drivers/misc/lkdtm/
H A Dlkdtm.h11 #define pr_expected_config(kconfig) \ argument
13 if (IS_ENABLED(kconfig)) \
14 pr_err("Unexpected! This %s was built with " #kconfig "=y\n", \
17 pr_warn("This is probably expected, since this %s was built *without* " #kconfig "=y\n", \
23 #define pr_expected_config_param(kconfig, param) \ argument
25 if (IS_ENABLED(kconfig)) { \
28 …pr_warn("This is probably expected, since this %s was built with " #kconfig "=y but booted with '"…
32 pr_err("Unexpected! This %s was built with " #kconfig "=y and booted with '" param "=Y'\n", \
36 …pr_err("Unexpected! This %s was built with " #kconfig "=y (and booted without '" param "' specifie…
42 …pr_warn("This is probably expected, as this %s was built *without* " #kconfig "=y and booted with …
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dgenerator.py21 self.kconfig = self._read_template_file("Kconfig")
124 kconfig = self.kconfig
127 kconfig = kconfig.replace("%%MODEL_NAME%%", self.name)
128 kconfig = kconfig.replace("%%MODEL_NAME_UP%%", self.name.upper())
129 kconfig = kconfig.replace("%%MONITOR_CLASS_TYPE%%", monitor_class_type)
130 kconfig = kconfig.replace("%%DESCRIPTION%%", self.description)
131 kconfig = kconfig.replace("%%MONITOR_DEPS%%", monitor_deps)
132 return kconfig
220 kconfig = self.fill_kconfig()
221 self._create_file("Kconfig", kconfig)
/linux/scripts/kconfig/
H A Dstreamline_config.pl136 my $kconfig = $ARGV[1];
156 my ($kconfig) = @_;
164 my $source = "$ksource/$kconfig";
193 my $kconfig = $1;
195 if (!defined($read_kconfigs{$kconfig})) {
196 $read_kconfigs{$kconfig} = 1;
197 read_kconfig($kconfig);
206 $config2kfile{"CONFIG_$config"} = $kconfig;
270 if ($kconfig) {
271 read_kconfig($kconfig);
[all …]
/linux/scripts/kconfig/tests/err_recursive_dep/
H A Dexpected_stderr3 For a resolution refer to Documentation/kbuild/kconfig-language.rst
8 For a resolution refer to Documentation/kbuild/kconfig-language.rst
14 For a resolution refer to Documentation/kbuild/kconfig-language.rst
20 For a resolution refer to Documentation/kbuild/kconfig-language.rst
26 For a resolution refer to Documentation/kbuild/kconfig-language.rst
32 For a resolution refer to Documentation/kbuild/kconfig-language.rst
37 For a resolution refer to Documentation/kbuild/kconfig-language.rst
/linux/tools/testing/selftests/net/rds/
H A Drun.sh29 kconfig="$ksrc_dir/.config"
70 # Check to see if the kconfig has the required configs to generate a coverage report
73 if ! grep -x "CONFIG_GCOV_PROFILE_RDS=y" "$kconfig" > /dev/null 2>&1; then
77 if ! grep -x "CONFIG_GCOV_KERNEL=y" "$kconfig" > /dev/null 2>&1; then
81 if grep -x "CONFIG_GCOV_PROFILE_ALL=y" "$kconfig" > /dev/null 2>&1; then
98 if ! grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then
105 if grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then
126 if ! test -e "$kconfig"; then
/linux/tools/testing/selftests/rcutorture/bin/
H A Dconfigcheck.sh42 sed -e 's/^/test_kconfig_disabled /' -e 's/=n$//' > $T/kconfig-n.sh
43 . $T/kconfig-n.sh
45 sed -e 's/^/test_kconfig_enabled /' > $T/kconfig-not-n.sh
46 . $T/kconfig-not-n.sh
H A Dtorture.sh409 …torture_one "$@" --kconfig "CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y ${kcsan_expert} ${chk…
475 …results-rcutasksflavors/$flavor" --buildonly --configs "TINY01 TREE04" --kconfig "CONFIG_RCU_EXPER…
511 …cpus --duration "$duration_scftorture" --configs "$configs_scftorture" --kconfig "CONFIG_NR_CPUS=$…
522 …/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_R…
526 …/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_R…
650 …ftests/rcutorture/bin/kvm.sh --torture rcuscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRA…
688 …in/kvm.sh --torture rcuscale --allcpus --duration $duration_rcutorture --kconfig "CONFIG_NR_CPUS=$…
694 …ftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig "CONFIG_TEST_CLOC…
697 …ftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig "CONFIG_TEST_CLOC…
H A Dsrcu_lockdep.sh53 …tests/rcutorture/bin/kvm.sh --allcpus --duration 5s --configs "SRCU-P" --kconfig "CONFIG_FORCE_NEE…
86 …tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 5s --configs "SRCU-P" --kconfig
/linux/scripts/
H A Dtags.sh240 kconfig) tmp=("${regex_kconfig[@]}") ;;
298 if ! $1 --list-languages | grep -iq kconfig; then
299 setup_regex exuberant kconfig
300 KCONFIG_ARGS=(--langdef=kconfig --language-force=kconfig "${regex[@]}")
310 setup_regex emacs kconfig
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dkconfig.c127 static struct kconfig_t kconfig[__KCONFIG_LAST__] = { variable
150 if (kconfig[k]._error == KCONFIG_UNKNOWN) { in kernel_config_has()
151 if (kconfig[k].check_kconfig(&kconfig[k]._error)) in kernel_config_has()
154 ret = kconfig[k]._error == 0; in kernel_config_has()
/linux/Documentation/kbuild/
H A Dindex.rst10 kconfig-language
11 kconfig-macro-language
14 kconfig
H A Dissues.rst9 :language: kconfig
15 :language: kconfig
H A DKconfig.select-break8 # kconfig will not complain and enable this layout for configuration. This is
9 # currently a feature of kconfig, given select was designed to be heavy handed.
21 mainmenu "Simple example to demo kconfig select broken dependency issue"
H A DKconfig.recursion-issue-029 # kconfig semantics which are documented here. One known practical implication
33 # more important reason is that kconfig does not check for dependencies listed
34 # under 'select' for a symbol, when such symbols are selected kconfig them
47 mainmenu "Simple example to demo cumulative kconfig recursive dependency implication"
/linux/Documentation/translations/zh_CN/kbuild/
H A Dindex.rst15 kconfig
24 - kconfig-language
25 - kconfig-macro-language
H A Dkconfig.rst5 :Original: Documentation/kbuild/kconfig.rst
103 如果你想调试 kconfig 解析器/前端的行为,你可以将此变量设置整数值,用于初始化
/linux/tools/testing/kunit/
H A Dkunit_config.py87 kconfig = Kconfig()
97 kconfig.add_entry(match.group(1), match.group(2))
102 kconfig.add_entry(empty_match.group(1), 'n')
108 return kconfig
H A Dkunit_kernel.py106 self._kconfig = qemu_arch_params.kconfig
116 kconfig = kunit_config.parse_from_string(self._kconfig)
117 kconfig.merge_in_entries(base_kunitconfig)
118 return kconfig
148 kconfig = kunit_config.parse_file(UML_KCONFIG_PATH)
149 kconfig.merge_in_entries(base_kunitconfig)
150 return kconfig
266 kconfig = kunit_config.parse_from_string('\n'.join(kconfig_add))
267 self._kconfig.merge_in_entries(kconfig)
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlsm_cgroup.c174 if (!(skel->kconfig->CONFIG_SECURITY_APPARMOR in test_lsm_cgroup_functional()
175 || skel->kconfig->CONFIG_SECURITY_SELINUX in test_lsm_cgroup_functional()
176 || skel->kconfig->CONFIG_SECURITY_SMACK)) in test_lsm_cgroup_functional()
240 if (skel->kconfig->CONFIG_SECURITY_APPARMOR in test_lsm_cgroup_functional()
241 || skel->kconfig->CONFIG_SECURITY_SELINUX in test_lsm_cgroup_functional()
242 || skel->kconfig->CONFIG_SECURITY_SMACK) in test_lsm_cgroup_functional()
H A Dstacktrace_ips.c62 if (!skel->kconfig->CONFIG_UNWINDER_ORC) { in test_stacktrace_ips_kprobe_multi()
109 if (!skel->kconfig->CONFIG_UNWINDER_ORC) { in test_stacktrace_ips_raw_tp()
152 if (!skel->kconfig->CONFIG_UNWINDER_ORC) {
195 if (!skel->kconfig->CONFIG_UNWINDER_ORC) {
/linux/tools/testing/selftests/kho/
H A Dvmtest.sh56 local kconfig="$build_dir/.config"
59 tee "$kconfig" > "$kho_config" <<EOF
74 grep "$opt" "$kconfig" &>/dev/null || skip "$opt is missing"
/linux/tools/testing/ktest/
H A Dktest.pl3705 my ($kconfig) = @_;
3714 if (! -f $kconfig) {
3715 doprint "file $kconfig does not exist, skipping\n";
3719 open(KIN, "$kconfig")
3720 or dodie "Can't open $kconfig";
3785 foreach $kconfig (@kconfigs) {
3786 if (!defined($read_kconfigs{$kconfig})) {
3787 $read_kconfigs{$kconfig} = 1;
3788 read_kconfig("$builddir/$kconfig");
3818 my $kconfig = "$builddir/arch/$arch/Kconfig";
[all …]
/linux/Documentation/translations/zh_TW/process/
H A Dsubmit-checklist.rst48 它們符合 ``Documentation/kbuild/kconfig-language.rst`` 菜單屬性:默認值中
51 7) 所有新的 ``kconfig`` 選項都有幫助文本。
/linux/Documentation/translations/zh_CN/process/
H A Dsubmit-checklist.rst45 它们符合 ``Documentation/kbuild/kconfig-language.rst`` 菜单属性:默认值中
48 7) 所有新的 ``kconfig`` 选项都有帮助文本。
/linux/tools/lib/python/feat/
H A Dparse_features.py114 kconfig = ""
140 kconfig = match.group(1)
143 len(kconfig))
198 if not kconfig:
211 "kconfig": kconfig,

12345