Searched refs:fpath (Results 1 – 6 of 6) sorted by relevance
| /linux/scripts/ |
| H A D | spdxcheck.py | 278 def match_dot(self, fpath): argument 279 return os.path.basename(fpath).startswith('.') 281 def match_file(self, fpath): argument 282 return os.path.basename(fpath) == self.pattern 284 def match_fn(self, fpath): argument 285 return fnmatch.fnmatchcase(fpath, self.pattern) 287 def match_dir(self, fpath): argument 288 if self.match_fn(os.path.dirname(fpath)): 290 return fpath.startswith(self.pattern) 292 def exclude_file(fpath): argument [all …]
|
| /linux/tools/perf/util/ |
| H A D | cgroup.c | 217 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 225 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 230 strcpy(cn->name, fpath); in add_cgroup_name() 236 static int check_and_add_cgroup_name(const char *fpath) in check_and_add_cgroup_name() argument 241 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name() 246 return add_cgroup_name(fpath, NULL, FTW_D, NULL); in check_and_add_cgroup_name()
|
| H A D | probe-finder.c | 853 char *fpath; in find_probe_point_lazy() local 865 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 872 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 874 free(fpath); in find_probe_point_lazy()
|
| /linux/tools/perf/bench/ |
| H A D | inject-buildid.c | 79 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument 88 if (filename__read_build_id(fpath, &bid) < 0) in add_dso() 91 dso->name = realpath(fpath, NULL); in add_dso() 96 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
|
| /linux/fs/smb/client/ |
| H A D | dfs.c | 93 const char *fpath = ref_walk_fpath(rw) + 1; in parse_dfs_target() local 97 rc = dfs_parse_target_referral(fpath, tgt, ctx); in parse_dfs_target()
|
| /linux/tools/testing/selftests/powerpc/ |
| H A D | utils.c | 493 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument 497 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
|