Searched refs:fpath (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/firmware/efi/libstub/
H A Dfile.c136 struct efi_file_path_dev_path *fpath; local
166 fpath = (struct efi_file_path_dev_path *)initrd_dp;
167 memcpy(fi->filename, fpath->filename,
169 fpath->header.length - sizeof(fpath->header)));
/linux-master/scripts/
H A Dspdxcheck.py272 def match_dot(self, fpath):
273 return os.path.basename(fpath).startswith('.')
275 def match_file(self, fpath):
276 return os.path.basename(fpath) == self.pattern
278 def match_fn(self, fpath):
279 return fnmatch.fnmatchcase(fpath, self.pattern)
281 def match_dir(self, fpath):
282 if self.match_fn(os.path.dirname(fpath)):
284 return fpath.startswith(self.pattern)
286 def exclude_file(fpath)
[all...]
/linux-master/tools/bpf/bpftool/
H A Dcgroup.c368 static int do_show_tree_fn(const char *fpath, const struct stat *sb, argument
378 cgroup_fd = open(fpath, O_RDONLY);
380 p_err("can't open cgroup %s: %s", fpath, strerror(errno));
387 fpath, strerror(errno));
397 jsonw_string_field(json_wtr, "cgroup", fpath);
401 printf("%s\n", fpath);
H A Dcommon.c473 static int do_build_table_cb(const char *fpath, const struct stat *sb, argument
485 fd = open_obj_pinned(fpath, true);
497 path = strdup(fpath);
/linux-master/tools/perf/util/
H A Dcgroup.c216 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, argument
224 cn = malloc(sizeof(*cn) + strlen(fpath) + 1);
229 strcpy(cn->name, fpath);
235 static int check_and_add_cgroup_name(const char *fpath) argument
240 if (!strcmp(cn->name, fpath))
245 return add_cgroup_name(fpath, NULL, FTW_D, NULL);
H A Dprobe-finder.c845 char *fpath; local
855 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath);
862 ret = find_lazy_match_lines(pf->lcache, fpath,
864 free(fpath);
/linux-master/tools/perf/bench/
H A Dinject-buildid.c79 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, argument
88 if (filename__read_build_id(fpath, &bid) < 0)
91 dso->name = realpath(fpath, NULL);
96 pr_debug2(" Adding DSO: %s\n", fpath);
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c493 int read_sysfs_file(char *fpath, char *result, size_t result_size) argument
497 strncat(path, fpath, PATH_MAX - strlen(path) - 1);
/linux-master/fs/smb/client/
H A Ddfs.c90 const char *fpath = ref_walk_fpath(rw) + 1; local
94 rc = dfs_parse_target_referral(fpath, tgt, ctx);

Completed in 143 milliseconds