Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/drivers/net/lib/py/
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)
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)
Dremote.py14 dir_path = os.path.abspath(src_path + "/../")
15 return getattr(_modules[kind], "Remote")(args, dir_path)
/linux-6.12.1/tools/perf/util/
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)))
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()
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.12.1/tools/testing/selftests/filesystems/fat/
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.12.1/scripts/
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.12.1/tools/perf/pmu-events/
Dmodels.py11 def dir_path(path: str) -> str: function
62 type=dir_path,
Djevents.py1229 def dir_path(path: str) -> str: function
1259 type=dir_path,
/linux-6.12.1/tools/testing/selftests/landlock/
Dfs_test.c5210 char *dir_path = dirname_alloc(variant->file_path); in FIXTURE_SETUP() local
5221 if (stat(dir_path, &statbuf)) { in FIXTURE_SETUP()
5223 EXPECT_EQ(0, mkdir(dir_path, 0700)) in FIXTURE_SETUP()
5226 dir_path, strerror(errno)); in FIXTURE_SETUP()
5248 free(dir_path); in FIXTURE_SETUP()
5267 char *dir_path = dirname_alloc(variant->file_path); in FIXTURE_TEARDOWN_PARENT() local
5274 rmdir(dir_path); in FIXTURE_TEARDOWN_PARENT()
5276 free(dir_path); in FIXTURE_TEARDOWN_PARENT()
5344 char *dir_path = dirname_alloc(variant->file_path); in TEST_F_FORK() local
5346 layer3_fs_tag_inode(_metadata, self, variant, dir_path); in TEST_F_FORK()
[all …]