Home
last modified time | relevance | path

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

1234

/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")
130 kconfig = self.kconfig
133 kconfig = kconfig.replace("%%MODEL_NAME%%", self.name)
134 kconfig = kconfig.replace("%%MODEL_NAME_UP%%", self.name.upper())
135 kconfig = kconfig.replace("%%MONITOR_CLASS_TYPE%%", monitor_class_type)
136 kconfig = kconfig.replace("%%DESCRIPTION%%", self.description)
137 kconfig = kconfig.replace("%%MONITOR_DEPS%%", monitor_deps)
138 return kconfig
241 kconfig = self.fill_kconfig()
242 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.sh26 kconfig="$ksrc_dir/.config"
70 if ! grep -x "CONFIG_GCOV_PROFILE_RDS=y" "$kconfig" > /dev/null 2>&1; then
74 if ! grep -x "CONFIG_GCOV_KERNEL=y" "$kconfig" > /dev/null 2>&1; then
78 if grep -x "CONFIG_GCOV_PROFILE_ALL=y" "$kconfig" > /dev/null 2>&1; then
95 if ! grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then
102 if grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then
123 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_rdr_state}" $kcsan_kmake_tag $cur_kcsan_kmake_args --kcsan
475 tools/testing/selftests/rcutorture/bin/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --buildonly --configs "TINY01 TREE04" --kconfig "CONFIG_RCU_EXPERT=y CONFIG_RCU_SCALE_TEST=y CONFIG_KPROBES=n CONFIG_RCU_TRACE=n CONFIG_TRACING=n CONFIG_BLK_DEV_IO_TRACE=n CONFIG_UPROBE_EVENTS=n $forceflavor=y $deselectedflavors" --trust-make > $T/$flavor.out 2>&1
511 torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftorture" --kconfig "CONFIG_NR_CPUS=$SCALE_ALLOTED_CPUS" --memory ${scfmem}G --trust-make
522 torture_set "rcurttorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_RT=y CONFIG_EXPERT=y CONFIG_HZ_PERIODIC=n CONFIG_NO_HZ_IDLE=y CONFIG_RCU_NOCB_CPU=y" --trust-make
526 torture_set "rcurttorture-exp" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_RT=y CONFIG_EXPERT=y CONFIG_HZ_PERIODIC=n CONFIG_NO_HZ_FULL=y CONFIG_RCU_NOCB_CPU=y" --trust-make
601 torture_set "refscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture refscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_RCU=y CONFIG_NR_CPUS=$SCALE_ALLOTED_CPUS" --bootargs "refscale.verbose_batched=$VERBOSE_BATCH_CPUS torture.verbose_sleep_frequency=8 torture.verbose_sleep_duration=$VERBOSE_BATCH_CPUS" --trust-make
650 torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_RCU=y CONFIG_NR_CPUS=$SCALE_ALLOTED_CPUS" --trust-make
688 torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --allcpus --duration $duration_rcutorture --kconfig "CONFIG_NR_CPUS=$SCALE_ALLOTED_CPUS" --memory 2G --trust-make
694 torture_set "clocksourcewd-1" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig "CONFIG_TEST_CLOCKSOURCE_WATCHDOG=y" --trust-make
697 torture_set "clocksourcewd-2" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig "CONFIG_TEST_CLOCKSOURCE_WATCHDO
[all...]
/linux/scripts/
H A Dtags.sh239 kconfig) tmp=("${regex_kconfig[@]}") ;;
297 if ! $1 --list-languages | grep -iq kconfig; then
298 setup_regex exuberant kconfig
299 KCONFIG_ARGS=(--langdef=kconfig --language-force=kconfig "${regex[@]}")
309 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/translations/zh_CN/kbuild/
H A Dindex.rst15 kconfig
24 - kconfig-language
25 - kconfig-macro-language
/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/Documentation/kbuild/
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/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.pl3662 my ($kconfig) = @_;
3671 if (! -f $kconfig) {
3672 doprint "file $kconfig does not exist, skipping\n";
3676 open(KIN, "$kconfig")
3677 or dodie "Can't open $kconfig";
3742 foreach $kconfig (@kconfigs) {
3743 if (!defined($read_kconfigs{$kconfig})) {
3744 $read_kconfigs{$kconfig} = 1;
3745 read_kconfig("$builddir/$kconfig");
3775 my $kconfig = "$builddir/arch/$arch/Kconfig";
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstacktrace_ips.c62 if (!skel->kconfig->CONFIG_UNWINDER_ORC) { in test_stacktrace_ips_kprobe_multi()
100 if (!skel->kconfig->CONFIG_UNWINDER_ORC) { in test_stacktrace_ips_raw_tp()
/linux/tools/lib/python/feat/
H A Dparse_features.py101 kconfig = ""
127 kconfig = match.group(1)
130 len(kconfig))
185 if not kconfig:
198 "kconfig": kconfig,
/linux/tools/testing/kunit/qemu_configs/
H A Di386.py4 kconfig='''
H A Dm68k.py5 kconfig='''
H A Darm.py4 kconfig='''
H A Dalpha.py4 kconfig='''
H A Dpowerpc.py4 kconfig='''
H A Ds390.py4 kconfig='''

1234