Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dtracepoint.c12 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument
17 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
34 char *dir_path; in is_valid_tracepoint() local
41 dir_path = get_events_file(sys_dirent->d_name); in is_valid_tracepoint()
42 if (!dir_path) in is_valid_tracepoint()
44 evt_dir = opendir(dir_path); in is_valid_tracepoint()
48 for_each_event(dir_path, evt_dir, evt_dirent) { in is_valid_tracepoint()
53 put_events_file(dir_path); in is_valid_tracepoint()
60 put_events_file(dir_path); in is_valid_tracepoint()
H A Dtracepoint.h8 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);
10 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
15 (!tp_event_has_id(dir_path, evt_dirent)))
H A Dtrace-event-info.c412 char *dir_path; in tracepoint_id_to_path() local
419 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
420 if (!dir_path) in tracepoint_id_to_path()
422 evt_dir = opendir(dir_path); in tracepoint_id_to_path()
426 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
428 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
440 put_events_file(dir_path); in tracepoint_id_to_path()
462 put_events_file(dir_path); in tracepoint_id_to_path()
/openbmc/openbmc-test-automation/lib/
H A Dboot_data.py116 def read_boot_lists(dir_path="data/boot_lists/"): argument
146 if not dir_path.startswith("/"):
148 dir_path = code_base_dir_path + dir_path
151 boot_file_names = os.listdir(dir_path)
155 file_path = gm.which(dir_path + boot_category)
325 dir_path = "/tmp/" + USER + "/"
326 if not os.path.exists(dir_path):
327 os.makedirs(dir_path)
331 file_name_dict, dir_path=dir_path, file_suffix=":boot_results"
H A Dvar_funcs.py144 def create_file_path(file_name_dict, dir_path="/tmp/", file_suffix=""): argument
155 dir_path = gm.add_trailing_slash(dir_path)
156 return dir_path + join_dict(file_name_dict) + file_suffix
190 dir_path = os.path.dirname(file_path) + os.sep
193 result_dict["dir_path"] = dir_path
H A Ddata_proc.tcl148 proc split_path {path dir_path base_name} {
149 upvar $dir_path ref_dir_path
H A Dcode_update_utils.py158 def get_latest_file(dir_path): argument
170 + dir_path
H A Dgen_misc.py48 def add_trailing_slash(dir_path): argument
57 return os.path.normpath(dir_path) + os.path.sep
/openbmc/openbmc-test-automation/bin/
H A Dgen_list.sh103 local dir_path="${1}" ; shift
114 cleanup_path_slashes dir_path || return 1
116 remove_list_element "${dir_path}" "${path_var}" : || return 1
/openbmc/linux/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}"
/openbmc/qemu/hw/9pfs/
H A D9p-local.c664 static int local_mknod(FsContext *fs_ctx, V9fsPath *dir_path, in local_mknod() argument
676 dirfd = local_opendir_nofollow(fs_ctx, dir_path->data); in local_mknod()
716 static int local_mkdir(FsContext *fs_ctx, V9fsPath *dir_path, in local_mkdir() argument
728 dirfd = local_opendir_nofollow(fs_ctx, dir_path->data); in local_mkdir()
832 dirfd = local_opendir_nofollow(fs_ctx, dir_path->data); in local_open2()
891 dirfd = local_opendir_nofollow(fs_ctx, dir_path->data); in local_symlink()
1230 static int local_name_to_path(FsContext *ctx, V9fsPath *dir_path, in local_name_to_path() argument
1239 if (dir_path) { in local_name_to_path()
1242 v9fs_path_copy(target, dir_path); in local_name_to_path()
1244 if (!strcmp(dir_path->data, ".")) { in local_name_to_path()
[all …]
H A D9p-proxy.c790 static int proxy_mknod(FsContext *fs_ctx, V9fsPath *dir_path, in proxy_mknod() argument
797 v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name); in proxy_mknod()
810 static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path, in proxy_mkdir() argument
817 v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name); in proxy_mkdir()
842 static int proxy_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name, in proxy_open2() argument
848 v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name); in proxy_open2()
861 V9fsPath *dir_path, const char *name, FsCred *credp) in proxy_symlink() argument
869 v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name); in proxy_symlink()
1068 static int proxy_name_to_path(FsContext *ctx, V9fsPath *dir_path, in proxy_name_to_path() argument
1071 if (dir_path) { in proxy_name_to_path()
[all …]
H A D9p-synth.c286 static int synth_open2(FsContext *fs_ctx, V9fsPath *dir_path, in synth_open2() argument
475 static int synth_name_to_path(FsContext *ctx, V9fsPath *dir_path, in synth_name_to_path() argument
487 if (!dir_path) { in synth_name_to_path()
490 dir_node = *(V9fsSynthNode **)dir_path->data; in synth_name_to_path()
H A D9p.c3235 V9fsPath dir_path; in v9fs_complete_rename() local
3237 v9fs_path_init(&dir_path); in v9fs_complete_rename()
3238 v9fs_path_sprintf(&dir_path, "%s", dir_name); in v9fs_complete_rename()
3241 err = v9fs_co_name_to_path(pdu, &dir_path, name->data, &new_path); in v9fs_complete_rename()
3242 v9fs_path_free(&dir_path); in v9fs_complete_rename()
/openbmc/openbmc/poky/meta/recipes-devtools/icecc-create-env/icecc-create-env/
H A Dicecc-create-env91 dir_path=$(pwd -L)
92 path=$dir_path/$(basename $path)
/openbmc/openbmc-test-automation/ffdc/
H A Dffdc_collector.py873 def validate_local_store(cls, dir_path): argument
882 if not os.path.exists(dir_path):
884 os.makedirs(dir_path, 0o755)
890 " PermissionError.\n" % dir_path
895 % (dir_path, e.strerror)
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py46 dir_path = oe.path.join(self.deploy_dir, dir)
47 bb.note("Generating package index for %s" %(dir_path))
48 self.do_write_index(dir_path)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/extras/
H A D0002-ext4_utils-add-o-argument-to-preserve-ownership.patch27 … -185,6 +187,10 @@ static u32 build_directory_structure(const char *full_path, const char *dir_path
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c4514 char *dir_path; in FIXTURE() local
4589 self->dir_path = malloc(dir_len + 1); in FIXTURE_SETUP()
4590 self->dir_path[dir_len] = '\0'; in FIXTURE_SETUP()
4596 if (stat(self->dir_path, &statbuf)) { in FIXTURE_SETUP()
4598 EXPECT_EQ(0, mkdir(self->dir_path, 0700)) in FIXTURE_SETUP()
4602 free(self->dir_path); in FIXTURE_SETUP()
4603 self->dir_path = NULL; in FIXTURE_SETUP()
4647 rmdir(self->dir_path); in FIXTURE_TEARDOWN()
4650 free(self->dir_path); in FIXTURE_TEARDOWN()
4651 self->dir_path = NULL; in FIXTURE_TEARDOWN()
[all …]
/openbmc/linux/tools/perf/pmu-events/
H A Djevents.py1158 def dir_path(path: str) -> str: function
1188 type=dir_path,
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dimportlayer.js165 dir_path: $("#layer-subdir").val(), property in AnonymousFunction1aaebdcb0900.import_and_add.layerData
/openbmc/openbmc-test-automation/
H A DCONTRIBUTING.md452 dir_path variables to ensure that they contain a trailing slash. If we
807 - IMPORTANT: As a programming convention, do pre- processing on all dir_path
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dbuildinfohelper.py1909 for dir_path, _, filenames in os.walk(sdk_dir):
1911 full_path = os.path.join(dir_path, filename)