Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/tools/testing/selftests/drivers/net/lib/py/
H A Dremote_netns.py10 def __init__(self, name, dir_path): argument
12 self.dir_path = dir_path
21 return os.path.abspath(self.dir_path + "/" + what)
H A Dremote_ssh.py12 def __init__(self, name, dir_path): argument
14 self.dir_path = dir_path
36 what = os.path.abspath(self.dir_path + "/" + what)
H A Dremote.py14 dir_path = os.path.abspath(src_path + "/../")
15 return getattr(_modules[kind], "Remote")(args, dir_path)
/linux-6.15/tools/perf/util/
H A Dtracepoint.h9 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);
11 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
16 (!tp_event_has_id(dir_path, evt_dirent)))
H A Dtrace-event-info.c413 char *dir_path; in tracepoint_id_to_path() local
420 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
421 if (!dir_path) in tracepoint_id_to_path()
423 evt_dir = opendir(dir_path); in tracepoint_id_to_path()
427 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
429 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
441 put_events_file(dir_path); in tracepoint_id_to_path()
463 put_events_file(dir_path); in tracepoint_id_to_path()
H A Dtracepoint.c14 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument
19 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
/linux-6.15/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh58 local dir_path="${MNT_PATH}/subdir"
60 local new_path="${dir_path}/new_file"
62 sudo mkdir -p "${dir_path}"
/linux-6.15/scripts/
H A Dmacro_checker.py110 def dir_check_macro(dir_path): argument
112 for dentry in os.listdir(dir_path):
113 path = os.path.join(dir_path, dentry)
/linux-6.15/tools/perf/pmu-events/
H A Dmodels.py11 def dir_path(path: str) -> str: function
62 type=dir_path,
H A Djevents.py1245 def dir_path(path: str) -> str: function
1278 type=dir_path,
/linux-6.15/tools/testing/selftests/exec/
H A Dcheck-exec.c114 static const char dir_path[] = "./test-mount/directory"; variable
145 ASSERT_EQ(0, mkdir(dir_path, variant->file_exec ? 0700 : 0600)); in FIXTURE_SETUP()
314 test_exec_path(_metadata, dir_path, EACCES); in TEST_F()
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c5365 char *dir_path = dirname_alloc(variant->file_path); in FIXTURE_SETUP() local
5376 if (stat(dir_path, &statbuf)) { in FIXTURE_SETUP()
5378 EXPECT_EQ(0, mkdir(dir_path, 0700)) in FIXTURE_SETUP()
5381 dir_path, strerror(errno)); in FIXTURE_SETUP()
5403 free(dir_path); in FIXTURE_SETUP()
5429 rmdir(dir_path); in FIXTURE_TEARDOWN_PARENT()
5431 free(dir_path); in FIXTURE_TEARDOWN_PARENT()
5499 char *dir_path = dirname_alloc(variant->file_path); in TEST_F_FORK() local
5502 free(dir_path); in TEST_F_FORK()
5533 remove_path(dir_path); in TEST_F_FORK()
[all …]