/Linux-v5.10/tools/power/x86/intel-speed-select/ |
D | isst-display.c | 15 snprintf(str, str_len, "none"); in printcpulist() 25 index = snprintf(&str[curr_index], in printcpulist() 29 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist() 64 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask() 90 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt() 125 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print() 142 k += snprintf(&delimiters[k], in format_and_print() 166 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info() 172 snprintf(header, sizeof(header), "package-%d", in print_package_info() 175 snprintf(header, sizeof(header), "die-%d", get_physical_die_id(cpu)); in print_package_info() [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-picolcd_debugfs.c | 406 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.10/tools/perf/util/arm-spe-decoder/ |
D | arm-spe-pkt-decoder.c | 285 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.10/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 54 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.10/drivers/target/ |
D | target_core_stat.c | 55 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.10/drivers/usb/common/ |
D | debug.c | 18 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.10/tools/lib/api/fs/ |
D | tracing_path.c | 22 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.10/fs/nilfs2/ |
D | sysfs.c | 113 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.10/drivers/hwmon/occ/ |
D | common.c | 256 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.10/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 131 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_dev_config() 136 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in qat_crypto_dev_config() 142 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_dev_config() 149 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_dev_config() 155 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_dev_config() 161 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_dev_config() 167 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_dev_config() 173 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_dev_config() 179 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in qat_crypto_dev_config() 225 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_create_instances() [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/dp/ |
D | dp_debug.c | 69 rc = snprintf(buf + len, max_size, "\tname = %s\n", DEBUG_NAME); in dp_debug_read_info() 73 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 79 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 85 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 91 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 97 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 104 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 111 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 118 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 125 rc = snprintf(buf + len, max_size, in dp_debug_read_info() [all …]
|
/Linux-v5.10/drivers/usb/dwc3/ |
D | debug.h | 205 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, "End-Of-Frame [%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-v5.10/drivers/s390/char/ |
D | tape_3590.c | 971 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.10/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 159 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() 181 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_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() 247 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show() [all …]
|
/Linux-v5.10/drivers/md/bcache/ |
D | features.c | 35 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-v5.10/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 672 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.10/drivers/scsi/bfa/ |
D | bfad_attr.c | 714 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); in bfad_im_serial_num_show() 728 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show() 746 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 749 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() [all …]
|
/Linux-v5.10/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 60 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.10/drivers/staging/greybus/tools/ |
D | loopback_test.c | 250 snprintf(path, sizeof(path), "%s%s", sys_pfx, node); in open_sysfs() 313 len = snprintf(buf, sizeof(buf), "%d", val); in write_sysfs_val() 425 len = snprintf(buf, buf_len, "%u-%u-%u %u:%u:%u", in format_output() 430 len += snprintf(&buf[len], buf_len - len, in format_output() 439 len += snprintf(&buf[len], buf_len - len, in format_output() 446 len += snprintf(&buf[len], buf_len - len, in format_output() 452 len += snprintf(&buf[len], buf_len - len, in format_output() 458 len += snprintf(&buf[len], buf_len - len, in format_output() 465 len += snprintf(&buf[len], buf_len - len, in format_output() 473 len += snprintf(&buf[len], buf_len - len, ",%s,%s,%u,%u,%u", in format_output() [all …]
|
/Linux-v5.10/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 57 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-v5.10/fs/ext4/ |
D | sysfs.c | 66 return snprintf(buf, PAGE_SIZE, "0\n"); in session_write_kbytes_show() 67 return snprintf(buf, PAGE_SIZE, "%lu\n", in session_write_kbytes_show() 78 return snprintf(buf, PAGE_SIZE, "0\n"); in lifetime_write_kbytes_show() 79 return snprintf(buf, PAGE_SIZE, "%llu\n", in lifetime_write_kbytes_show() 138 return snprintf(buf, PAGE_SIZE, "<none>\n"); in journal_task_show() 139 return snprintf(buf, PAGE_SIZE, "%d\n", in journal_task_show() 355 return snprintf(buf, PAGE_SIZE, "%lld\n", in __print_tstamp() 372 return snprintf(buf, PAGE_SIZE, "%llu\n", in ext4_attr_show() 380 return snprintf(buf, PAGE_SIZE, "%llu\n", in ext4_attr_show() 388 return snprintf(buf, PAGE_SIZE, "%u\n", in ext4_attr_show() [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | scpi-hwmon.c | 181 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 183 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe() 188 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()
|
/Linux-v5.10/drivers/net/can/ |
D | led.c | 81 snprintf(priv->tx_led_trig_name, sizeof(priv->tx_led_trig_name), in devm_can_led_init() 83 snprintf(priv->rx_led_trig_name, sizeof(priv->rx_led_trig_name), in devm_can_led_init() 85 snprintf(priv->rxtx_led_trig_name, sizeof(priv->rxtx_led_trig_name), in devm_can_led_init() 114 snprintf(name, sizeof(name), "%s-tx", netdev->name); in can_led_notifier() 117 snprintf(name, sizeof(name), "%s-rx", netdev->name); in can_led_notifier() 120 snprintf(name, sizeof(name), "%s-rxtx", netdev->name); in can_led_notifier()
|
/Linux-v5.10/drivers/edac/ |
D | octeon_edac-l2c.c | 71 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-v5.10/tools/power/cpupower/lib/ |
D | cpuidle.c | 37 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()
|