Home
last modified time | relevance | path

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

123

/linux/fs/ntfs/
H A Ddir.c153 (__le16 *)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
154 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name()
167 if (ie->key.file_name.file_name_type == FILE_NAME_DOS) { in ntfs_lookup_inode_by_name()
201 ie->key.file_name.file_name_type == FILE_NAME_DOS) && in ntfs_lookup_inode_by_name()
203 (__le16 *)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
204 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name()
208 u8 type = ie->key.file_name.file_name_type; in ntfs_lookup_inode_by_name()
209 u8 len = ie->key.file_name.file_name_length; in ntfs_lookup_inode_by_name()
229 memcpy(name->name, ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
240 (__le16 *)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
[all …]
/linux/tools/testing/selftests/powerpc/papr_attributes/
H A 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/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py67 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
68 if os.path.exists(file_name):
79 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_FREQ))
84 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
85 if os.path.exists(file_name):
94 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_DES_PERF))
99 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
100 if os.path.exists(file_name):
110 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_LOAD))
185 def read_trace_data(file_name, cpu_mas argument
254 file_name = "" global() variable
278 file_name = os.path.join(location, arg) global() variable
321 file_name = "/sys/kernel/tracing/trace" global() variable
[all...]
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py101 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
102 if os.path.exists(file_name):
114 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE))
115 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED))
116 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST))
117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO))
122 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
123 if os.path.exists(file_name):
133 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_ELAPSED, C_CORE))
134 g_plot('"' + file_name
[all...]
/linux/drivers/cpufreq/
H A Dcpufreq_governor.h55 #define gov_show_one(_gov, file_name) \ argument
56 static ssize_t file_name##_show \
61 return sysfs_emit(buf, "%u\n", tuners->file_name); \
64 #define gov_show_one_common(file_name) \ argument
65 static ssize_t file_name##_show \
69 return sysfs_emit(buf, "%u\n", dbs_data->file_name); \
/linux/tools/perf/jvmti/
H A Dlibjvmti.c138 copy_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_length) 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/drivers/md/dm-vdo/
H A Dpermassert.c11 int vdo_assertion_failed(const char *expression_string, const char *file_name, in vdo_assertion_failed() argument
20 expression_string, file_name, line_number); in vdo_assertion_failed()
H A Dpermassert.h41 int vdo_assertion_failed(const char *expression_string, const char *file_name,
/linux/tools/hv/
H A Dhv_fcopy_uio_daemon.c114 static int hv_fcopy_create_file(char *file_name, char *path_name, __u32 flags) in hv_fcopy_create_file() argument
122 path_name, file_name) >= sizeof(target_fname)) { in hv_fcopy_create_file()
123 syslog(LOG_ERR, "target file name is too long: %s/%s", path_name, file_name); in hv_fcopy_create_file()
348 char file_name[W_MAX_PATH], path_name[W_MAX_PATH]; in hv_fcopy_start() local
351 wcstoutf8(file_name, smsg_in->file_name, W_MAX_PATH - 1); in hv_fcopy_start()
354 return hv_fcopy_create_file(file_name, path_name, smsg_in->copy_flags); in hv_fcopy_start()
/linux/scripts/
H A 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/tools/verification/rvgen/rvgen/
H A Dgenerator.py197 def __write_file(self, file_name, content):
198 with open(file_name, 'w') as file:
201 def _create_file(self, file_name, content):
202 path = Path(self.name) / file_name
204 path = Path(self.rv_dir) / "monitors" / self.name / file_name
207 __write_file(self, file_name, content) global() argument
217 _create_file(self, file_name, content) global() argument
/linux/scripts/gdb/linux/
H A Dbpf.py198 file_name = btf_str_by_offset(self.btf, file_name_off)
201 return fileno, file_name
232 fileno, file_name = linfo_iter.get_fileno()
233 if file_name is not None:
235 fileno, json.dumps(file_name)))
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
/linux/tools/perf/
H A Dbuiltin-kvm.c1557 .path = kvm->file_name, in read_events()
1696 rec_argv[i++] = kvm->file_name; in kvm_events_record()
1962 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv)
1965 .file_name = file_name, in kvm_cmd_stat()
1994 static int __cmd_record(const char *file_name, int argc, const char **argv)
2012 rec_argv[i++] = file_name; in __cmd_record()
2031 static int __cmd_report(const char *file_name, int argc, const char **argv) in __cmd_report() argument
2043 rec_argv[i++] = file_name; in __cmd_report()
2055 __cmd_buildid_list(const char *file_name, in in __cmd_report()
1963 kvm_cmd_stat(const char * file_name,int argc,const char ** argv) kvm_cmd_stat() argument
1995 __cmd_record(const char * file_name,int argc,const char ** argv) __cmd_record() argument
2059 __cmd_buildid_list(const char * file_name,int argc,const char ** argv) __cmd_buildid_list() argument
2120 const char *file_name = NULL; cmd_kvm() local
[all...]
H A Dbuiltin-evlist.c30 static int __cmd_evlist(const char *file_name, struct perf_attr_details *details) in __cmd_evlist() argument
35 .path = file_name, in __cmd_evlist()
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Dremote_ssh.py33 file_name = self._tmpdir + "/" + self._mktmp() + os.path.basename(what)
39 return file_name
/linux/tools/perf/scripts/python/
H A Dparallel-perf.py262 def ReadHeader(perf, file_name): argument
263 …return subprocess.Popen([perf, "script", "--header-only", "--input", file_name], stdout=subprocess…
366 file_name = p.Value()
367 if not os.path.exists(file_name):
369 return file_name
389 def PerfDoubleQuickCommands(cmd, file_name): argument
393 times_cmd = ["perf", "script", "--ns", "--input", file_name, "--itrace=qqi"]
490 def SplitTimeRangesByTraceDataDensity(time_ranges, cpus, nr, cmd, file_name, per_cpu, min_size, min… argument
495 cnts_cmd, times_cmd = PerfDoubleQuickCommands(cmd, file_name)
739 self.file_name = DetermineInputFileName(self.cmd)
[all …]
/linux/tools/testing/selftests/bpf/
H A Dveristat.c103 char *file_name; member
111 char *file_name; member
1010 free(stats[i].file_name); in free_verif_stats()
1646 static void dump(__u32 prog_id, enum dump_mode mode, const char *file_name, const char *prog_name) in dump() argument
1665 printf("DUMP (%s) %s/%s:\n", mode == DUMP_JITED ? "JITED" : "XLATED", file_name, prog_name); in dump()
1747 stats->file_name = strdup(base_filename); in process_prog()
2333 cmp = strcmp(s1->file_name, s2->file_name); in cmp_stat()
2385 cmp = strcmp(s1->file_name, s2->file_name); in cmp_prog_stats()
2399 *str_val = s->file_name; in fetch_join_stat_value()
2487 cmp = strcmp(s1->file_name, s2->file_name); in cmp_join_stats()
[all …]
/linux/tools/perf/util/
H A Dvdso.c250 const char *file_name; in __machine__findnew_compat() local
257 file_name = vdso__get_compat_file(vdso_file); in __machine__findnew_compat()
258 if (!file_name) in __machine__findnew_compat()
261 return __machine__addnew_vdso(machine, vdso_file->dso_name, file_name); in __machine__findnew_compat()
/linux/arch/arm64/kvm/
H A Dptdump.c282 char file_name[S2FNAMESZ]; in kvm_nested_s2_ptdump_create_debugfs() local
284 snprintf(file_name, sizeof(file_name), "0x%016llx-0x%016llx-s2-%sabled", in kvm_nested_s2_ptdump_create_debugfs()
289 dent = debugfs_create_file(file_name, 0400, in kvm_nested_s2_ptdump_create_debugfs()
/linux/drivers/ufs/core/
H A Dufs-debugfs.c218 const char *file_name = s->file->f_path.dentry->d_name.name; in ufs_tx_eq_params_show() local
249 if (strcmp(file_name, "host_tx_eq_params") == 0) { in ufs_tx_eq_params_show()
254 } else if (strcmp(file_name, "device_tx_eq_params") == 0) { in ufs_tx_eq_params_show()
295 const char *file_name = s->file->f_path.dentry->d_name.name; in ufs_tx_eqtr_record_show() local
337 if (strcmp(file_name, "host_tx_eqtr_record") == 0) { in ufs_tx_eqtr_record_show()
343 } else if (strcmp(file_name, "device_tx_eqtr_record") == 0) { in ufs_tx_eqtr_record_show()
/linux/security/integrity/ima/
H A Dima_fs.c651 char file_name[NAME_MAX + 1];
655 snprintf(file_name, sizeof(file_name),
660 snprintf(file_name, sizeof(file_name),
663 dentry = securityfs_create_file(file_name, permissions,
670 snprintf(file_name, sizeof(file_name),
675 snprintf(file_name, sizeof(file_name),
404 char file_name[NAME_MAX + 1]; create_securityfs_measurement_lists() local
[all...]
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py219 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, argument
221 args = "prog load %s %s" % (os.path.join(bpf_test_dir, sample), file_name)
233 files.append(file_name)
539 def pin_prog(file_name, idx=0): argument
542 bpftool("prog pin id %d %s" % (prog["id"], file_name))
543 files.append(file_name)
545 return file_name, bpf_pinned(file_name)
547 def pin_map(file_name, idx=0, expected=1): argument
550 bpftool("map pin id %d %s" % (m["id"], file_name))
[all...]
/linux/fs/notify/fanotify/
H A Dfanotify.c747 struct inode *dir, const struct qstr *file_name, in fanotify_alloc_event() argument
791 file_name = NULL; in fanotify_alloc_event()
820 file_name = NULL; in fanotify_alloc_event()
857 } else if (name_event && (file_name || moved || child)) { in fanotify_alloc_event()
858 event = fanotify_alloc_name_event(dirid, fsid, file_name, child, in fanotify_alloc_event()
930 const struct qstr *file_name, u32 cookie, in fanotify_handle_event() argument
985 file_name, &fsid, match_mask); in fanotify_handle_event()
/linux/samples/rust/
H A Drust_debugfs_scoped.rs71 let file_name = CString::try_from_fmt(fmt!("{name_str}"))?; in create_file_write()
86 &file_name, in create_file_write()
63 let file_name = CString::try_from_fmt(fmt!("{name_str}"))?; create_file_write() localVariable

123