/openbmc/linux/tools/perf/util/ |
H A D | tracepoint.c | 12 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 D | tracepoint.h | 8 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 D | trace-event-info.c | 412 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 D | boot_data.py | 116 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 D | var_funcs.py | 144 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 D | data_proc.tcl | 148 proc split_path {path dir_path base_name} { 149 upvar $dir_path ref_dir_path
|
H A D | code_update_utils.py | 158 def get_latest_file(dir_path): argument 170 + dir_path
|
H A D | gen_misc.py | 48 def add_trailing_slash(dir_path): argument 57 return os.path.normpath(dir_path) + os.path.sep
|
/openbmc/openbmc-test-automation/bin/ |
H A D | gen_list.sh | 103 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 D | run_fat_tests.sh | 58 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 D | 9p-local.c | 664 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() 814 static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name, in local_open2() argument 832 dirfd = local_opendir_nofollow(fs_ctx, dir_path->data); in local_open2() 880 V9fsPath *dir_path, const char *name, FsCred *credp) in local_symlink() argument 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() [all …]
|
H A D | 9p-synth.c | 286 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 D | 9p.c | 3242 V9fsPath dir_path; in v9fs_complete_rename() local 3244 v9fs_path_init(&dir_path); in v9fs_complete_rename() 3245 v9fs_path_sprintf(&dir_path, "%s", dir_name); in v9fs_complete_rename() 3248 err = v9fs_co_name_to_path(pdu, &dir_path, name->data, &new_path); in v9fs_complete_rename() 3249 v9fs_path_free(&dir_path); in v9fs_complete_rename()
|
/openbmc/openbmc/poky/meta/recipes-devtools/icecc-create-env/icecc-create-env/ |
H A D | icecc-create-env | 91 dir_path=$(pwd -L) 92 path=$dir_path/$(basename $path)
|
/openbmc/openbmc-test-automation/ffdc/ |
H A D | ffdc_collector.py | 873 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__.py | 46 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 D | 0002-ext4_utils-add-o-argument-to-preserve-ownership.patch | 27 … -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 D | fs_test.c | 4514 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() 4591 strncpy(self->dir_path, variant->file_path, dir_len); 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() 4601 self->dir_path, strerror(errno)); 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() [all …]
|
/openbmc/linux/tools/perf/pmu-events/ |
H A D | jevents.py | 1158 def dir_path(path: str) -> str: function 1188 type=dir_path,
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | importlayer.js | 165 dir_path: $("#layer-subdir").val(), property in AnonymousFunction1aaebdcb0c00.import_and_add.layerData
|
/openbmc/openbmc-test-automation/ |
H A D | CONTRIBUTING.md | 452 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 D | buildinfohelper.py | 1912 for dir_path, _, filenames in os.walk(sdk_dir): 1914 full_path = os.path.join(dir_path, filename)
|