asprintf          142 arch/um/os-Linux/umid.c 	err = asprintf(&file, "%s/pid", dir);
asprintf          276 scripts/sign-file.c 		ERR(asprintf(&dest_name, "%s.~signed~", module_name) < 0,
asprintf          332 scripts/sign-file.c 			ERR(asprintf(&sig_file_name, "%s.p7s", module_name) < 0,
asprintf           40 tools/gpio/gpio-event-mon.c 	ret = asprintf(&chrdev_name, "/dev/%s", device_name);
asprintf           69 tools/gpio/gpio-utils.c 	ret = asprintf(&chrdev_name, "/dev/%s", device_name);
asprintf           77 tools/gpio/lsgpio.c 	ret = asprintf(&chrdev_name, "/dev/%s", device_name);
asprintf          301 tools/iio/iio_event_monitor.c 		ret = asprintf(&chrdev_name, "/dev/iio:device%d", dev_num);
asprintf          446 tools/iio/iio_generic_buffer.c 	ret = asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num);
asprintf          467 tools/iio/iio_generic_buffer.c 		ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num);
asprintf          486 tools/iio/iio_generic_buffer.c 			ret = asprintf(&trigger_name,
asprintf          499 tools/iio/iio_generic_buffer.c 			ret = asprintf(&trigger_name,
asprintf          579 tools/iio/iio_generic_buffer.c 	ret = asprintf(&buf_dir_name,
asprintf          622 tools/iio/iio_generic_buffer.c 	ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num);
asprintf           65 tools/iio/iio_utils.c 	ret = asprintf(generic_name, "%s_%s", prefix, working);
asprintf           98 tools/iio/iio_utils.c 	ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir);
asprintf          102 tools/iio/iio_utils.c 	ret = asprintf(&builtname, FORMAT_TYPE_FILE, name);
asprintf          107 tools/iio/iio_utils.c 	ret = asprintf(&builtname_generic, FORMAT_TYPE_FILE, generic_name);
asprintf          123 tools/iio/iio_utils.c 			ret = asprintf(&filename,
asprintf          227 tools/iio/iio_utils.c 	ret = asprintf(&builtname, "%s_%s", name, param_name);
asprintf          231 tools/iio/iio_utils.c 	ret = asprintf(&builtname_generic,
asprintf          248 tools/iio/iio_utils.c 			ret = asprintf(&filename,
asprintf          324 tools/iio/iio_utils.c 	ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir);
asprintf          337 tools/iio/iio_utils.c 			ret = asprintf(&filename,
asprintf          385 tools/iio/iio_utils.c 			ret = asprintf(&filename,
asprintf          445 tools/iio/iio_utils.c 			ret = asprintf(&filename,
asprintf          117 tools/iio/lsiio.c 			if (asprintf(&dev_dir_name, "%s%s", iio_dir,
asprintf          139 tools/iio/lsiio.c 			if (asprintf(&dev_dir_name, "%s%s", iio_dir,
asprintf           77 tools/lib/api/fs/tracing_path.c 	if (asprintf(&file, "%s/%s", tracing_path_mount(), name) < 0)
asprintf           92 tools/lib/api/fs/tracing_path.c 	if (asprintf(&file, "%s/events/%s", tracing_path_mount(), name) < 0)
asprintf           68 tools/lib/subcmd/subcmd-util.h 	if (asprintf((out), "%s" fmt, tmp ?: "", ## __VA_ARGS__) == -1)	\
asprintf           77 tools/lib/subcmd/subcmd-util.h 	if (asprintf(out, "%s%s", tmp ?: "", add) == -1)
asprintf         1028 tools/lib/traceevent/event-parse.c 		if (asprintf(tok, "%c", ch) < 0)
asprintf         3300 tools/lib/traceevent/event-parse.c 		if (asprintf(&cat, "%s%s", event->print_fmt.format, token) < 0)
asprintf         4334 tools/lib/traceevent/event-parse.c 	if (asprintf(&arg->atom.atom, "%lld", ip) < 0)
asprintf         4432 tools/lib/traceevent/event-parse.c 				if (asprintf(&arg->atom.atom, "%lld", val) < 0) {
asprintf         4500 tools/lib/traceevent/event-parse.c 		if (asprintf(&format, "%%ps: (NO FORMAT FOUND at %llx)\n", addr) < 0)
asprintf         4505 tools/lib/traceevent/event-parse.c 	if (asprintf(&format, "%s: %s", "%ps", printk->printk) < 0)
asprintf          113 tools/lib/traceevent/event-plugin.c 			ret = asprintf(&name, "%s:%s", alias, op->name);
asprintf          283 tools/lib/traceevent/event-plugin.c 	ret = asprintf(&plugin, "%s/%s", path, file);
asprintf          410 tools/lib/traceevent/event-plugin.c 	ret = asprintf(&path, "%s/%s", home, LOCAL_PLUGIN_DIR);
asprintf          277 tools/lib/traceevent/parse-filter.c 	ret = asprintf(&reg, "^%s$", event_name);
asprintf          288 tools/lib/traceevent/parse-filter.c 		ret = asprintf(&reg, "^%s$", sys_name);
asprintf         1961 tools/lib/traceevent/parse-filter.c 				asprintf(&str, val ? "TRUE" : "FALSE");
asprintf         1979 tools/lib/traceevent/parse-filter.c 		asprintf(&str, "(%s) %s (%s)", left, op, right);
asprintf         1995 tools/lib/traceevent/parse-filter.c 			asprintf(&str, right_val ? "FALSE" : "TRUE");
asprintf         1998 tools/lib/traceevent/parse-filter.c 		asprintf(&str, "%s(%s)", op, right);
asprintf         2014 tools/lib/traceevent/parse-filter.c 	asprintf(&str, "%lld", arg->value.val);
asprintf         2072 tools/lib/traceevent/parse-filter.c 	asprintf(&str, "%s %s %s", lstr, op, rstr);
asprintf         2116 tools/lib/traceevent/parse-filter.c 		asprintf(&str, "%s %s %s", lstr, op, rstr);
asprintf         2151 tools/lib/traceevent/parse-filter.c 		asprintf(&str, "%s %s \"%s\"",
asprintf         2168 tools/lib/traceevent/parse-filter.c 		asprintf(&str, arg->boolean.value ? "TRUE" : "FALSE");
asprintf          149 tools/perf/arch/common.c 		if (asprintf(&buf, "%s%s", cross_env, name) < 0)
asprintf          193 tools/perf/arch/common.c 	if (asprintf(&buf, "%s%s", path_list[idx], name) < 0)
asprintf           42 tools/perf/arch/powerpc/util/header.c 	if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0)
asprintf         2664 tools/perf/builtin-c2c.c 	if (asprintf(&c2c.cl_output,
asprintf         2698 tools/perf/builtin-c2c.c 	if (asprintf(&c2c.cl_sort, "offset,%s", c) < 0)
asprintf         2704 tools/perf/builtin-c2c.c 	if (asprintf(&c2c.cl_resort, "offset,%s",
asprintf          131 tools/perf/builtin-help.c 		if (asprintf(&man_page, "(woman \"%s\")", page) > 0) {
asprintf          162 tools/perf/builtin-help.c 		if (asprintf(&man_page, "man:%s(1)", page) > 0) {
asprintf          182 tools/perf/builtin-help.c 	if (asprintf(&shell_cmd, "%s %s", cmd, page) > 0) {
asprintf          325 tools/perf/builtin-help.c 	return asprintf(&s, "perf-%s", perf_cmd) < 0 ? NULL : s;
asprintf          337 tools/perf/builtin-help.c 	if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) {
asprintf          399 tools/perf/builtin-help.c 	return asprintf(page_path, "%s/%s.html", html_path, page);
asprintf          108 tools/perf/builtin-list.c 			if (asprintf(&s, "*%s*", argv[i]) < 0) {
asprintf          274 tools/perf/builtin-script.c 		if (asprintf(&es->filename, "%s.%s.dump", data->file.path, perf_evsel__name(evsel)) < 0)
asprintf         1726 tools/perf/builtin-timechart.c 	if (asprintf(&filter, "common_pid != %d", getpid()) < 0) {
asprintf          374 tools/perf/perf.c 	if (asprintf(&cmd, "perf-%s", argv[0]) < 0)
asprintf          276 tools/perf/pmu-events/jevents.c 	i = asprintf(&tp, "%s", topic);
asprintf          705 tools/perf/pmu-events/jevents.c 	n = asprintf(&tblname, "pme_%s", fname);
asprintf          104 tools/perf/tests/llvm.c 	err = asprintf(&tmpl_new, "echo '%s' | %s%s", source,
asprintf          109 tools/perf/tests/llvm.c 	err = asprintf(&clang_opt_new, "-xc %s", llvm_param.clang_opt);
asprintf           17 tools/perf/tests/python-use.c 	if (asprintf(&cmd, "echo \"import sys ; sys.path.append('%s'); import perf\" | %s %s",
asprintf          115 tools/perf/tests/thread-map.c 			asprintf(&str, "%d,%d", getpid(), getppid()) >= 0);
asprintf          820 tools/perf/ui/browsers/hists.c 		if (asprintf(&alloc_str2, "%s%s", str, buf) < 0)
asprintf          830 tools/perf/ui/browsers/hists.c 		if (asprintf(&alloc_str, "%s %s", buf, str) < 0)
asprintf          946 tools/perf/ui/browsers/hists.c 		if (asprintf(&new, "%s%s%s", old_str,
asprintf          951 tools/perf/ui/browsers/hists.c 			if (asprintf(&new, "%s %s", value_str, str) < 0)
asprintf          954 tools/perf/ui/browsers/hists.c 			if (asprintf(&new, "%s", str) < 0)
asprintf          993 tools/perf/ui/browsers/hists.c 			if (asprintf(&value_str, "%s", buf) < 0) {
asprintf         2408 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Annotate %s", sym->name) < 0)
asprintf         2462 tools/perf/ui/browsers/hists.c 		ret = asprintf(optstr, "Zoom %s %s(%d) thread",
asprintf         2467 tools/perf/ui/browsers/hists.c 		ret = asprintf(optstr, "Zoom %s %s thread",
asprintf         2512 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Zoom %s %s DSO",
asprintf         2537 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Browse map details") < 0)
asprintf         2609 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for samples of thread [%s]%s",
asprintf         2613 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for samples of symbol [%s]%s",
asprintf         2617 tools/perf/ui/browsers/hists.c 		if (asprintf(optstr, "Run scripts for all samples%s", tstr) < 0)
asprintf         2668 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Show context for individual samples %s",
asprintf         2699 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Switch to another data file in PWD") < 0)
asprintf         2717 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Exit") < 0)
asprintf         2752 tools/perf/ui/browsers/hists.c 	if (asprintf(optstr, "Zoom %s Processor Socket %d",
asprintf           51 tools/perf/ui/browsers/res_sample.c 		if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf,
asprintf           76 tools/perf/ui/browsers/res_sample.c 	if (asprintf(&cmd, "%s script %s%s --time %s %s%s %s%s --ns %s %s %s %s %s | less +/%s",
asprintf           53 tools/perf/ui/browsers/scripts.c 	if (asprintf(&c->paths[c->index],
asprintf           73 tools/perf/ui/browsers/scripts.c 	if (asprintf(&c->paths[c->index], "%s %s", value,
asprintf          181 tools/perf/ui/browsers/scripts.c 	if (asprintf(&cmd, "%s%s %s %s%s 2>&1 | less",
asprintf          182 tools/perf/ui/gtk/hists.c 			if (asprintf(&str, "%s%s%s",
asprintf          198 tools/perf/ui/gtk/hists.c 			if (asprintf(&str, "%s%s%s",
asprintf           80 tools/perf/ui/stdio/hist.c 		if (asprintf(&alloc_str, "%s%s", str, buf) < 0)
asprintf         1910 tools/perf/util/annotate.c 	err = asprintf(&command,
asprintf         2440 tools/perf/util/annotate.c 	if (asprintf(&filename, "%s.annotation", ms->sym->name) < 0)
asprintf         2094 tools/perf/util/auxtrace.c 		err = asprintf(&filter, "%s 0x%"PRIx64"/0x%"PRIx64"%s%s",
asprintf         2097 tools/perf/util/auxtrace.c 		err = asprintf(&filter, "%s 0x%"PRIx64"%s%s",
asprintf         1560 tools/perf/util/bpf-loader.c 		if (asprintf(&event_definition, "bpf-output/no-inherit=1,name=%s/", name) < 0)
asprintf          451 tools/perf/util/build-id.c 	if (asprintf(&topdir, "%s/.build-id/", buildid_dir) < 0)
asprintf          468 tools/perf/util/build-id.c 		if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0)
asprintf          560 tools/perf/util/build-id.c 	if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "",
asprintf          676 tools/perf/util/build-id.c 	if (asprintf(&filename, "%s/%s", dir_name,
asprintf          705 tools/perf/util/build-id.c 			if (asprintf(&filename, "%s/%s", dir_name,
asprintf           90 tools/perf/util/copyfile.c 	if (asprintf(&tmp, "%s.XXXXXXx", to) < 0) {
asprintf           54 tools/perf/util/data.c 		if (asprintf(&file->path, "%s/data.%d", data->path, i) < 0)
asprintf          309 tools/perf/util/data.c 	if (asprintf(&data->file.path, "%s/header", data->path) < 0)
asprintf          376 tools/perf/util/data.c 	if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0)
asprintf          394 tools/perf/util/dso.c 			if (asprintf(&m->name, "[%.*s]", (int) (ext - name), name) == -1)
asprintf          397 tools/perf/util/dso.c 			if (asprintf(&m->name, "%s", name) == -1)
asprintf          152 tools/perf/util/dsos.c 		if (asprintf(&base, "[JIT] tid %d", tid) < 0)
asprintf         1052 tools/perf/util/evlist.c 			if (asprintf(&filter, "common_pid != %d", pids[i]) < 0)
asprintf         1057 tools/perf/util/evlist.c 			if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0)
asprintf          321 tools/perf/util/evsel.c 	if (asprintf(&evsel->name, "cycles%s%s%.*s",
asprintf          351 tools/perf/util/evsel.c 		if (asprintf(&evsel->name, "%s:%s", sys, name) < 0)
asprintf         1189 tools/perf/util/evsel.c 	if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) {
asprintf         2365 tools/perf/util/evsel.c 		if (asprintf(&new_name, "%s%su", name, sep) < 0)
asprintf          254 tools/perf/util/llvm-utils.c 	err = asprintf(&autoconf_path, "%s%s%s/include/generated/autoconf.h",
asprintf          262 tools/perf/util/llvm-utils.c 		err = asprintf(kbuild_dir, "%s%s%s", prefix_dir, test_dir,
asprintf          485 tools/perf/util/llvm-utils.c 	if (asprintf(&perf_bpf_include_opts, "-I%s/bpf", perf_include_dir) < 0)
asprintf          505 tools/perf/util/llvm-utils.c 		if (asprintf(&pipe_template, "%s -emit-llvm | %s -march=bpf %s -filetype=obj -o -",
asprintf          525 tools/perf/util/llvm-utils.c 	if (asprintf(&command_echo, "echo -n \"%s\"", template) < 0)
asprintf           72 tools/perf/util/machine.c 	else if (asprintf(&machine->mmap_name, "[guest.kernel.kallsyms.%d]",
asprintf          355 tools/perf/util/metricgroup.c 					if (asprintf(&s, "%s\n%*s%s]",
asprintf          360 tools/perf/util/metricgroup.c 						if (asprintf(&s, "%s\n%*s%s]",
asprintf           78 tools/perf/util/namespaces.c 	if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1)
asprintf          995 tools/perf/util/parse-events.c 		if (asprintf(&err->str, "'%s' is not usable in 'perf stat'",
asprintf         1326 tools/perf/util/parse-events.c 		if (asprintf(&err->str,
asprintf         2401 tools/perf/util/parse-events.c 			ret = asprintf(&buf, "%s:%s@%s", ent->pev.group,
asprintf         2428 tools/perf/util/parse-events.c 			ret = asprintf(&buf, "%s@%s(%.12s)", nd->s, path, buf);
asprintf         2862 tools/perf/util/parse-events.c 		if (asprintf(&str, "valid terms: %s,%s",
asprintf         2866 tools/perf/util/parse-events.c 		if (asprintf(&str, "valid terms: %s", static_terms) < 0)
asprintf          247 tools/perf/util/parse-events.y 		if (asprintf(&pattern, "%s*", $1) < 0)
asprintf         1106 tools/perf/util/pmu.c 			if (asprintf(&err->str,
asprintf         1449 tools/perf/util/pmu.c 			if (asprintf(&s, "%s//", pmu->name) < 0)
asprintf         1382 tools/perf/util/probe-event.c 			if (asprintf(&pev->point.function, "%%%s", pev->event) < 0)
asprintf         2454 tools/perf/util/probe-event.c 	if (asprintf(&buf, "%s:%s", group, event) < 0)
asprintf         3072 tools/perf/util/probe-event.c 	if (asprintf(&tp->symbol, "0x%lx", tp->address) < 0)
asprintf         3083 tools/perf/util/probe-event.c 	if (asprintf(&tp->realname, "abs_%lx", tp->address) < 0)
asprintf          845 tools/perf/util/probe-file.c 			ret = asprintf(&entry->spev, "%s:%s=%s", sdtgrp,
asprintf          143 tools/perf/util/python.c 	if (asprintf(&s, "{ type: mmap, pid: %u, tid: %u, start: %#" PRI_lx64 ", "
asprintf          276 tools/perf/util/python.c 	if (asprintf(&s, "{ type: lost, id: %#" PRI_lx64 ", "
asprintf          340 tools/perf/util/python.c 	if (asprintf(&s, "{ type: sample }") < 0) {
asprintf          454 tools/perf/util/python.c 	if (asprintf(&s, "{ type: context_switch, next_prev_pid: %u, next_prev_tid: %u, switch_out: %u }",
asprintf          214 tools/perf/util/s390-cpumsf.c 			? asprintf(&name, "%s/aux.ctr.%02x",
asprintf          216 tools/perf/util/s390-cpumsf.c 			: asprintf(&name, "aux.ctr.%02x", sample->cpu);
asprintf          783 tools/perf/util/s390-cpumsf.c 			? asprintf(&name, "%s/aux.smp.%02x",
asprintf          785 tools/perf/util/s390-cpumsf.c 			: asprintf(&name, "aux.smp.%02x", queue_nr);
asprintf         2769 tools/perf/util/sort.c 	if (asprintf(&new_sort_order, "%s,%s",
asprintf         2790 tools/perf/util/sort.c 	if (asprintf(&n, "%s,%s", pre, str) < 0)
asprintf           77 tools/perf/util/srcline.c 	if (asprintf(&srcline, "%s:%u", file, line) < 0)
asprintf          560 tools/perf/util/srcline.c 		if (asprintf(&srcline, "%s+%" PRIu64, show_sym ? sym->name : "",
asprintf          563 tools/perf/util/srcline.c 	} else if (asprintf(&srcline, "%s[%" PRIx64 "]", dso->short_name, addr) < 0)
asprintf          528 tools/perf/util/stat-display.c 		if (asprintf(&new_name,
asprintf          534 tools/perf/util/stat-display.c 		if (asprintf(&new_name,
asprintf          122 tools/perf/util/strlist.c 		if (asprintf(&subst, "%s/%s", subst_dir, s) < 0)
asprintf         2343 tools/perf/util/symbol.c 	ret = asprintf(&bf, "%s/%s", dir, ".debug");
asprintf          324 tools/perf/util/thread_map.c 	if (asprintf(&path, "%s/%d/comm", procfs__mountpoint(), pid) == -1)
asprintf          181 tools/perf/util/trace-event-info.c 		if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) {
asprintf          203 tools/perf/util/trace-event-info.c 		if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) {
asprintf          297 tools/perf/util/trace-event-info.c 		if (asprintf(&sys, "%s/%s", path, dent->d_name) < 0) {
asprintf          365 tools/perf/util/util.c 	if (asprintf(&tip, "Tip: %s", node->s) < 0)
asprintf           58 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		ret = asprintf(path, "%s/gpio", mnt_fs_get_target(fs));
asprintf          152 tools/testing/selftests/gpio/gpio-mockup-chardev.c 			*ret = asprintf(&chrdev_name, "/dev/%s", ent->d_name);