Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/scripts/
Drecordmcount.pl416 my $dirname;
422 $dirname = $1;
425 $dirname = ".";
437 my $mcount_s = $dirname . "/.tmp_mc_" . $prefix . ".s";
438 my $mcount_o = $dirname . "/.tmp_mc_" . $prefix . ".o";
608 my $globalobj = $dirname . "/.tmp_gl_" . $filename;
609 my $globalmix = $dirname . "/.tmp_mx_" . $filename;
631 my $mix = $dirname . "/.tmp_mx_" . $filename;
Ddecode_stacktrace.sh50 modpath=$(dirname "$vmlinux")
154 local scripts=`dirname "${BASH_SOURCE[0]}"`
/kernel/uniproton/build/uniproton_ci_lib/
Dgloble.py23 build_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
24 home_path = os.path.dirname(build_dir)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/edac/
Dedac_module.h74 struct dentry *edac_debugfs_create_dir(const char *dirname);
76 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
90 static inline struct dentry *edac_debugfs_create_dir(const char *dirname) { return NULL; } in edac_debugfs_create_dir() argument
92 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()
/kernel/linux/linux-5.10/tools/perf/tests/shell/
Dprobe_vfs_getname.sh7 . $(dirname $0)/lib/probe.sh
11 . $(dirname $0)/lib/probe_vfs_getname.sh
Dtrace+probe_vfs_getname.sh13 . $(dirname $0)/lib/probe.sh
18 . $(dirname $0)/lib/probe_vfs_getname.sh
Drecord+script_probe_vfs_getname.sh12 . $(dirname $0)/lib/probe.sh
16 . $(dirname $0)/lib/probe_vfs_getname.sh
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/adfs/
Ddir_f.h41 char dirname[10]; member
55 char dirname[10]; member
/kernel/liteos_a/testsuites/unittest/extended/ipc/full/
Dipc_test_mkfifoat_001.cpp41 char *dirname = "/dev"; in testcase1() local
46 dir = opendir(dirname); in testcase1()
/kernel/linux/linux-5.10/tools/testing/selftests/lib/
Dstrscpy.sh3 $(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy
Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
Dbconf2ftrace.sh66 . `dirname $0`/ftrace.sh
70 . `dirname $0`/xbc.sh
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dsch_tbf_root.sh7 lib_dir=$(dirname $0)/../../../net/forwarding
Dsch_tbf_prio.sh7 lib_dir=$(dirname $0)/../../../net/forwarding
Dsch_tbf_ets.sh7 lib_dir=$(dirname $0)/../../../net/forwarding
/kernel/linux/linux-5.10/fs/cachefiles/
Dnamei.c756 const char *dirname) in cachefiles_get_directory() argument
763 _enter(",,%s", dirname); in cachefiles_get_directory()
770 subdir = lookup_one_len(dirname, dir, strlen(dirname)); in cachefiles_get_directory()
816 pr_err("%s is not a directory\n", dirname); in cachefiles_get_directory()
842 pr_err("mkdir %s failed with error %d\n", dirname, ret); in cachefiles_get_directory()
848 pr_err("Lookup %s failed with error %d\n", dirname, ret); in cachefiles_get_directory()

1234567