Searched refs:fpath (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/scripts/ |
A D | spdxcheck.py | 272 def match_dot(self, fpath): argument 273 return os.path.basename(fpath).startswith('.') 275 def match_file(self, fpath): argument 276 return os.path.basename(fpath) == self.pattern 278 def match_fn(self, fpath): argument 279 return fnmatch.fnmatchcase(fpath, self.pattern) 281 def match_dir(self, fpath): argument 282 if self.match_fn(os.path.dirname(fpath)): 284 return fpath.startswith(self.pattern) 286 def exclude_file(fpath): argument [all …]
|
/linux-6.3-rc2/drivers/firmware/efi/libstub/ |
A D | file.c | 136 struct efi_file_path_dev_path *fpath; in efi_open_device_path() local 166 fpath = (struct efi_file_path_dev_path *)initrd_dp; in efi_open_device_path() 167 memcpy(fi->filename, fpath->filename, in efi_open_device_path() 169 fpath->header.length - sizeof(fpath->header))); in efi_open_device_path()
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | cgroup.c | 366 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 376 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 378 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 385 fpath, strerror(errno)); in do_show_tree_fn() 395 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 399 printf("%s\n", fpath); in do_show_tree_fn()
|
A D | common.c | 470 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 482 fd = open_obj_pinned(fpath, true); in do_build_table_cb() 494 path = strdup(fpath); in do_build_table_cb()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | cgroup.c | 208 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 216 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 221 strcpy(cn->name, fpath); in add_cgroup_name() 227 static int check_and_add_cgroup_name(const char *fpath) in check_and_add_cgroup_name() argument 232 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name() 237 return add_cgroup_name(fpath, NULL, FTW_D, NULL); in check_and_add_cgroup_name()
|
A D | probe-finder.c | 963 char *fpath; in find_probe_point_lazy() local 973 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 980 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 982 free(fpath); in find_probe_point_lazy()
|
/linux-6.3-rc2/tools/perf/bench/ |
A D | inject-buildid.c | 78 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument 87 if (filename__read_build_id(fpath, &bid) < 0) in add_dso() 90 dso->name = realpath(fpath, NULL); in add_dso() 95 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/ |
A D | utils.c | 470 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument 474 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
|
Completed in 17 milliseconds