Home
last modified time | relevance | path

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

12345678910>>...12

/linux/scripts/dtc/
H A 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()
H A 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/tools/net/ynl/
H A Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
17 KDIR=$(dirname $(dirname $(dirname $(dirname $(realpath $0)))))
/linux/scripts/
H A 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;
H A 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
231 if ! "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang_concat.h | grep -q foofoo; then
248 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
/linux/tools/power/cpupower/bench/
H A Dparse.c52 FILE *prepare_output(const char *dirname) in prepare_output()
60 dir = opendir(dirname); in prepare_output()
62 if (mkdir(dirname, 0755)) { in prepare_output()
65 dirname); in prepare_output()
70 len = strlen(dirname) + 30; in prepare_output()
89 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output()
92 dirname, time(NULL)); in prepare_output()
51 prepare_output(const char * dirname) prepare_output() argument
/linux/tools/perf/tests/shell/
H A 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
H A Dstat+json_output.sh11 shelldir=$(dirname "$0")
14 pythonchecker=$(dirname $0)/lib/perf_json_output_lint.py
/linux/drivers/gpu/drm/i915/display/
H A 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/drivers/edac/
H A 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
H A 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/tools/testing/selftests/powerpc/benchmarks/
H A 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/tools/testing/selftests/openat2/
H A 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/tools/testing/selftests/fchmodat2/
H A 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/tools/perf/util/
H A 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()
H A Dtrace-event-scripting.c93 .dirname = "python",
159 .dirname = "perl",
H A Ddlfilter.c580 bool get_filter_desc(const char *dirname, const char *name, char **desc, in get_filter_desc() argument
587 snprintf(path, sizeof(path), "%s/%s", dirname, name); in get_filter_desc()
606 static void list_filters(const char *dirname) in list_filters() argument
611 dir = opendir(dirname); in list_filters()
624 if (!get_filter_desc(dirname, entry->d_name, &desc, &long_desc)) in list_filters()
/linux/tools/testing/selftests/bpf/
H A 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/tools/testing/selftests/devices/probe/
H A 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/fs/adfs/
H A Ddir_f.h41 char dirname[10]; member
55 char dirname[10]; member
/linux/drivers/net/ethernet/mediatek/
H A 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/tools/testing/selftests/drivers/net/mlxsw/
H A Dethtool_lanes.sh4 lib_dir=$(dirname $0)/../../../net/forwarding
5 ethtool_lib_dir=$(dirname $0)/../hw
/linux/tools/testing/selftests/lib/
H A Dscanf.sh4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
H A Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
H A Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf

12345678910>>...12