Home
last modified time | relevance | path

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

/linux/drivers/firmware/google/
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.c452 char name_buf[128]; in luo_session_getfile() local
456 snprintf(name_buf, sizeof(name_buf), "[luo_session] %s", session->name); in luo_session_getfile()
457 file = anon_inode_getfile(name_buf, &luo_session_fops, session, O_RDWR); in luo_session_getfile()
/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/tools/power/x86/turbostat/
H A Dturbostat.c7220 char name_buf[16]; in probe_intel_uncore_frequency_cluster() local
7237 sprintf(name_buf, "UMHz%d.%d", domain_id, cluster_id); in probe_intel_uncore_frequency_cluster()
7251 add_counter(0, path, name_buf, 0, SCOPE_PACKAGE, COUNTER_K2M, FORMAT_AVERAGE, 0, unc_pkg_id); in probe_intel_uncore_frequency_cluster()
7398 char name_buf[16]; in dump_sysfs_cstate_config() local
7419 if (!fgets(name_buf, sizeof(name_buf), input)) in dump_sysfs_cstate_config()
7423 sp = strchr(name_buf, '-'); in dump_sysfs_cstate_config()
7425 sp = strchrnul(name_buf, '\n'); in dump_sysfs_cstate_config()
7429 remove_underbar(name_buf); in dump_sysfs_cstate_config()
7438 fprintf(outf, "cpu%d: %s: %s", master_cpu, name_buf, desc); in dump_sysfs_cstate_config()
11320 char name_buf[16]; in probe_cpuidle_residency() local
[all …]
/linux/drivers/firmware/qcom/
H A Dqcom_scm.c2212 char *name_buf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_qseecom_app_get_id()
2215 if (!name_buf) in qcom_scm_qseecom_app_get_id()
2218 memcpy(name_buf, app_name, app_name_len); in qcom_scm_qseecom_app_get_id()
2224 desc.args[0] = qcom_tzmem_to_phys(name_buf); in qcom_scm_qseecom_app_get_id()