Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 2356) sorted by relevance

12345678910>>...95

/Linux-v5.4/tools/power/x86/intel-speed-select/
Disst-display.c17 snprintf(str, str_len, "none"); in printcpulist()
27 index = snprintf(&str[curr_index], in printcpulist()
31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist()
66 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask()
92 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt()
127 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print()
144 k += snprintf(&delimiters[k], in format_and_print()
167 snprintf(header, sizeof(header), "package-%d", in print_package_info()
170 snprintf(header, sizeof(header), "die-%d", get_physical_die_id(cpu)); in print_package_info()
172 snprintf(header, sizeof(header), "cpu-%d", cpu); in print_package_info()
[all …]
/Linux-v5.4/drivers/media/common/siano/
Dsmsdvb-debugfs.c48 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
50 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
52 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
54 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
56 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
58 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
60 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
62 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
64 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
66 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
[all …]
/Linux-v5.4/drivers/hid/
Dhid-picolcd_debugfs.c406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report()
417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report()
450 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
[all …]
/Linux-v5.4/drivers/usb/dwc3/
Ddebug.h203 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
207 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string()
211 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string()
215 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string()
219 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string()
223 snprintf(str, size, "End-Of-Frame [%s]", in dwc3_gadget_event_string()
227 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string()
231 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string()
235 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string()
239 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ath5k/
Ddebug.c204 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
209 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon()
212 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon()
216 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
220 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
224 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
228 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
232 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
323 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug()
327 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug()
[all …]
/Linux-v5.4/tools/perf/util/
Darm-spe-pkt-decoder.c285 return snprintf(buf, buf_len, "%s", name); in arm_spe_pkt_desc()
290 ret = snprintf(buf, buf_len, "EV"); in arm_spe_pkt_desc()
294 ret = snprintf(buf, buf_len, " EXCEPTION-GEN"); in arm_spe_pkt_desc()
299 ret = snprintf(buf, buf_len, " RETIRED"); in arm_spe_pkt_desc()
304 ret = snprintf(buf, buf_len, " L1D-ACCESS"); in arm_spe_pkt_desc()
309 ret = snprintf(buf, buf_len, " L1D-REFILL"); in arm_spe_pkt_desc()
314 ret = snprintf(buf, buf_len, " TLB-ACCESS"); in arm_spe_pkt_desc()
319 ret = snprintf(buf, buf_len, " TLB-REFILL"); in arm_spe_pkt_desc()
324 ret = snprintf(buf, buf_len, " NOT-TAKEN"); in arm_spe_pkt_desc()
329 ret = snprintf(buf, buf_len, " MISPRED"); in arm_spe_pkt_desc()
[all …]
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_stat.c54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show()
67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show()
73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show()
86 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
103 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show()
112 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
122 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
130 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show()
[all …]
/Linux-v5.4/drivers/target/
Dtarget_core_stat.c55 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
65 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show()
70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
105 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
110 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
116 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show()
123 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show()
125 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show()
138 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show()
[all …]
/Linux-v5.4/drivers/usb/common/
Ddebug.c18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
21 snprintf(str, size, in usb_decode_get_status()
26 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
77 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
84 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature()
101 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
164 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor()
171 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration()
176 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration()
[all …]
/Linux-v5.4/fs/ocfs2/dlm/
Ddlmdebug.c247 out += snprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
251 out += snprintf(buf + out, len - out, "%.*s", in stringify_lockname()
263 out += snprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
281 out += snprintf(buf + out, len - out, in dump_mle()
288 out += snprintf(buf + out, len - out, "Maybe="); in dump_mle()
291 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
293 out += snprintf(buf + out, len - out, "Vote="); in dump_mle()
296 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
298 out += snprintf(buf + out, len - out, "Response="); in dump_mle()
301 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
[all …]
/Linux-v5.4/tools/lib/api/fs/
Dtracing_path.c22 snprintf(tracing_mnt, sizeof(tracing_mnt), "%s", mountpoint); in __tracing_path_set()
23 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set()
25 snprintf(tracing_events_path, sizeof(tracing_events_path), "%s/%s%s", in __tracing_path_set()
122 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp()
135 snprintf(buf, size, in tracing_path__strerror_open_tp()
141 snprintf(buf, size, in tracing_path__strerror_open_tp()
148 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp()
155 snprintf(buf, size, in tracing_path__strerror_open_tp()
162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/Linux-v5.4/fs/nilfs2/
Dsysfs.c113 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show()
121 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show()
134 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show()
235 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show()
273 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show()
296 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show()
310 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show()
324 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show()
340 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show()
371 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_nsegments); in nilfs_segments_segments_number_show()
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_crypto.c175 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_dev_config()
180 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in qat_crypto_dev_config()
186 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_dev_config()
193 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_dev_config()
199 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_dev_config()
205 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_dev_config()
211 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_dev_config()
217 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_dev_config()
223 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in qat_crypto_dev_config()
270 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_create_instances()
[all …]
/Linux-v5.4/drivers/hwmon/occ/
Dcommon.c256 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_temp_1()
307 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_temp_2()
337 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_freq_1()
367 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_freq_2()
406 return snprintf(buf, PAGE_SIZE - 1, "%llu\n", val); in occ_show_power_1()
435 return snprintf(buf, PAGE_SIZE - 1, "%u_%u_%u\n", in occ_show_power_2()
453 return snprintf(buf, PAGE_SIZE - 1, "%llu\n", val); in occ_show_power_2()
474 return snprintf(buf, PAGE_SIZE - 1, "%u_system\n", in occ_show_power_a0()
488 return snprintf(buf, PAGE_SIZE - 1, "%u_proc\n", in occ_show_power_a0()
502 return snprintf(buf, PAGE_SIZE - 1, "%u_vdd\n", in occ_show_power_a0()
[all …]
/Linux-v5.4/drivers/crypto/bcm/
Dutil.c369 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
372 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
375 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
378 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
381 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
388 out_offset += snprintf(buf + out_offset, in spu_debugfs_read()
395 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
401 out_offset += snprintf(buf + out_offset, in spu_debugfs_read()
407 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
410 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
[all …]
/Linux-v5.4/drivers/scsi/fnic/
Dfnic_trace.c141 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
183 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
223 len = snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
228 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
246 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
250 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
283 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
287 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
292 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
321 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
[all …]
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-debug.c38 ret += snprintf(buf + size, MOD_BUF - size, in skl_print_pins()
54 return snprintf(buf + size, MOD_BUF - size, in skl_print_fmt()
78 ret = snprintf(buf, MOD_BUF, "Module:\n\tUUID %pUL\n\tModule id %d\n" in module_read()
83 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
87 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
97 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
101 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
106 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
112 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
117 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
[all …]
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_attr.c160 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show()
164 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show()
174 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show()
182 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show()
191 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show()
201 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show()
211 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show()
224 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show()
236 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show()
248 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show()
[all …]
/Linux-v5.4/drivers/s390/char/
Dtape_3590.c971 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0()
974 snprintf(exception, BUFSIZE, "Data degraded in partition %i", in tape_3590_print_mim_msg_f0()
978 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0()
981 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", in tape_3590_print_mim_msg_f0()
985 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0()
988 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", in tape_3590_print_mim_msg_f0()
992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
999 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0()
1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1035 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); in tape_3590_print_io_sim_msg_f1()
[all …]
/Linux-v5.4/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c672 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc()
676 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
683 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
685 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
692 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
703 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc()
711 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc()
713 return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, in intel_pt_pkt_desc()
716 return snprintf(buf, buf_len, "%s %lld", name, payload); in intel_pt_pkt_desc()
718 return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", in intel_pt_pkt_desc()
[all …]
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_attr.c712 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); in bfad_im_serial_num_show()
726 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show()
744 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
747 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
750 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
753 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
756 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
759 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
762 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
765 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
[all …]
/Linux-v5.4/drivers/lightnvm/
Dpblk-sysfs.c40 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_luns_show()
68 return snprintf(page, PAGE_SIZE, in pblk_sysfs_rate_limiter()
88 return snprintf(page, PAGE_SIZE, "gc_enabled=%d, gc_active=%d\n", in pblk_sysfs_gc_state_show()
96 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_stats()
123 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_ppaf()
133 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_ppaf()
145 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_ppaf()
153 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_ppaf()
281 sz = snprintf(page, PAGE_SIZE - sz, in pblk_sysfs_lines()
285 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_lines()
[all …]
/Linux-v5.4/tools/testing/selftests/proc/
Dfd-001-lookup.c60 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", fd); in test_lookup()
67 snprintf(buf, sizeof(buf), "/proc/self/fd/%c%u", c, fd); in test_lookup()
75 snprintf(buf, sizeof(buf), "/proc/self/fd/%u%c", fd, c); in test_lookup()
80 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup()
84 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup()
88 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
92 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
/Linux-v5.4/fs/f2fs/
Dsysfs.c68 return snprintf(buf, PAGE_SIZE, "%llu\n", in dirty_segments_show()
81 return snprintf(buf, PAGE_SIZE, "%llu\n", in unusable_show()
90 return snprintf(buf, PAGE_SIZE, "%s (%d.%d.%d)\n", in encoding_show()
96 return snprintf(buf, PAGE_SIZE, "(none)"); in encoding_show()
105 return snprintf(buf, PAGE_SIZE, "0\n"); in lifetime_write_kbytes_show()
107 return snprintf(buf, PAGE_SIZE, "%llu\n", in lifetime_write_kbytes_show()
119 return snprintf(buf, PAGE_SIZE, "0\n"); in features_show()
122 len += snprintf(buf, PAGE_SIZE - len, "%s", in features_show()
125 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
128 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_debug.c18 len += snprintf(page + len, count - len, "%s\n", DRIVERVERSION); in proc_get_drv_version()
89 …len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(p… in proc_get_read_reg()
92 …len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16… in proc_get_read_reg()
95 …len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32… in proc_get_read_reg()
98 len += snprintf(page + len, count - len, "error read length=%d\n", proc_get_read_len); in proc_get_read_reg()
141 len += snprintf(page + len, count - len, "bSurpriseRemoved=%d, bDriverStopped=%d\n", in proc_get_adapter_state()
173 len += snprintf(page + len, count - len, "The rx cnt of channel %3d = %d\n", in proc_get_best_channel()
177 len += snprintf(page + len, count - len, "best_channel_24G = %d\n", best_channel_24G); in proc_get_best_channel()

12345678910>>...95