Home
last modified time | relevance | path

Searched refs:name_buf (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/firmware/coreboot/
H A Dgsmi.c93 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()
335 memcpy(gsmi_dev.name_buf->start, name, name_len * 2); 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()
401 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable()
419 memcpy(name, gsmi_dev.name_buf->start, GSMI_BUF_SIZE); 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()
[all …]
/linux/tools/perf/util/
H A Dbpf_lock_contention.c574 static char name_buf[KSYM_NAME_LEN]; in lock_contention_get_name()
591 snprintf(name_buf, sizeof(name_buf), "%s", task.comm); in lock_contention_get_name()
592 return name_buf; in lock_contention_get_name()
626 snprintf(name_buf, sizeof(name_buf), "&%s", slab_data->name); in lock_contention_get_name()
627 return name_buf; in lock_contention_get_name()
640 snprintf(name_buf, sizeof(name_buf), "cgroup:%" PRIu64 "", cgrp_id); in lock_contention_get_name()
641 return name_buf; in lock_contention_get_name()
567 static char name_buf[KSYM_NAME_LEN]; lock_contention_get_name() local
[all...]
/linux/fs/btrfs/
H A Dprops.c166 char *name_buf = NULL; in iterate_object_props() local
222 kfree(name_buf); in iterate_object_props()
224 name_buf = kmalloc(name_buf_len, GFP_NOFS); in iterate_object_props()
225 if (!name_buf) { in iterate_object_props()
230 read_extent_buffer(leaf, name_buf, name_ptr, name_len); in iterate_object_props()
231 name_buf[name_len] = '\0'; in iterate_object_props()
233 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
261 kfree(name_buf); in iterate_object_props()
/linux/kernel/cgroup/
H A Ddebug.c89 char *name_buf; in current_css_set_cg_links_read() local
91 name_buf = kmalloc(NAME_MAX + 1, GFP_KERNEL); in current_css_set_cg_links_read()
92 if (!name_buf) in current_css_set_cg_links_read()
100 cgroup_name(c, name_buf, NAME_MAX + 1); in current_css_set_cg_links_read()
102 c->root->hierarchy_id, name_buf); in current_css_set_cg_links_read()
105 kfree(name_buf); in current_css_set_cg_links_read()
/linux/kernel/liveupdate/
H A Dluo_session.c453 char name_buf[128]; in luo_session_getfile()
457 snprintf(name_buf, sizeof(name_buf), "[luo_session] %s", session->name); in luo_session_getfile()
458 file = anon_inode_getfile(name_buf, &luo_session_fops, session, O_RDWR); in luo_session_getfile()
452 char name_buf[128]; luo_session_getfile() local
/linux/fs/kernfs/
H A Dfile.c921 char name_buf[NAME_MAX + 1]; in kernfs_notify_workfn() local
948 have_name = kernfs_name(kn, name_buf, sizeof(name_buf)) >= 0; in kernfs_notify_workfn()
949 name = QSTR(name_buf); in kernfs_notify_workfn()
/linux/init/
H A Dinitramfs.c266 static __initdata char *header_buf, *symlink_buf, *name_buf; variable
318 read_into(name_buf, N_ALIGN(name_len), GotName); in do_header()
537 name_buf = bufs->name; in unpack_to_rootfs()
/linux/drivers/extcon/
H A Dextcon.c431 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/fs/proc/
H A Dtask_mmu.c605 char build_id_buf[BUILD_ID_SIZE_MAX], *name_buf = NULL; in query_vma_find_by_addr()
679 name_buf = kmalloc(name_buf_sz, GFP_KERNEL); in query_matching_vma()
680 if (!name_buf) { in query_matching_vma()
686 name = d_path(path, name_buf, name_buf_sz); in do_procmap_query()
691 name_sz = name_buf + name_buf_sz - name; in do_procmap_query()
693 name_sz = 1 + snprintf(name_buf, name_buf_sz, name_fmt ?: "%s", name); in do_procmap_query()
694 name = name_buf; in do_procmap_query()
736 kfree(name_buf); in do_procmap_query()
739 kfree(name_buf); in do_procmap_query()
759 kfree(name_buf); in do_procmap_query()
692 char build_id_buf[BUILD_ID_SIZE_MAX], *name_buf = NULL; do_procmap_query() local
[all...]
/linux/tools/power/x86/turbostat/
H A Dturbostat.c7219 char name_buf[16]; in probe_intel_uncore_frequency_cluster()
7236 sprintf(name_buf, "UMHz%d.%d", domain_id, cluster_id); in probe_intel_uncore_frequency_cluster()
7250 add_counter(0, path, name_buf, 0, SCOPE_PACKAGE, COUNTER_K2M, FORMAT_AVERAGE, 0, unc_pkg_id); in probe_intel_uncore_frequency_cluster()
7262 fprintf(outf, "pkg%d: %s(%s):", unc_pkg_id, name_buf, agent_types); in probe_intel_uncore_frequency_cluster()
7264 fprintf(outf, "pkg%d: %s:", unc_pkg_id, name_buf); in probe_intel_uncore_frequency_cluster()
7409 char name_buf[16]; in dump_sysfs_cstate_config()
7430 if (!fgets(name_buf, sizeof(name_buf), input)) in dump_sysfs_cstate_config()
7434 sp = strchr(name_buf, '-'); in dump_sysfs_cstate_config()
7436 sp = strchrnul(name_buf, '\ in dump_sysfs_cstate_config()
7227 char name_buf[16]; probe_intel_uncore_frequency_cluster() local
7405 char name_buf[16]; dump_sysfs_cstate_config() local
11342 char name_buf[16]; probe_cpuidle_residency() local
11396 char name_buf[16]; probe_cpuidle_counts() local
[all...]
/linux/drivers/firmware/qcom/
H A Dqcom_scm.c2137 char *name_buf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_qseecom_call()
2140 if (!name_buf) in qcom_scm_qseecom_call()
2143 memcpy(name_buf, app_name, app_name_len); in qcom_scm_qseecom_call()
2149 desc.args[0] = qcom_tzmem_to_phys(name_buf); in qcom_scm_qseecom_call()