Searched refs:file_name (Results 1 - 25 of 68) sorted by relevance

123

/linux-master/drivers/md/dm-vdo/
H A Dpermassert.c11 int vdo_assertion_failed(const char *expression_string, const char *file_name, argument
20 expression_string, file_name, line_number);
H A Dpermassert.h41 int vdo_assertion_failed(const char *expression_string, const char *file_name,
/linux-master/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c76 char file_name[64]; local
89 sprintf(file_name, "%s/%d/desc", path, id);
90 f = fopen(file_name, "r");
94 sprintf(file_name, "%s/%d/value", path, id);
95 f = fopen(file_name, "r");
100 sprintf(file_name, "%s/%d/value_desc", path, id);
101 f = fopen(file_name, "r");
/linux-master/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
254 file_name = "" variable
321 file_name = "/sys/kernel/tracing/trace" variable
[all...]
/linux-master/drivers/cpufreq/
H A Dcpufreq_governor.h54 #define gov_show_one(_gov, file_name) \
55 static ssize_t file_name##_show \
60 return sprintf(buf, "%u\n", tuners->file_name); \
63 #define gov_show_one_common(file_name) \
64 static ssize_t file_name##_show \
68 return sprintf(buf, "%u\n", dbs_data->file_name); \
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.h86 void include_file(char *file_name, include_type type);
/linux-master/tools/perf/
H A Dbuiltin-evlist.c29 static int __cmd_evlist(const char *file_name, struct perf_attr_details *details) argument
34 .path = file_name,
H A Dbuiltin-config.c38 static int set_config(struct perf_config_set *set, const char *file_name) argument
48 fp = fopen(file_name, "w");
H A Dbuiltin-kvm.c1613 .path = kvm->file_name,
1757 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name);
2024 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) argument
2027 .file_name = file_name,
2062 static int __cmd_record(const char *file_name, int argc, const char **argv) argument
2075 rec_argv[i++] = strdup(file_name);
2084 static int __cmd_report(const char *file_name, int argc, const char **argv) argument
2093 rec_argv[i++] = strdup(file_name);
2103 __cmd_buildid_list(const char *file_name, in argument
2123 const char *file_name = NULL; local
[all...]
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c30 char *file_name; variable
197 fd = open(file_name, O_RDWR);
215 file_name, filesize, fileblock);
231 file_name = argv[1];
233 file_name = "tempfile";
/linux-master/tools/power/x86/intel_pstate_tracer/
H A 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 "performance",\\'.format(C_SAMPLE, C_CORE))
117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED))
118 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST))
119 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO))
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 "performance",\\'.format(C_ELAPSED, C_CORE))
136 g_plot('"' + file_name
[all...]
/linux-master/tools/perf/jvmti/
H A Dlibjvmti.c138 copy_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_length) argument
155 for (j = 0; i < (max_length - 1) && file_name && j < strlen(file_name); j++, i++)
156 result[i] = file_name[j];
161 strlcpy(result, file_name, max_length);
170 char *file_name = NULL; local
181 ret = (*jvmti)->GetSourceFileName(jvmti, decl_class, &file_name);
193 copy_class_filename(class_sign, file_name, fn, PATH_MAX);
207 (*jvmti)->Deallocate(jvmti, (unsigned char *)file_name);
/linux-master/fs/notify/
H A Dfsnotify.c199 struct qstr *file_name = NULL; local
230 file_name = &name.name;
236 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0);
238 if (file_name)
327 struct inode *dir, const struct qstr *file_name,
367 file_name, cookie, iter_info);
371 file_name, cookie, iter_info);
479 * if @file_name is not NULL, this is the directory that
480 * @file_name is relative to
481 * @file_name
326 send_to_group(__u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *file_name, u32 cookie, struct fsnotify_iter_info *iter_info) argument
487 fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *file_name, struct inode *inode, u32 cookie) argument
[all...]
/linux-master/drivers/gpu/drm/ci/xfails/
H A Dupdate-xfails.py67 def add_unit_test_if_not_present(lines, unit_test_name, file_name):
70 print("WARNING: core_getversion should pass, not adding it to", os.path.basename(file_name))
132 def print_diff(old_content, new_content, file_name):
133 diff = difflib.unified_diff(old_content, new_content, lineterm="", fromfile=file_name, tofile=file_name)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_hierarchical_stats.c193 get_attach_counter(unsigned long long cgroup_id, const char *file_name) argument
199 snprintf(path, 128, "%s%s", BPFFS_ATTACH_COUNTERS, file_name);
247 int cgroup_fd, const char *file_name)
268 snprintf(path, 128, "%s%s", BPFFS_ATTACH_COUNTERS, file_name);
246 setup_cgroup_iter(struct cgroup_hierarchical_stats *obj, int cgroup_fd, const char *file_name) argument
/linux-master/tools/perf/util/
H A Dconfig.h48 int perf_config_set__collect(struct perf_config_set *set, const char *file_name,
H A Dvdso.c252 const char *file_name; local
259 file_name = vdso__get_compat_file(vdso_file);
260 if (!file_name)
263 dso = __machine__addnew_vdso(machine, vdso_file->dso_name, file_name);
H A Dkvm-stat.h86 const char *file_name; member in struct:perf_kvm_stat
/linux-master/drivers/s390/char/
H A Dvmur.h41 char file_name[12]; member in struct:file_control_block
/linux-master/tools/testing/selftests/bpf/
H A Dveristat.c83 char *file_name; member in struct:verif_stats
91 char *file_name; member in struct:verif_stats_join
670 [FILE_NAME] = { "File", {"file_name", "filename", "file"}, true /* asc */, true /* left */ },
810 free(stats[i].file_name);
1037 stats->file_name = strdup(base_filename);
1145 cmp = strcmp(s1->file_name, s2->file_name);
1190 cmp = strcmp(s1->file_name, s2->file_name);
1204 *str_val = s->file_name;
[all...]
/linux-master/scripts/
H A Dinsert-sys-cert.c201 static void *map_file(char *file_name, int *size) argument
207 fd = open(file_name, O_RDWR);
209 perror(file_name);
228 static char *read_file(char *file_name, int *size) argument
234 fd = open(file_name, O_RDONLY);
236 perror(file_name);
/linux-master/tools/verification/dot2/
H A Ddot2k.py148 def __create_file(self, file_name, content):
149 path = "%s/%s" % (self.name, file_name)
/linux-master/lib/
H A Dubsan.h50 const char *file_name; member in struct:source_location
/linux-master/tools/lib/bpf/
H A Dzip.c298 int zip_archive_find_entry(struct zip_archive *archive, const char *file_name, argument
301 size_t file_name_length = strlen(file_name);
323 memcmp(file_name, archive->data + offset, file_name_length) == 0) {
/linux-master/drivers/usb/mtu3/
H A Dmtu3_debugfs.c259 const char *file_name = file_dentry(file)->d_iname; local
266 if (strcmp(f_map->name, file_name) == 0)
291 const char *file_name = file_dentry(sf->file)->d_iname; local
299 if (strcmp(regs->name, file_name) == 0)
317 const char *file_name = file_dentry(file)->d_iname; local
334 if (strcmp(regs->name, file_name) == 0)

Completed in 251 milliseconds

123