/linux-6.12.1/scripts/ |
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.12.1/drivers/firmware/efi/libstub/ |
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.12.1/tools/bpf/bpftool/ |
D | cgroup.c | 400 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 410 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 412 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 419 fpath, strerror(errno)); in do_show_tree_fn() 429 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 433 printf("%s\n", fpath); in do_show_tree_fn()
|
D | common.c | 545 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 557 fd = open_obj_pinned(fpath, true); in do_build_table_cb() 569 path = strdup(fpath); in do_build_table_cb()
|
/linux-6.12.1/tools/perf/util/ |
D | cgroup.c | 216 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 224 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 229 strcpy(cn->name, fpath); in add_cgroup_name() 235 static int check_and_add_cgroup_name(const char *fpath) in check_and_add_cgroup_name() argument 240 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name() 245 return add_cgroup_name(fpath, NULL, FTW_D, NULL); in check_and_add_cgroup_name()
|
D | probe-finder.c | 843 char *fpath; in find_probe_point_lazy() local 853 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 860 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 862 free(fpath); in find_probe_point_lazy()
|
/linux-6.12.1/tools/perf/bench/ |
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-6.12.1/tools/testing/selftests/powerpc/ |
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()
|
/linux-6.12.1/fs/smb/client/ |
D | dfs.c | 90 const char *fpath = ref_walk_fpath(rw) + 1; in parse_dfs_target() local 94 rc = dfs_parse_target_referral(fpath, tgt, ctx); in parse_dfs_target()
|