Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/linux-6.12.1/scripts/dtc/
Dfstree.c11 static struct node *read_fstree(const char *dirname) in read_fstree() argument
18 d = opendir(dirname); in read_fstree()
20 die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); in read_fstree()
31 tmpname = join_path(dirname, de->d_name); in read_fstree()
68 struct dt_info *dt_from_fs(const char *dirname) in dt_from_fs() argument
72 tree = read_fstree(dirname); in dt_from_fs()
Dsrcpos.c18 const char *dirname; /* name of directory to search */ member
102 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument
106 if (!dirname || fname[0] == '/') in try_open()
109 fullname = join_path(dirname, fname); in try_open()
143 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
217 void srcfile_add_search_path(const char *dirname) in srcfile_add_search_path() argument
224 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/linux-6.12.1/tools/net/ynl/
Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
17 KDIR=$(dirname $(dirname $(dirname $(dirname $(realpath $0)))))
/linux-6.12.1/scripts/
Drecordmcount.pl370 my $dirname;
376 $dirname = $1;
379 $dirname = ".";
391 my $mcount_s = $dirname . "/.tmp_mc_" . $prefix . ".s";
392 my $mcount_o = $dirname . "/.tmp_mc_" . $prefix . ".o";
555 my $globalobj = $dirname . "/.tmp_gl_" . $filename;
556 my $globalmix = $dirname . "/.tmp_mx_" . $filename;
578 my $mix = $dirname . "/.tmp_mx_" . $filename;
Drust_is_available.sh8 min_tool_version=$(dirname $0)/min-tool-version.sh
167 if ! "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_0_66.h >/dev/null; then
184 LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null
233 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
/linux-6.12.1/tools/power/cpupower/bench/
Dparse.c51 FILE *prepare_output(const char *dirname) in prepare_output() argument
59 dir = opendir(dirname); in prepare_output()
61 if (mkdir(dirname, 0755)) { in prepare_output()
64 dirname); in prepare_output()
69 len = strlen(dirname) + 30; in prepare_output()
88 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output()
91 dirname, time(NULL)); in prepare_output()
/linux-6.12.1/tools/perf/tests/shell/
Dstat_metrics_values.sh5 shelldir=$(dirname "$0")
11 pythonvalidator=$(dirname $0)/lib/perf_metric_validation.py
12 rulefile=$(dirname $0)/lib/perf_metric_validation_rules.json
Dstat+json_output.sh11 shelldir=$(dirname "$0")
14 pythonchecker=$(dirname $0)/lib/perf_json_output_lint.py
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display_debugfs_params.c158 char dirname[16]; in intel_display_debugfs_params() local
160 snprintf(dirname, sizeof(dirname), "%s_params", display->drm->driver->name); in intel_display_debugfs_params()
161 dir = debugfs_lookup(dirname, minor->debugfs_root); in intel_display_debugfs_params()
163 dir = debugfs_create_dir(dirname, minor->debugfs_root); in intel_display_debugfs_params()
/linux-6.12.1/drivers/edac/
Dedac_module.h69 struct dentry *edac_debugfs_create_dir(const char *dirname);
71 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
85 static inline struct dentry *edac_debugfs_create_dir(const char *dirname) { return NULL; } in edac_debugfs_create_dir() argument
87 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) { return NULL; } in edac_debugfs_create_dir_at() argument
Ddebugfs.c83 struct dentry *edac_debugfs_create_dir(const char *dirname) in edac_debugfs_create_dir() argument
88 return debugfs_create_dir(dirname, edac_debugfs); in edac_debugfs_create_dir()
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) in edac_debugfs_create_dir_at() argument
96 return debugfs_create_dir(dirname, parent); in edac_debugfs_create_dir_at()
/linux-6.12.1/tools/testing/selftests/powerpc/benchmarks/
Dfork.c270 char *dirname = strdup(argv[0]); in main() local
272 i = strlen(dirname) - 1; in main()
274 if (dirname[i] == '/') { in main()
275 dirname[i] = '\0'; in main()
276 if (chdir(dirname) == -1) { in main()
/linux-6.12.1/tools/testing/selftests/openat2/
Drename_attack_test.c38 char dirname[] = "/tmp/ksft-openat2-rename-attack.XXXXXX"; in setup_testdir() local
41 if (!mkdtemp(dirname)) in setup_testdir()
43 dfd = open(dirname, O_PATH | O_DIRECTORY); in setup_testdir()
/linux-6.12.1/tools/testing/selftests/fchmodat2/
Dfchmodat2_test.c22 char dirname[] = "/tmp/ksft-fchmodat2.XXXXXX"; in setup_testdir() local
25 if (!mkdtemp(dirname)) in setup_testdir()
28 dfd = open(dirname, O_PATH | O_DIRECTORY); in setup_testdir()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_doc_build.sh8 SCRIPT_REL_DIR=$(dirname $SCRIPT_REL_PATH)
10 SCRIPT_REL_DIR=$(dirname $(realpath --relative-to=$KDIR_ROOT_DIR $SCRIPT_REL_PATH))
/linux-6.12.1/tools/perf/util/
Dstrlist.c166 const char *dirname = NULL; in strlist__new() local
170 dirname = config->dirname; in strlist__new()
182 if (list && strlist__parse_list(slist, list, dirname) != 0) in strlist__new()
Dtrace-event-scripting.c93 .dirname = "python",
159 .dirname = "perl",
/linux-6.12.1/fs/adfs/
Ddir_f.h41 char dirname[10]; member
55 char dirname[10]; member
/linux-6.12.1/tools/testing/selftests/devices/probe/
Dtest_discoverable_devices.py25 this_dir = os.path.dirname(os.path.realpath(__file__))
69 sysfs_dev_dir = os.path.dirname(sysfs_dev_dir)
85 sysfs_dev_dir = os.path.dirname(sysfs_dev_dir)
147 dirname = os.path.join(
150 return [os.path.realpath(dirname)]
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c188 snprintf(ppe->dirname, sizeof(ppe->dirname), "ppe%d", index); in mtk_ppe_debugfs_init()
190 root = debugfs_create_dir(ppe->dirname, NULL); in mtk_ppe_debugfs_init()
/linux-6.12.1/fs/cachefiles/
Dnamei.c86 const char *dirname, in cachefiles_get_directory() argument
93 _enter(",,%s", dirname); in cachefiles_get_directory()
101 subdir = lookup_one_len(dirname, dir, strlen(dirname)); in cachefiles_get_directory()
169 pr_err("%s is not a directory\n", dirname); in cachefiles_get_directory()
199 pr_err("mkdir %s failed with error %d\n", dirname, ret); in cachefiles_get_directory()
205 pr_err("Lookup %s failed with error %d\n", dirname, ret); in cachefiles_get_directory()
/linux-6.12.1/tools/testing/selftests/lib/
Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
Dscanf.sh4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536

12345678910>>...12