Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.15/tools/perf/util/
H A Dsetup.py1 from os import getenv, path
5 cc = getenv("CC")
20 srctree = getenv('srctree')
67 cflags = getenv('CFLAGS', '').split()
81 build_lib = getenv('PYTHON_EXTBUILD_LIB')
82 build_tmp = getenv('PYTHON_EXTBUILD_TMP')
H A Dterm.c10 char *s = getenv("LINES"); in get_term_dimensions()
14 s = getenv("COLUMNS"); in get_term_dimensions()
H A Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool()
H A Dmap.c36 app_abi = getenv("APP_ABI"); in replace_android_lib()
50 apk_path = getenv("APK_PATH"); in replace_android_lib()
71 ndk = getenv("NDK_ROOT"); in replace_android_lib()
72 app = getenv("APP_PLATFORM"); in replace_android_lib()
/linux-6.15/tools/testing/selftests/tc-testing/
H A Dtdc_config_local_template.py11 ENV_LD_LIBRARY_PATH = os.getenv('LD_LIBRARY_PATH', '')
12 ENV_OTHER_LIB = os.getenv('OTHER_LIB', '')
17 EXTRA_NAMES['SOME_BIN'] = os.path.join(os.getenv('OTHER_BIN', ''), 'some_bin')
/linux-6.15/tools/lib/subcmd/
H A Dpager.c73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager()
83 pager = getenv("PAGER"); in setup_pager()
124 s = getenv("COLUMNS"); in pager_get_columns()
H A Dexec-cmd.c45 pwd = getenv("PWD"); in get_pwd_cwd()
126 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path()
150 const char *old_path = getenv("PATH"); in setup_path()
H A Dhelp.c108 char *s = getenv("LINES"); in get_term_dimensions()
112 s = getenv("COLUMNS"); in get_term_dimensions()
220 const char *env_path = getenv("PATH"); in load_command_list()
/linux-6.15/samples/landlock/
H A Dsandboxer.c125 env_path_name = getenv(env_var); in populate_ruleset_fs()
192 env_port_name = getenv(env_var); in populate_ruleset_net()
240 env_type_scope = getenv(env_var); in check_ruleset_scope()
457 env_port_name = getenv(ENV_TCP_BIND_NAME); in main()
463 env_port_name = getenv(ENV_TCP_CONNECT_NAME); in main()
473 env_force_log = getenv(ENV_FORCE_LOG_NAME); in main()
/linux-6.15/tools/testing/selftests/bpf/map_tests/
H A Dtask_storage_map.c63 cfg = getenv("TASK_STORAGE_MAP_NR_THREAD"); in test_task_storage_map_stress_lookup()
69 cfg = getenv("TASK_STORAGE_MAP_NR_LOOP"); in test_task_storage_map_stress_lookup()
72 cfg = getenv("TASK_STORAGE_MAP_PIN_CPU"); in test_task_storage_map_stress_lookup()
H A Dsk_storage_map.c596 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME); in test_sk_storage_map()
598 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_NR_THREADS); in test_sk_storage_map()
602 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_SK_PER_THREAD); in test_sk_storage_map()
606 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_RUNTIME_S); in test_sk_storage_map()
/linux-6.15/scripts/kconfig/
H A Dconfdata.c165 return getenv("KCONFIG_WERROR"); in conf_errors()
211 char *name = getenv("KCONFIG_CONFIG"); in conf_get_configname()
218 char *name = getenv("KCONFIG_AUTOCONFIG"); in conf_get_autoconfig_name()
225 char *name = getenv("KCONFIG_AUTOHEADER"); in conf_get_autoheader_name()
232 char *name = getenv("KCONFIG_RUSTCCFG"); in conf_get_rustccfg_name()
330 warn_unknown = getenv("KCONFIG_WARN_UNKNOWN_SYMBOLS"); in conf_read_simple()
342 env = getenv("KCONFIG_DEFCONFIG_LIST"); in conf_read_simple()
830 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write()
H A Dconf.c93 env = getenv("KCONFIG_SEED"); in set_randconfig_seed()
189 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols()
741 name = getenv("KCONFIG_ALLCONFIG"); in main()
777 name = getenv("KCONFIG_NOSILENTUPDATE"); in main()
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dxdp_helper.c24 env_str = getenv("KSFT_READY_FD"); in ksft_ready()
47 env_str = getenv("KSFT_WAIT_FD"); in ksft_wait()
/linux-6.15/drivers/accessibility/speakup/
H A Dmakemapdata.c56 dir_name = getenv("TOPDIR"); in main()
59 spk_dir_name = getenv("SPKDIR"); in main()
/linux-6.15/tools/perf/arch/
H A Dcommon.c109 char *env = getenv("PATH"); in lookup_path()
159 cross_env = getenv("CROSS_COMPILE"); in perf_env__lookup_binutils_path()
/linux-6.15/certs/
H A Dextract-cert.c134 verbose_env = getenv("KBUILD_VERBOSE"); in main()
138 key_pass = getenv("KBUILD_SIGN_PIN"); in main()
/linux-6.15/tools/perf/jvmti/
H A Djvmti_agent.c141 base = getenv("JITDUMPDIR"); in create_jit_cache_dir()
143 base = getenv("HOME"); in create_jit_cache_dir()
238 char *str = getenv("JITDUMP_USE_ARCH_TIMESTAMP"); in init_arch_timestamp()
/linux-6.15/tools/perf/
H A Dbuiltin-help.c143 const char *display = getenv("DISPLAY"); in exec_man_konqueror()
333 const char *old_path = getenv("MANPATH"); in setup_man_path()
367 const char *fallback = getenv("PERF_MAN_VIEWER"); in show_man_page()
H A Dbuiltin-config.c160 char *user_config = mkpath(path, sizeof(path), "%s/.perfconfig", getenv("HOME")); in perf_config__set_variable()
200 char *user_config = mkpath(path, sizeof(path), "%s/.perfconfig", getenv("HOME")); in cmd_config()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py12 BPFTOOL_DIR = os.getenv('BPFTOOL_DIR',
14 BPFTOOL_BASHCOMP_DIR = os.getenv('BPFTOOL_BASHCOMP_DIR',
16 BPFTOOL_DOC_DIR = os.getenv('BPFTOOL_DOC_DIR',
18 INCLUDE_DIR = os.getenv('INCLUDE_DIR',
/linux-6.15/tools/objtool/
H A Dbuiltin-check.c114 env = getenv("OBJTOOL_ARGS"); in cmd_parse_options()
129 env = getenv("OBJTOOL_VERBOSE"); in cmd_parse_options()
/linux-6.15/tools/testing/selftests/exec/
H A Dexecveat.c450 const char *verbose = getenv("VERBOSE"); in main()
451 const char *check_comm = getenv(CHECK_COMM); in main()
458 const char *in_test = getenv("IN_TEST"); in main()
/linux-6.15/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c30 if (getenv("SHOW_TID")) { in thrfn()
/linux-6.15/arch/um/os-Linux/
H A Dexecvp.c52 char *path = getenv("PATH"); in execvp_noalloc()

123