Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/tools/net/ynl/
Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
17 KDIR=$(dirname $(dirname $(dirname $(dirname $(realpath $0)))))
/linux-6.6.21/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.c16 const char *dirname; /* name of directory to search */ member
100 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument
104 if (!dirname || fname[0] == '/') in try_open()
107 fullname = join_path(dirname, fname); in try_open()
141 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
215 void srcfile_add_search_path(const char *dirname) in srcfile_add_search_path() argument
222 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/linux-6.6.21/scripts/
Drecordmcount.pl377 my $dirname;
383 $dirname = $1;
386 $dirname = ".";
398 my $mcount_s = $dirname . "/.tmp_mc_" . $prefix . ".s";
399 my $mcount_o = $dirname . "/.tmp_mc_" . $prefix . ".o";
562 my $globalobj = $dirname . "/.tmp_gl_" . $filename;
563 my $globalmix = $dirname . "/.tmp_mx_" . $filename;
585 my $mix = $dirname . "/.tmp_mx_" . $filename;
Drust_is_available.sh8 min_tool_version=$(dirname $0)/min-tool-version.sh
183 LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null
232 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/tools/perf/tests/shell/
Dstat_metrics_values.sh17 pythonvalidator=$(dirname $0)/lib/perf_metric_validation.py
18 rulefile=$(dirname $0)/lib/perf_metric_validation_rules.json
/linux-6.6.21/fs/adfs/
Ddir_f.h41 char dirname[10]; member
55 char dirname[10]; member
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c187 snprintf(ppe->dirname, sizeof(ppe->dirname), "ppe%d", index); in mtk_ppe_debugfs_init()
189 root = debugfs_create_dir(ppe->dirname, NULL); in mtk_ppe_debugfs_init()
Dmtk_wed_debugfs.c257 snprintf(hw->dirname, sizeof(hw->dirname), "wed%d", hw->index); in mtk_wed_hw_add_debugfs()
258 dir = debugfs_create_dir(hw->dirname, NULL); in mtk_wed_hw_add_debugfs()
/linux-6.6.21/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.6.21/tools/testing/selftests/lib/
Dscanf.sh4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
Dstrscpy.sh3 $(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy
Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
/linux-6.6.21/Documentation/features/
Dlist-arch.sh11 $(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH

12345678910