Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 73) sorted by relevance

123

/Linux-v6.6/fs/ntfs/
Ddir.c144 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
145 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name()
158 if (ie->key.file_name.file_name_type == FILE_NAME_DOS) { in ntfs_lookup_inode_by_name()
192 ie->key.file_name.file_name_type && in ntfs_lookup_inode_by_name()
194 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
195 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name()
198 u8 type = ie->key.file_name.file_name_type; in ntfs_lookup_inode_by_name()
199 u8 len = ie->key.file_name.file_name_length; in ntfs_lookup_inode_by_name()
224 memcpy(name->name, ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
235 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
[all …]
Dunistr.c206 ntfs_upcase_name((ntfschar*)&file_name_attr->file_name, in ntfs_file_upcase_value()
215 return ntfs_collate_names((ntfschar*)&file_name_attr1->file_name, in ntfs_file_compare_values()
217 (ntfschar*)&file_name_attr2->file_name, in ntfs_file_compare_values()
/Linux-v6.6/tools/testing/selftests/powerpc/papr_attributes/
Dattr_test.c76 char file_name[64]; in verify_energy_info() local
89 sprintf(file_name, "%s/%d/desc", path, id); in verify_energy_info()
90 f = fopen(file_name, "r"); in verify_energy_info()
94 sprintf(file_name, "%s/%d/value", path, id); in verify_energy_info()
95 f = fopen(file_name, "r"); in verify_energy_info()
100 sprintf(file_name, "%s/%d/value_desc", path, id); in verify_energy_info()
101 f = fopen(file_name, "r"); in verify_energy_info()
/Linux-v6.6/tools/power/x86/amd_pstate_tracer/
Damd_pstate_trace.py68 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
69 if os.path.exists(file_name):
80 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_…
85 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
86 if os.path.exists(file_name):
95 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_…
100 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
101 if os.path.exists(file_name):
111 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_…
186 def read_trace_data(file_name, cpu_mask): argument
[all …]
/Linux-v6.6/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py103 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
104 if os.path.exists(file_name):
116 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "per…
117 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-b…
118 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost…
119 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"…
124 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
125 if os.path.exists(file_name):
135 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "per…
136 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-b…
[all …]
/Linux-v6.6/drivers/cpufreq/
Dcpufreq_governor.h54 #define gov_show_one(_gov, file_name) \ argument
55 static ssize_t file_name##_show \
60 return sprintf(buf, "%u\n", tuners->file_name); \
63 #define gov_show_one_common(file_name) \ argument
64 static ssize_t file_name##_show \
68 return sprintf(buf, "%u\n", dbs_data->file_name); \
/Linux-v6.6/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c30 char *file_name; variable
197 fd = open(file_name, O_RDWR); in test_file()
215 file_name, filesize, fileblock); in test_file()
231 file_name = argv[1]; in main()
233 file_name = "tempfile"; in main()
/Linux-v6.6/tools/perf/jvmti/
Dlibjvmti.c138 copy_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_leng… in copy_class_filename() argument
155 for (j = 0; i < (max_length - 1) && file_name && j < strlen(file_name); j++, i++) in copy_class_filename()
156 result[i] = file_name[j]; in copy_class_filename()
161 strlcpy(result, file_name, max_length); in copy_class_filename()
170 char *file_name = NULL; in get_source_filename() local
181 ret = (*jvmti)->GetSourceFileName(jvmti, decl_class, &file_name); in get_source_filename()
193 copy_class_filename(class_sign, file_name, fn, PATH_MAX); in get_source_filename()
207 (*jvmti)->Deallocate(jvmti, (unsigned char *)file_name); in get_source_filename()
/Linux-v6.6/fs/notify/
Dfsnotify.c190 struct qstr *file_name = NULL; in __fsnotify_parent() local
224 file_name = &name.name; in __fsnotify_parent()
230 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0); in __fsnotify_parent()
232 if (file_name) in __fsnotify_parent()
321 struct inode *dir, const struct qstr *file_name, in send_to_group() argument
361 file_name, cookie, iter_info); in send_to_group()
365 file_name, cookie, iter_info); in send_to_group()
482 const struct qstr *file_name, struct inode *inode, u32 cookie) in fsnotify() argument
570 ret = send_to_group(mask, data, data_type, dir, file_name, in fsnotify()
/Linux-v6.6/tools/testing/selftests/bpf/
Dveristat.c82 char *file_name; member
90 char *file_name; member
779 free(stats[i].file_name); in free_verif_stats()
1004 stats->file_name = strdup(base_filename); in process_prog()
1112 cmp = strcmp(s1->file_name, s2->file_name); in cmp_stat()
1151 cmp = strcmp(s1->file_name, s2->file_name); in cmp_prog_stats()
1165 *str_val = s->file_name; in fetch_join_stat_value()
1246 cmp = strcmp(s1->file_name, s2->file_name); in cmp_join_stats()
1307 *str = s ? s->file_name : "N/A"; in prepare_value()
1383 st->file_name = strdup(str); in parse_stat_value()
[all …]
Dtest_offload.py210 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
212 args = "prog load %s %s" % (os.path.join(bpf_test_dir, sample), file_name)
222 files.append(file_name)
597 def pin_prog(file_name, idx=0): argument
600 bpftool("prog pin id %d %s" % (prog["id"], file_name))
601 files.append(file_name)
603 return file_name, bpf_pinned(file_name)
605 def pin_map(file_name, idx=0, expected=1): argument
608 bpftool("map pin id %d %s" % (m["id"], file_name))
609 files.append(file_name)
[all …]
/Linux-v6.6/scripts/
Dinsert-sys-cert.c201 static void *map_file(char *file_name, int *size) in map_file() argument
207 fd = open(file_name, O_RDWR); in map_file()
209 perror(file_name); in map_file()
228 static char *read_file(char *file_name, int *size) in read_file() argument
234 fd = open(file_name, O_RDONLY); in read_file()
236 perror(file_name); in read_file()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dcgroup_hierarchical_stats.c193 get_attach_counter(unsigned long long cgroup_id, const char *file_name) in get_attach_counter() argument
199 snprintf(path, 128, "%s%s", BPFFS_ATTACH_COUNTERS, file_name); in get_attach_counter()
247 int cgroup_fd, const char *file_name) in setup_cgroup_iter() argument
268 snprintf(path, 128, "%s%s", BPFFS_ATTACH_COUNTERS, file_name); in setup_cgroup_iter()
Dfill_link_info.c91 if (!info.perf_event.uprobe.file_name) { in verify_perf_link_info()
93 info.perf_event.uprobe.file_name = ptr_to_u64(&buf); in verify_perf_link_info()
98 err = strncmp(u64_to_ptr(info.perf_event.uprobe.file_name), UPROBE_FILE, in verify_perf_link_info()
/Linux-v6.6/tools/perf/
Dbuiltin-kvm.c1613 .path = kvm->file_name, in read_events()
1757 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record()
2024 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) in kvm_cmd_stat() argument
2027 .file_name = file_name, in kvm_cmd_stat()
2062 static int __cmd_record(const char *file_name, int argc, const char **argv) in __cmd_record() argument
2075 rec_argv[i++] = strdup(file_name); in __cmd_record()
2084 static int __cmd_report(const char *file_name, int argc, const char **argv) in __cmd_report() argument
2093 rec_argv[i++] = strdup(file_name); in __cmd_report()
2103 __cmd_buildid_list(const char *file_name, int argc, const char **argv) in __cmd_buildid_list() argument
2112 rec_argv[i++] = strdup(file_name); in __cmd_buildid_list()
[all …]
Dbuiltin-evlist.c29 static int __cmd_evlist(const char *file_name, struct perf_attr_details *details) in __cmd_evlist() argument
34 .path = file_name, in __cmd_evlist()
Dbuiltin-config.c38 static int set_config(struct perf_config_set *set, const char *file_name) in set_config() argument
48 fp = fopen(file_name, "w"); in set_config()
/Linux-v6.6/drivers/scsi/aic7xxx/aicasm/
Daicasm_scan.l460 include_file(char *file_name, include_type type)
468 newfile = fopen(file_name, "r");
482 "%s/%s", include_dir->directory, file_name);
490 perror(file_name);
509 yyfilename = strdup(file_name);
Daicasm.h86 void include_file(char *file_name, include_type type);
/Linux-v6.6/tools/perf/util/
Dvdso.c241 const char *file_name; in __machine__findnew_compat() local
248 file_name = vdso__get_compat_file(vdso_file); in __machine__findnew_compat()
249 if (!file_name) in __machine__findnew_compat()
252 dso = __machine__addnew_vdso(machine, vdso_file->dso_name, file_name); in __machine__findnew_compat()
Dconfig.h48 int perf_config_set__collect(struct perf_config_set *set, const char *file_name,
/Linux-v6.6/drivers/usb/mtu3/
Dmtu3_debugfs.c259 const char *file_name = file_dentry(file)->d_iname; in mtu3_ep_open() local
266 if (strcmp(f_map->name, file_name) == 0) in mtu3_ep_open()
291 const char *file_name = file_dentry(sf->file)->d_iname; in mtu3_probe_show() local
299 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_show()
317 const char *file_name = file_dentry(file)->d_iname; in mtu3_probe_write() local
334 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_write()
/Linux-v6.6/tools/lib/bpf/
Dzip.c298 int zip_archive_find_entry(struct zip_archive *archive, const char *file_name, in zip_archive_find_entry() argument
301 size_t file_name_length = strlen(file_name); in zip_archive_find_entry()
323 memcmp(file_name, archive->data + offset, file_name_length) == 0) { in zip_archive_find_entry()
/Linux-v6.6/fs/notify/fanotify/
Dfanotify.c713 struct inode *dir, const struct qstr *file_name, in fanotify_alloc_event() argument
756 file_name = NULL; in fanotify_alloc_event()
785 file_name = NULL; in fanotify_alloc_event()
813 } else if (name_event && (file_name || moved || child)) { in fanotify_alloc_event()
814 event = fanotify_alloc_name_event(dirid, fsid, file_name, child, in fanotify_alloc_event()
895 const struct qstr *file_name, u32 cookie, in fanotify_handle_event() argument
953 file_name, &fsid, match_mask); in fanotify_handle_event()
/Linux-v6.6/tools/verification/dot2/
Ddot2k.py148 def __create_file(self, file_name, content): argument
149 path = "%s/%s" % (self.name, file_name)

123