/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | dir.c | 144 (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 in ntfs_lookup_inode_by_name() [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | dir.c | 144 (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 in ntfs_lookup_inode_by_name() [all...] |
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 68 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_ELAPSED, C_FREQ)) 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_ELAPSED, C_DES_PERF)) 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_ELAPSED, C_LOAD)) 186 def read_trace_data(file_name, cpu_mas 255 file_name = "" global() variable 322 file_name = "/sys/kernel/tracing/trace" global() variable [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 76 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()
|
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 103 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...] |
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 103 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...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq_governor.h | 53 #define gov_show_one(_gov, file_name) \ 54 static ssize_t show_##file_name \ 59 return sprintf(buf, "%u\n", tuners->file_name); \ 62 #define gov_show_one_common(file_name) \ 63 static ssize_t show_##file_name \ 67 return sprintf(buf, "%u\n", dbs_data->file_name); \
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | cpufreq_governor.h | 54 #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); \
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 30 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 30 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()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-kvm.c | 1090 .path = kvm->file_name, in read_events() 1225 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record() 1488 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) in kvm_cmd_stat() argument 1491 .file_name = file_name, in kvm_cmd_stat() 1526 static int __cmd_record(const char *file_name, int argc, const char **argv) in __cmd_record() argument 1539 rec_argv[i++] = strdup(file_name); in __cmd_record() 1548 static int __cmd_report(const char *file_name, int argc, const char **argv) in __cmd_report() argument 1557 rec_argv[i++] = strdup(file_name); in __cmd_report() 1567 __cmd_buildid_list(const char *file_name, in argument 1587 const char *file_name = NULL; cmd_kvm() local [all...] |
H A D | builtin-evlist.c | 21 static int __cmd_evlist(const char *file_name, struct perf_attr_details *details) in __cmd_evlist() argument 26 .path = file_name, in __cmd_evlist()
|
/kernel/linux/linux-5.10/tools/perf/jvmti/ |
H A D | libjvmti.c | 138 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()
|
/kernel/linux/linux-5.10/fs/notify/ |
H A D | fsnotify.c | 192 struct qstr *file_name = NULL; in __fsnotify_parent() local 226 file_name = &name.name; in __fsnotify_parent() 232 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0); in __fsnotify_parent() 234 if (file_name) in __fsnotify_parent() 315 struct inode *dir, const struct qstr *file_name, in send_to_group() 361 file_name, cookie, iter_info); in send_to_group() 365 file_name, cookie, iter_info); in send_to_group() 454 * if @file_name is not NULL, this is the directory that 455 * @file_name is relative to 456 * @file_name 314 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) send_to_group() argument 462 fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *file_name, struct inode *inode, u32 cookie) fsnotify() argument [all...] |
/kernel/linux/linux-6.6/fs/notify/ |
H A D | fsnotify.c | 190 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() 361 file_name, cookie, iter_info); in send_to_group() 365 file_name, cookie, iter_info); in send_to_group() 473 * if @file_name is not NULL, this is the directory that 474 * @file_name is relative to 475 * @file_name 320 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) send_to_group() argument 481 fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *file_name, struct inode *inode, u32 cookie) fsnotify() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/jvmti/ |
H A D | libjvmti.c | 138 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()
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
H A D | fanotify.c | 487 const struct qstr *file_name, in fanotify_alloc_name_event() 501 if (file_name) in fanotify_alloc_name_event() 502 size += file_name->len + 1; in fanotify_alloc_name_event() 517 if (file_name) in fanotify_alloc_name_event() 518 fanotify_info_copy_name(info, file_name); in fanotify_alloc_name_event() 530 const struct qstr *file_name, in fanotify_alloc_event() 570 file_name = NULL; in fanotify_alloc_event() 593 } else if (name_event && (file_name || child)) { in fanotify_alloc_event() 594 event = fanotify_alloc_name_event(id, fsid, file_name, child, in fanotify_alloc_event() 657 const struct qstr *file_name, u3 in fanotify_handle_event() 485 fanotify_alloc_name_event(struct inode *id, __kernel_fsid_t *fsid, const struct qstr *file_name, struct inode *child, gfp_t gfp) fanotify_alloc_name_event() argument 527 fanotify_alloc_event(struct fsnotify_group *group, u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *file_name, __kernel_fsid_t *fsid) fanotify_alloc_event() argument 654 fanotify_handle_event(struct fsnotify_group *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) fanotify_handle_event() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | veristat.c | 82 char *file_name; member 90 char *file_name; member 649 [FILE_NAME] = { "File", {"file_name", "filename", "file"}, true /* asc */, true /* left */ }, 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() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_hierarchical_stats.c | 193 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() 268 snprintf(path, 128, "%s%s", BPFFS_ATTACH_COUNTERS, file_name); in setup_cgroup_iter() 246 setup_cgroup_iter(struct cgroup_hierarchical_stats *obj, int cgroup_fd, const char *file_name) setup_cgroup_iter() argument
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_cloud.c | 80 char *file_name = NULL; in hmdfs_lookup_by_cloud() local 84 file_name = kzalloc(NAME_MAX + 1, GFP_KERNEL); in hmdfs_lookup_by_cloud() 85 if (!file_name) in hmdfs_lookup_by_cloud() 87 strncpy(file_name, dentry->d_name.name, file_name_len); in hmdfs_lookup_by_cloud() 88 qstr.name = file_name; in hmdfs_lookup_by_cloud() 89 qstr.len = strlen(file_name); in hmdfs_lookup_by_cloud() 93 kfree(file_name); in hmdfs_lookup_by_cloud()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_cloud.c | 77 char *file_name = NULL; in hmdfs_lookup_by_cloud() local 81 file_name = kzalloc(NAME_MAX + 1, GFP_KERNEL); in hmdfs_lookup_by_cloud() 82 if (!file_name) in hmdfs_lookup_by_cloud() 84 strncpy(file_name, dentry->d_name.name, file_name_len); in hmdfs_lookup_by_cloud() 85 qstr.name = file_name; in hmdfs_lookup_by_cloud() 86 qstr.len = strlen(file_name); in hmdfs_lookup_by_cloud() 90 kfree(file_name); in hmdfs_lookup_by_cloud()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-kvm.c | 1613 .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, in argument 2123 const char *file_name = NULL; cmd_kvm() local [all...] |
H A D | builtin-evlist.c | 29 static int __cmd_evlist(const char *file_name, struct perf_attr_details *details) in __cmd_evlist() argument 34 .path = file_name, in __cmd_evlist()
|
/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
H A D | mtu3_debugfs.c | 258 const char *file_name = file_dentry(file)->d_iname; in mtu3_ep_open() local 265 if (strcmp(f_map->name, file_name) == 0) in mtu3_ep_open() 290 const char *file_name = file_dentry(sf->file)->d_iname; in mtu3_probe_show() local 298 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_show() 316 const char *file_name = file_dentry(file)->d_iname; in mtu3_probe_write() local 333 if (strcmp(regs->name, file_name) == 0) in mtu3_probe_write()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | insert-sys-cert.c | 201 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()
|