Home
last modified time | relevance | path

Searched refs:name_buf (Results 1 – 7 of 7) 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.c567 static char name_buf[KSYM_NAME_LEN]; in lock_contention_get_name() local
584 snprintf(name_buf, sizeof(name_buf), "%s", task.comm); in lock_contention_get_name()
585 return name_buf; in lock_contention_get_name()
619 snprintf(name_buf, sizeof(name_buf), "&%s", slab_data->name); in lock_contention_get_name()
620 return name_buf; in lock_contention_get_name()
633 snprintf(name_buf, sizeof(name_buf), "cgroup:%" PRIu64 "", cgrp_id); in lock_contention_get_name()
634 return name_buf; in lock_contention_get_name()
653 snprintf(name_buf, sizeof(name_buf), "%s+%#lx", sym->name, offset); in lock_contention_get_name()
655 snprintf(name_buf, sizeof(name_buf), "%#lx", (unsigned long)addr); in lock_contention_get_name()
658 return name_buf; in lock_contention_get_name()
/linux/fs/btrfs/
H A Dprops.c156 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/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.c369 char name_buf[128]; in luo_session_getfile() local
373 snprintf(name_buf, sizeof(name_buf), "[luo_session] %s", session->name); in luo_session_getfile()
374 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 …]