Home
last modified time | relevance | path

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

12345678910>>...91

/linux-6.3-rc2/tools/power/x86/intel-speed-select/
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()
274 snprintf(header, sizeof(header), in _isst_fact_display_information()
282 snprintf(header, sizeof(header), in _isst_fact_display_information()
290 snprintf(header, sizeof(header), in _isst_fact_display_information()
298 snprintf(header, sizeof(header), in _isst_fact_display_information()
306 snprintf(header, sizeof(header), in _isst_fact_display_information()
312 snprintf(header, sizeof(header), in _isst_fact_display_information()
454 snprintf(header, sizeof(header), in isst_ctdp_display_information()
[all …]
/linux-6.3-rc2/drivers/hid/
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.3-rc2/drivers/usb/cdns3/
A Dcdnsp-debug.h192 ret = snprintf(str, size, in cdnsp_decode_trb()
205 ret = snprintf(str, size, in cdnsp_decode_trb()
222 ret = snprintf(str, size, in cdnsp_decode_trb()
244 ret = snprintf(str, size, in cdnsp_decode_trb()
260 ret = snprintf(str, size, in cdnsp_decode_trb()
276 ret = snprintf(str, size, in cdnsp_decode_trb()
307 ret = snprintf(str, size, in cdnsp_decode_trb()
315 ret = snprintf(str, size, in cdnsp_decode_trb()
323 ret = snprintf(str, size, in cdnsp_decode_trb()
332 ret = snprintf(str, size, in cdnsp_decode_trb()
[all …]
/linux-6.3-rc2/drivers/target/iscsi/
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.3-rc2/drivers/target/
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.3-rc2/drivers/usb/common/
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.3-rc2/drivers/crypto/qat/qat_common/
A Dadf_gen2_config.c35 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
41 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_gen2_crypto_dev_config()
48 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_gen2_crypto_dev_config()
56 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_gen2_crypto_dev_config()
63 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_gen2_crypto_dev_config()
70 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_gen2_crypto_dev_config()
77 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_gen2_crypto_dev_config()
84 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_gen2_crypto_dev_config()
135 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_SIZE, i); in adf_gen2_comp_dev_config()
142 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_TX, i); in adf_gen2_comp_dev_config()
[all …]
/linux-6.3-rc2/tools/lib/api/fs/
A 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()
138 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp()
151 snprintf(buf, size, in tracing_path__strerror_open_tp()
157 snprintf(buf, size, in tracing_path__strerror_open_tp()
164 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp()
171 snprintf(buf, size, in tracing_path__strerror_open_tp()
178 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/linux-6.3-rc2/drivers/s390/char/
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.3-rc2/drivers/usb/dwc3/
A Ddebug.h205 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
209 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string()
213 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string()
217 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string()
221 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string()
225 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string()
229 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string()
233 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string()
237 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string()
241 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
[all …]
/linux-6.3-rc2/tools/perf/util/intel-pt-decoder/
A Dintel-pt-pkt-decoder.c701 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc()
705 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
712 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
714 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
721 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
732 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc()
745 return snprintf(buf, buf_len, "%s IF:%d %lld", in intel_pt_pkt_desc()
754 ret = snprintf(buf, buf_len, "%s 0x%llx (NR=%d)", in intel_pt_pkt_desc()
763 return snprintf(buf, buf_len, "%s IP:0", name); in intel_pt_pkt_desc()
766 return snprintf(buf, buf_len, "%s IP:1", name); in intel_pt_pkt_desc()
[all …]
/linux-6.3-rc2/drivers/scsi/qla4xxx/
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.3-rc2/drivers/md/bcache/
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.3-rc2/drivers/crypto/qat/qat_4xxx/
A Dadf_drv.c92 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_crypto_dev_config()
98 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_crypto_dev_config()
105 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_crypto_dev_config()
113 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_crypto_dev_config()
120 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_crypto_dev_config()
127 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_crypto_dev_config()
134 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_crypto_dev_config()
141 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_crypto_dev_config()
197 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_SIZE, i); in adf_comp_dev_config()
204 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_TX, i); in adf_comp_dev_config()
[all …]
/linux-6.3-rc2/tools/testing/selftests/proc/
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.3-rc2/tools/testing/selftests/alsa/
A Dpcm-test.c320 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_any: %s", snd_strerror(err)); in test_pcm_time()
330 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_access %s: %s", in test_pcm_time()
358 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_format %s: %s", in test_pcm_time()
374 snprintf(msg, sizeof(msg), "rate mismatch %ld != %ld", rate, rrate); in test_pcm_time()
391 snprintf(msg, sizeof(msg), "snd_pcm_hw_params: %s", snd_strerror(err)); in test_pcm_time()
417 snprintf(msg, sizeof(msg), "snd_pcm_sw_params: %s", snd_strerror(err)); in test_pcm_time()
439 snprintf(msg, sizeof(msg), in test_pcm_time()
444 snprintf(msg, sizeof(msg), in test_pcm_time()
451 snprintf(msg, sizeof(msg), in test_pcm_time()
456 snprintf(msg, sizeof(msg), in test_pcm_time()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/tools/
A Dloopback_test.c249 snprintf(path, sizeof(path), "%s%s", sys_pfx, node); in open_sysfs()
311 len = snprintf(buf, sizeof(buf), "%d", val); in write_sysfs_val()
421 len = snprintf(buf, buf_len, "%u-%u-%u %u:%u:%u", in format_output()
426 len += snprintf(&buf[len], buf_len - len, in format_output()
435 len += snprintf(&buf[len], buf_len - len, in format_output()
442 len += snprintf(&buf[len], buf_len - len, in format_output()
448 len += snprintf(&buf[len], buf_len - len, in format_output()
454 len += snprintf(&buf[len], buf_len - len, in format_output()
461 len += snprintf(&buf[len], buf_len - len, in format_output()
612 snprintf(d->sysfs_entry, MAX_SYSFS_PATH, "%s%s/", in find_loopback_devices()
[all …]
/linux-6.3-rc2/tools/power/cpupower/utils/helpers/
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.3-rc2/drivers/net/ethernet/sfc/
A Defx_devlink.c241 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%s", in efx_devlink_info_running_v2()
249 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u", in efx_devlink_info_running_v2()
330 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, in efx_devlink_info_running_v2()
357 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u", in efx_devlink_info_running_v3()
370 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u", in efx_devlink_info_running_v3()
395 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
409 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
423 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
437 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
452 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v4()
[all …]
/linux-6.3-rc2/drivers/hwmon/
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.3-rc2/drivers/edac/
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.3-rc2/tools/power/cpupower/lib/
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()
242 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in cpuidle_state_disable()
291 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
295 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
300 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in cpuidle_state_count()
319 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dtrace.h108 snprintf(__entry->buf, MAX_BUF_LEN,
126 snprintf(__entry->buf, MAX_BUF_LEN,
144 snprintf(__entry->buf, MAX_BUF_LEN,
163 snprintf(__entry->buf, MAX_BUF_LEN,
182 snprintf(__entry->buf, MAX_BUF_LEN,
200 snprintf(__entry->buf, MAX_BUF_LEN,
219 snprintf(__entry->buf, MAX_BUF_LEN,
256 snprintf(__entry->cmd_name, GVT_CMD_STR_LEN, "%s", cmd_name);
292 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", reg_name);
317 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", irq_name);
[all …]
/linux-6.3-rc2/drivers/w1/slaves/
A Dw1_ds2423.c65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
74 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
97 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
100 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
/linux-6.3-rc2/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c90 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
113 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
159 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
256 snprintf(path, sizeof(path), "/proc/%d/setgroups", pid); in write_id_mapping()
271 ret = snprintf(path, sizeof(path), "/proc/%d/uid_map", pid); in write_id_mapping()
274 ret = snprintf(path, sizeof(path), "/proc/%d/gid_map", pid); in write_id_mapping()
337 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getuid()); in change_idmaps()
343 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getgid()); in change_idmaps()
422 snprintf(device_path, sizeof(device_path), in TEST()
431 snprintf(device.name, sizeof(device.name), "%d", i); in TEST()
[all …]

Completed in 43 milliseconds

12345678910>>...91