Searched refs:snprintf (Results 1 - 25 of 2954) sorted by relevance

1234567891011>>

/linux-master/tools/power/x86/intel-speed-select/
H A Disst-display.c15 snprintf(str, str_len, "none");
25 index = snprintf(&str[curr_index],
31 index = snprintf(&str[curr_index], str_len - curr_index, "%d",
68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x",
98 j += snprintf(&delimiters[j], sizeof(delimiters) - j,
133 j += snprintf(&delimiters[j], sizeof(delimiters) - j,
150 k += snprintf(&delimiters[k],
176 snprintf(header, sizeof(header), "package-%d:die-%d:powerdomain-%d:cpu-%d",
179 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d",
184 snprintf(heade
[all...]
/linux-master/tools/usb/usbip/src/
H A Dutils.c23 snprintf(match_busid_attr_path, sizeof(match_busid_attr_path),
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s",
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s",
/linux-master/tools/lib/api/
H A Dcpu.c15 snprintf(entry, sizeof(entry),
/linux-master/drivers/md/bcache/
H A Dfeatures.c35 out += snprintf(out, buf + size - out, \
38 out += snprintf(out, buf + size - out, \
42 out += snprintf(out, buf + size - out, " "); \
45 out += snprintf(out, buf + size - out, "%s", f->string);\
48 out += snprintf(out, buf + size - out, "]"); \
53 out += snprintf(out, buf + size - out, "\n"); \
/linux-master/drivers/hid/
H A Dhid-picolcd_debugfs.c406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ",
417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n",
420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]);
425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n",
428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]);
433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n",
436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]);
441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n",
444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n",
450 snprintf(buf
[all...]
/linux-master/tools/lib/api/fs/
H A Dtracing_path.c20 snprintf(tracing_path, sizeof(tracing_path), "%s/%s",
133 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*");
146 snprintf(buf, size,
152 snprintf(buf, size,
159 snprintf(buf, size, "%s",
166 snprintf(buf, size,
173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf)));
/linux-master/tools/lib/
H A Dstr_error_r.c25 snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, [buf], %zd)=%d", errnum, buflen, err);
/linux-master/drivers/scsi/snic/
H A Dsnic_attrs.c16 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name);
26 return snprintf(buf, PAGE_SIZE, "%s\n",
35 return snprintf(buf, PAGE_SIZE, "%s\n", SNIC_DRV_VERSION);
48 return snprintf(buf, PAGE_SIZE, "%s\n",
/linux-master/drivers/usb/common/
H A Ddebug.c19 snprintf(str, size, "Get Device Status(Length = %d)", wLength);
22 snprintf(str, size,
27 snprintf(str, size, "Get Endpoint Status(ep%d%s)",
78 snprintf(str, size, "%s Device Feature(%s%s)",
85 snprintf(str, size, "%s Interface Feature(%s)",
91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)",
102 snprintf(str, size, "Set Address(Addr = %02x)", wValue);
165 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)",
172 snprintf(str, size, "Get Configuration(Length = %d)", wLength);
177 snprintf(st
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dpnvm.h25 snprintf(pnvm_name, max_len, "%s.pnvm",
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_config.c32 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i);
39 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i);
45 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY,
52 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i);
60 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i);
67 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i);
74 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i);
81 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i);
88 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i);
95 snprintf(ke
[all...]
H A Dadf_gen2_config.c30 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i);
36 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i);
42 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY,
49 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i);
57 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i);
64 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i);
71 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i);
78 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i);
85 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i);
92 snprintf(ke
[all...]
/linux-master/tools/power/cpupower/utils/helpers/
H A Dmisc.c61 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu);
81 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu);
82 snprintf(linebuf, sizeof(linebuf), "%d", val);
95 snprintf(path, sizeof(path),
101 snprintf(linebuf, sizeof(linebuf), "%s", epp);
114 snprintf(path, sizeof(path), PATH_TO_CPU "amd_pstate/status");
119 snprintf(linebuf, sizeof(linebuf), "%s\n", mode);
132 snprintf(path, sizeof(path), PATH_TO_CPU "cpufreq/boost");
137 snprintf(linebuf, sizeof(linebuf), "%d", turbo_boost);
/linux-master/drivers/target/
H A Dtarget_core_stat.c52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index);
57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index);
62 return snprintf(page, PAGE_SIZE, "Target\n");
67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count);
102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index);
107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index);
113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT);
120 return snprintf(page, PAGE_SIZE, "activated");
122 return snprintf(page, PAGE_SIZE, "deactivated");
135 return snprintf(pag
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dproc-multiple-procfs.c36 snprintf(procbuff, sizeof(procbuff), "%s/meminfo", procdir1);
39 snprintf(procbuff, sizeof(procbuff), "%s/meminfo", procdir2);
H A Dself.c31 snprintf(buf1, sizeof(buf1), "%u", pid);
/linux-master/samples/bpf/
H A Dtracex7_user.c22 snprintf(filename, sizeof(filename), "%s.bpf.o", argv[0]);
48 snprintf(command, 256, "mount %s tmpmnt/", argv[1]);
/linux-master/tools/lib/bpf/
H A Dstr_error.c19 snprintf(dst, len, "ERROR: strerror_r(%d)=%d", err, ret);
/linux-master/drivers/iommu/amd/
H A Ddebugfs.c30 snprintf(name, MAX_NAME_LEN, "iommu%02d", iommu->index);
/linux-master/tools/perf/arch/s390/util/
H A Dmachine.c17 snprintf(path, PATH_MAX, "module/%.*s/sections/.text",
/linux-master/arch/s390/include/asm/
H A Dpci_debug.h16 snprintf(debug_buffer, 16, text); \
/linux-master/drivers/s390/cio/
H A Dqdio_debug.h31 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
43 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
56 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
/linux-master/drivers/target/iscsi/
H A Discsi_target_stat.c53 return snprintf(page, PAGE_SIZE, "%u\n",
60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION);
66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION);
72 return snprintf(page, PAGE_SIZE, "%u\n",
79 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES);
85 return snprintf(page, PAGE_SIZE, "%u\n",
102 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count);
111 return snprintf(page, PAGE_SIZE, "%u\n",
121 return snprintf(page, PAGE_SIZE, "%s\n",
129 return snprintf(pag
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c21 curr_len = snprintf(buf + *used, total - *used,
25 curr_len = snprintf(buf + *used, total - *used,
29 curr_len = snprintf(buf + *used, total - *used,
33 curr_len = snprintf(buf + *used, total - *used,
41 curr_len = snprintf(buf + *used, total - *used,
45 curr_len = snprintf(buf + *used, total - *used,
49 curr_len = snprintf(buf + *used, total - *used,
60 curr_len = snprintf(buf + *used, total - *used,
64 curr_len = snprintf(buf + *used, total - *used,
68 curr_len = snprintf(bu
[all...]
/linux-master/drivers/w1/slaves/
H A Dw1_ds2423.c65 c -= snprintf(out_buf + PAGE_SIZE - c,
74 c -= snprintf(out_buf + PAGE_SIZE - c,
97 c -= snprintf(out_buf + PAGE_SIZE - c,
100 c -= snprintf(out_buf + PAGE_SIZE - c,
106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error");

Completed in 243 milliseconds

1234567891011>>