Home
last modified time | relevance | path

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

12345678910>>...116

/linux-6.15/tools/power/x86/intel-speed-select/
H A Disst-display.c15 snprintf(str, str_len, "none"); in printcpulist()
25 index = snprintf(&str[curr_index], in printcpulist()
150 k += snprintf(&delimiters[k], in format_and_print()
177 snprintf(header, sizeof(header), in print_package_info()
181 snprintf(header, sizeof(header), in print_package_info()
185 snprintf(header, sizeof(header), in print_package_info()
308 snprintf(header, sizeof(header), in _isst_fact_display_information()
318 snprintf(header, sizeof(header), in _isst_fact_display_information()
477 snprintf(header, sizeof(header), in isst_ctdp_display_information()
488 snprintf(header, sizeof(header), in isst_ctdp_display_information()
[all …]
/linux-6.15/drivers/hid/
H A Dhid-picolcd_debugfs.c491 snprintf(buff, BUFF_SZ, "\tNo data\n"); in picolcd_debug_out_report()
493 snprintf(buff, BUFF_SZ, "\tData: "); in picolcd_debug_out_report()
559 snprintf(buff, BUFF_SZ, "\tNo data\n"); in picolcd_debug_out_report()
561 snprintf(buff, BUFF_SZ, "\tData: "); in picolcd_debug_out_report()
575 snprintf(buff, BUFF_SZ, "\tNo data\n"); in picolcd_debug_out_report()
577 snprintf(buff, BUFF_SZ, "\tData: "); in picolcd_debug_out_report()
716 snprintf(buff, BUFF_SZ, "\tNo data\n"); in picolcd_debug_raw_event()
719 snprintf(buff, BUFF_SZ, "\tData: "); in picolcd_debug_raw_event()
741 snprintf(buff, BUFF_SZ, "\tNo data\n"); in picolcd_debug_raw_event()
743 snprintf(buff, BUFF_SZ, "\tData: "); in picolcd_debug_raw_event()
[all …]
/linux-6.15/drivers/target/iscsi/
H A Discsi_target_stat.c53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
199 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_err_inst_show()
261 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_tgt_attr_inst_show()
401 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_login_inst_show()
533 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_logout_inst_show()
611 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_node_show()
[all …]
/linux-6.15/drivers/target/
H A Dtarget_core_stat.c141 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_resets_show()
148 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_aborts_complete_show()
155 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_tgt_aborts_no_task_show()
205 return snprintf(page, PAGE_SIZE, "%u\n", in target_stat_lu_dev_show()
225 return snprintf(page, PAGE_SIZE, "%s\n", in target_stat_lu_lu_name_show()
259 return snprintf(page, PAGE_SIZE, "%u\n", in target_stat_lu_dev_type_show()
268 return snprintf(page, PAGE_SIZE, "%s\n", in target_stat_lu_status_show()
285 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_lu_num_cmds_show()
295 return snprintf(page, PAGE_SIZE, "%lu\n", in target_stat_lu_read_mbytes_show()
868 ret = snprintf(page, PAGE_SIZE, "%u\n", in target_stat_auth_inst_show()
[all …]
/linux-6.15/drivers/usb/common/
H A Ddebug.c19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
22 snprintf(str, size, in usb_decode_get_status()
27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature()
102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
177 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration()
183 snprintf(str, size, "Get Interface(Intf = %d, Length = %d)", in usb_decode_get_intf()
203 snprintf(str, size, "Set SEL(Length = %d)", wLength); in usb_decode_set_sel()
[all …]
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_config.c36 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
42 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_gen2_crypto_dev_config()
49 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_gen2_crypto_dev_config()
57 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_gen2_crypto_dev_config()
64 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_gen2_crypto_dev_config()
71 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_gen2_crypto_dev_config()
78 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_gen2_crypto_dev_config()
85 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_gen2_crypto_dev_config()
136 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_SIZE, i); in adf_gen2_comp_dev_config()
143 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_TX, i); in adf_gen2_comp_dev_config()
[all …]
H A Dadf_gen4_config.c39 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_crypto_dev_config()
45 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_crypto_dev_config()
52 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_crypto_dev_config()
60 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_crypto_dev_config()
67 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_crypto_dev_config()
74 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_crypto_dev_config()
81 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_crypto_dev_config()
88 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_crypto_dev_config()
144 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_SIZE, i); in adf_comp_dev_config()
151 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_TX, i); in adf_comp_dev_config()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_dbg.c219 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
232 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
252 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
264 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
285 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
323 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
335 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
347 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
362 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
508 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_mem()
[all …]
/linux-6.15/drivers/s390/char/
H A Dtape_3590.c971 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0()
978 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0()
985 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0()
992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1062 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_io_sim_msg_f1()
1079 snprintf(service, BUFSIZE, "Repair will disable " in tape_3590_print_io_sim_msg_f1()
1116 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_io_sim_msg_f1()
1171 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_dev_sim_msg_f2()
1225 snprintf(service, BUFSIZE, "Clean DV"); in tape_3590_print_dev_sim_msg_f2()
[all …]
/linux-6.15/drivers/usb/dwc3/
H A Ddebug.h207 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
211 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string()
215 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string()
219 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string()
223 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string()
227 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string()
231 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string()
235 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string()
239 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string()
243 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
[all …]
/linux-6.15/tools/power/cpupower/utils/helpers/
H A Dmisc.c61 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias()
81 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_set_perf_bias()
82 snprintf(linebuf, sizeof(linebuf), "%d", val); in cpupower_intel_set_perf_bias()
95 snprintf(path, sizeof(path), in cpupower_set_epp()
101 snprintf(linebuf, sizeof(linebuf), "%s", epp); in cpupower_set_epp()
114 snprintf(path, sizeof(path), PATH_TO_CPU "amd_pstate/status"); in cpupower_set_amd_pstate_mode()
119 snprintf(linebuf, sizeof(linebuf), "%s\n", mode); in cpupower_set_amd_pstate_mode()
132 snprintf(path, sizeof(path), PATH_TO_CPU "cpufreq/boost"); in cpupower_set_turbo_boost()
137 snprintf(linebuf, sizeof(linebuf), "%d", turbo_boost); in cpupower_set_turbo_boost()
H A Dsysfs.c57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online()
66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online()
111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists()
131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file()
166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file()
312 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable()
361 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count()
365 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count()
370 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count()
389 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
/linux-6.15/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c21 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
25 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
29 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
33 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
41 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
45 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
49 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
60 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
64 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
68 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
[all …]
/linux-6.15/tools/lib/api/fs/
H A Dtracing_path.c20 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set()
133 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp()
146 snprintf(buf, size, in tracing_path__strerror_open_tp()
152 snprintf(buf, size, in tracing_path__strerror_open_tp()
159 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp()
166 snprintf(buf, size, in tracing_path__strerror_open_tp()
173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/linux-6.15/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c692 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc()
696 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
703 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
705 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
712 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
723 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc()
736 return snprintf(buf, buf_len, "%s IF:%d %lld", in intel_pt_pkt_desc()
745 ret = snprintf(buf, buf_len, "%s 0x%llx (NR=%d)", in intel_pt_pkt_desc()
754 return snprintf(buf, buf_len, "%s IP:0", name); in intel_pt_pkt_desc()
757 return snprintf(buf, buf_len, "%s IP:1", name); in intel_pt_pkt_desc()
[all …]
/linux-6.15/drivers/scsi/qla4xxx/
H A Dql4_attr.c159 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show()
163 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show()
173 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show()
190 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show()
200 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show()
210 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show()
223 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show()
235 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show()
256 return snprintf(buf, PAGE_SIZE, "%s\n", ha->model_name); in qla4xxx_hba_model_show()
273 return snprintf(buf, PAGE_SIZE, "%s\n", ha->fw_info.fw_build_user); in qla4xxx_fw_build_user_show()
[all …]
/linux-6.15/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-6.15/tools/testing/selftests/proc/
H A 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-6.15/drivers/net/ethernet/sfc/
H A Defx_devlink.c252 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%s", in efx_devlink_info_running_v2()
260 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u", in efx_devlink_info_running_v2()
341 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, in efx_devlink_info_running_v2()
368 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u", in efx_devlink_info_running_v3()
381 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u", in efx_devlink_info_running_v3()
406 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
420 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
434 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
448 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
463 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
[all …]
/linux-6.15/tools/perf/util/
H A Dperf_event_attr_fprintf.c173 snprintf(buf, size, "%"PRIu64, value); in print_id_unsigned()
175 snprintf(buf, size, "%"PRIu64" (%s)", value, s); in print_id_unsigned()
181 snprintf(buf, size, "%#"PRIx64, value); in print_id_hex()
183 snprintf(buf, size, "%#"PRIx64" (%s)", value, s); in print_id_hex()
197 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_id()
204 snprintf(buf, size, "%#"PRIx64" (%s)", config, name); in __p_config_hw_id()
206 snprintf(buf, size, "%#"PRIx64" (%s/%s/)", config, pmu->name, name); in __p_config_hw_id()
225 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_cache_id()
232 snprintf(buf, size, "%#"PRIx64" (%s | %s | %s)", config, in __p_config_hw_cache_id()
269 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val))
[all …]
/linux-6.15/drivers/bluetooth/
H A Dbtqca.c296 snprintf(fwname + (suffix - filename), in qca_get_alt_nvm_file()
302 snprintf(filename, max_size, "%s", fwname); in qca_get_alt_nvm_file()
820 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
826 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
830 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
834 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
838 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
846 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
850 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
854 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
[all …]
/linux-6.15/drivers/hwmon/
H A Dscpi-hwmon.c188 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
190 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
195 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
197 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
202 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
204 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
209 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
211 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
216 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
218 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
/linux-6.15/tools/testing/selftests/alsa/
H A Dpcm-test.c353 snprintf(msg, sizeof(msg), "Failed to get pcm handle: %s", snd_strerror(err)); in test_pcm_time()
359 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_any: %s", snd_strerror(err)); in test_pcm_time()
369 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_access %s: %s", in test_pcm_time()
397 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_format %s: %s", in test_pcm_time()
413 snprintf(msg, sizeof(msg), "rate mismatch %ld != %u", rate, rrate); in test_pcm_time()
430 snprintf(msg, sizeof(msg), "snd_pcm_hw_params: %s", snd_strerror(err)); in test_pcm_time()
456 snprintf(msg, sizeof(msg), "snd_pcm_sw_params: %s", snd_strerror(err)); in test_pcm_time()
478 snprintf(msg, sizeof(msg), in test_pcm_time()
483 snprintf(msg, sizeof(msg), in test_pcm_time()
490 snprintf(msg, sizeof(msg), in test_pcm_time()
[all …]
/linux-6.15/drivers/edac/
H A Docteon_edac-l2c.c71 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2()
76 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
82 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
88 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
94 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
106 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2()
111 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
117 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
/linux-6.15/tools/power/cpupower/lib/
H A Dcpuidle.c37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists()
60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file()
95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file()
244 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in cpuidle_state_disable()
299 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
303 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
308 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in cpuidle_state_count()
327 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()

12345678910>>...116