| /linux-6.15/drivers/firmware/google/ |
| H A D | gsmi.c | 93 struct gsmi_buf *name_buf; /* variable name buffer */ member 316 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_variable() 334 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_get_variable() 380 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_next_variable() 381 .name_len = gsmi_dev.name_buf->length, in gsmi_get_next_variable() 439 .name_ptr = gsmi_dev.name_buf->address, in gsmi_set_variable() 460 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_set_variable() 949 gsmi_dev.name_buf = gsmi_buf_alloc(); in gsmi_init() 950 if (!gsmi_dev.name_buf) { in gsmi_init() 1057 gsmi_buf_free(gsmi_dev.name_buf); in gsmi_init() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_set_remove_xattr.c | 25 char name_buf[32]; variable 29 bpf_probe_read_kernel(name_buf, sizeof(name_buf), name); in name_match_foo() 31 return !bpf_strncmp(name_buf, sizeof(xattr_foo), xattr_foo); in name_match_foo()
|
| /linux-6.15/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 463 static char name_buf[KSYM_NAME_LEN]; in lock_contention_get_name() local 480 snprintf(name_buf, sizeof(name_buf), "%s", task.comm); in lock_contention_get_name() 481 return name_buf; in lock_contention_get_name() 510 snprintf(name_buf, sizeof(name_buf), "&%s", slab_data->name); in lock_contention_get_name() 511 return name_buf; in lock_contention_get_name() 524 snprintf(name_buf, sizeof(name_buf), "cgroup:%" PRIu64 "", cgrp_id); in lock_contention_get_name() 525 return name_buf; in lock_contention_get_name() 544 snprintf(name_buf, sizeof(name_buf), "%s+%#lx", sym->name, offset); in lock_contention_get_name() 546 snprintf(name_buf, sizeof(name_buf), "%#lx", (unsigned long)addr); in lock_contention_get_name() 549 return name_buf; in lock_contention_get_name()
|
| /linux-6.15/fs/btrfs/ |
| H A D | props.c | 156 char *name_buf = NULL; in iterate_object_props() local 212 kfree(name_buf); in iterate_object_props() 214 name_buf = kmalloc(name_buf_len, GFP_NOFS); in iterate_object_props() 215 if (!name_buf) { in iterate_object_props() 220 read_extent_buffer(leaf, name_buf, name_ptr, name_len); in iterate_object_props() 221 name_buf[name_len] = '\0'; in iterate_object_props() 223 handler = find_prop_handler(name_buf, handlers); in iterate_object_props() 251 kfree(name_buf); in iterate_object_props()
|
| /linux-6.15/kernel/cgroup/ |
| H A D | debug.c | 91 char *name_buf; in current_css_set_cg_links_read() local 93 name_buf = kmalloc(NAME_MAX + 1, GFP_KERNEL); in current_css_set_cg_links_read() 94 if (!name_buf) in current_css_set_cg_links_read() 103 cgroup_name(c, name_buf, NAME_MAX + 1); in current_css_set_cg_links_read() 105 c->root->hierarchy_id, name_buf); in current_css_set_cg_links_read() 109 kfree(name_buf); in current_css_set_cg_links_read()
|
| /linux-6.15/init/ |
| H A D | initramfs.c | 255 static __initdata char *header_buf, *symlink_buf, *name_buf; variable 306 read_into(name_buf, N_ALIGN(name_len), GotName); in do_header() 525 name_buf = bufs->name; in unpack_to_rootfs()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | tests.c | 810 char name_buf[20]; in bch2_btree_perf_test() local 878 scnprintf(name_buf, sizeof(name_buf), "%s:", testname); in bch2_btree_perf_test() 882 name_buf, nr_buf.buf, nr_threads, in bch2_btree_perf_test()
|
| H A D | fsck.c | 388 char name_buf[20]; in reattach_inode() local 401 snprintf(name_buf, sizeof(name_buf), "subvol-%u", inode->bi_subvol); in reattach_inode() 403 snprintf(name_buf, sizeof(name_buf), "%llu", inode->bi_inum); in reattach_inode() 423 struct qstr name = QSTR(name_buf); in reattach_inode()
|
| /linux-6.15/fs/proc/ |
| H A D | task_mmu.c | 460 char build_id_buf[BUILD_ID_SIZE_MAX], *name_buf = NULL; in do_procmap_query() local 555 name_buf = kmalloc(name_buf_sz, GFP_KERNEL); in do_procmap_query() 556 if (!name_buf) { in do_procmap_query() 562 name = d_path(path, name_buf, name_buf_sz); in do_procmap_query() 567 name_sz = name_buf + name_buf_sz - name; in do_procmap_query() 569 name_sz = 1 + snprintf(name_buf, name_buf_sz, name_fmt ?: "%s", name); in do_procmap_query() 570 name = name_buf; in do_procmap_query() 585 kfree(name_buf); in do_procmap_query() 588 kfree(name_buf); in do_procmap_query() 602 kfree(name_buf); in do_procmap_query()
|
| /linux-6.15/drivers/extcon/ |
| H A D | extcon.c | 431 char name_buf[120]; in extcon_sync() local 481 snprintf(name_buf, sizeof(name_buf), "NAME=%s", prop_buf); in extcon_sync() 482 envp[env_offset++] = name_buf; in extcon_sync()
|
| /linux-6.15/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 6711 char name_buf[16]; in probe_intel_uncore_frequency_cluster() local 6889 char name_buf[16]; in dump_sysfs_cstate_config() local 6910 if (!fgets(name_buf, sizeof(name_buf), input)) in dump_sysfs_cstate_config() 6914 sp = strchr(name_buf, '-'); in dump_sysfs_cstate_config() 6920 remove_underbar(name_buf); in dump_sysfs_cstate_config() 10280 char name_buf[16]; in probe_cpuidle_residency() local 10295 if (!fgets(name_buf, sizeof(name_buf), input)) in probe_cpuidle_residency() 10305 remove_underbar(name_buf); in probe_cpuidle_residency() 10329 char name_buf[16]; in probe_cpuidle_counts() local 10344 if (!fgets(name_buf, sizeof(name_buf), input)) in probe_cpuidle_counts() [all …]
|
| /linux-6.15/drivers/firmware/qcom/ |
| H A D | qcom_scm.c | 1897 char *name_buf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_qseecom_app_get_id() 1900 if (!name_buf) in qcom_scm_qseecom_app_get_id() 1903 memcpy(name_buf, app_name, app_name_len); in qcom_scm_qseecom_app_get_id() 1909 desc.args[0] = qcom_tzmem_to_phys(name_buf); in qcom_scm_qseecom_app_get_id()
|