/linux-4.1.27/drivers/media/common/siano/ |
D | smsdvb-debugfs.c | 63 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 65 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 67 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 69 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 71 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 73 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 75 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 77 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 79 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 81 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() [all …]
|
/linux-4.1.27/drivers/hid/ |
D | hid-picolcd_debugfs.c | 416 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report() 427 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 430 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 435 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 438 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 443 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 446 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 451 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 454 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report() 460 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() [all …]
|
D | hid-lenovo.c | 193 return snprintf(buf, PAGE_SIZE, "%u\n", cptkbd_data->fn_lock); in attr_fn_lock_show_cptkbd() 223 return snprintf(buf, PAGE_SIZE, "%u\n", in attr_sensitivity_show_cptkbd() 313 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->press_to_select); in attr_press_to_select_show_tpkbd() 343 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->dragging); in attr_dragging_show_tpkbd() 373 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->release_to_select); in attr_release_to_select_show_tpkbd() 403 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->select_right); in attr_select_right_show_tpkbd() 433 return snprintf(buf, PAGE_SIZE, "%u\n", in attr_sensitivity_show_tpkbd() 462 return snprintf(buf, PAGE_SIZE, "%u\n", in attr_press_speed_show_tpkbd() 615 snprintf(name_mute, name_sz, "%s:amber:mute", dev_name(dev)); in lenovo_probe_tpkbd() 616 snprintf(name_micmute, name_sz, "%s:amber:micmute", dev_name(dev)); in lenovo_probe_tpkbd()
|
D | hid-debug.c | 466 snprintf(buf, HID_DEBUG_BUFSIZE, "%s", in resolv_usage_page() 476 snprintf(buf, HID_DEBUG_BUFSIZE, "%04x", page); in resolv_usage_page() 496 snprintf(buf+len, max(0, HID_DEBUG_BUFSIZE - len), "."); in hid_resolv_usage() 507 snprintf(buf + len, in hid_resolv_usage() 519 snprintf(buf + len, max(0, HID_DEBUG_BUFSIZE - len - 1), in hid_resolv_usage() 694 snprintf(buf, HID_DEBUG_BUFSIZE - 1, in hid_dump_report() 700 snprintf(buf, HID_DEBUG_BUFSIZE - 1, in hid_dump_report() 718 snprintf(buf + len, HID_DEBUG_BUFSIZE - len - 1, " = %d\n", value); in hid_dump_input()
|
D | hid-sensor-custom.c | 327 len += snprintf(&buf[len], in show_value() 350 len += snprintf(&buf[len], PAGE_SIZE - len, in show_value() 353 len += snprintf(&buf[len], PAGE_SIZE - len, "\n"); in show_value() 382 return snprintf(buf, PAGE_SIZE, "%s\n", in show_value() 514 snprintf(sensor_field->group_name, in hid_sensor_custom_add_field() 519 snprintf(sensor_field->group_name, in hid_sensor_custom_add_field() 597 snprintf((char *)&sensor_inst->fields[i].attr_name[j], in hid_sensor_custom_add_attributes()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_debug.c | 31 len += snprintf(page + len, count - len, "%s\n", DRIVERVERSION); in proc_get_drv_version() 102 …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() 105 …len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16… in proc_get_read_reg() 108 …len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32… in proc_get_read_reg() 111 len += snprintf(page + len, count - len, "error read length=%d\n", proc_get_read_len); in proc_get_read_reg() 156 len += snprintf(page + len, count - len, "fwstate=0x%x\n", get_fwstate(pmlmepriv)); in proc_get_fwstate() 172 …len += snprintf(page + len, count - len, "auth_alg=0x%x, enc_alg=0x%x, auth_type=0x%x, enc_type=0x… in proc_get_sec_info() 191 len += snprintf(page + len, count - len, "pmlmeinfo->state=0x%x\n", pmlmeinfo->state); in proc_get_mlmext_state() 207 len += snprintf(page + len, count - len, "qos_option=%d\n", pmlmepriv->qospriv.qos_option); in proc_get_qos_option() 222 len += snprintf(page + len, count - len, "ht_option=%d\n", pmlmepriv->htpriv.ht_option); in proc_get_ht_option() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | debug.c | 205 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 210 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon() 213 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon() 217 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 221 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 225 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 229 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 233 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 324 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug() 328 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug() [all …]
|
D | sysfs.c | 16 return snprintf(buf, PAGE_SIZE, "%d\n", get); \ 43 return snprintf(buf, PAGE_SIZE, "%d\n", get); \ 66 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL); in ath5k_attr_show_noise_immunity_level_max() 75 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL); in ath5k_attr_show_firstep_level_max()
|
/linux-4.1.27/fs/ocfs2/dlm/ |
D | dlmdebug.c | 262 out += snprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname() 266 out += snprintf(buf + out, len - out, "%.*s", in stringify_lockname() 278 out += snprintf(buf + out, len - out, "%d ", i); in stringify_nodemap() 296 out += snprintf(buf + out, len - out, in dump_mle() 303 out += snprintf(buf + out, len - out, "Maybe="); in dump_mle() 306 out += snprintf(buf + out, len - out, "\n"); in dump_mle() 308 out += snprintf(buf + out, len - out, "Vote="); in dump_mle() 311 out += snprintf(buf + out, len - out, "\n"); in dump_mle() 313 out += snprintf(buf + out, len - out, "Response="); in dump_mle() 316 out += snprintf(buf + out, len - out, "\n"); in dump_mle() [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 157 snprintf(buffer, in lpfc_debugfs_disc_trc_data() 160 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data() 168 snprintf(buffer, in lpfc_debugfs_disc_trc_data() 171 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data() 223 snprintf(buffer, in lpfc_debugfs_slow_ring_trc_data() 226 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data() 234 snprintf(buffer, in lpfc_debugfs_slow_ring_trc_data() 237 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data() 297 len += snprintf(buf+len, size-len, "HBQ %d Info\n", i); in lpfc_debugfs_hbqinfo_data() 305 len += snprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data() [all …]
|
D | lpfc_attr.c | 106 return snprintf(buf, PAGE_SIZE, LPFC_MODULE_DESC "\n"); in lpfc_drvr_version_show() 126 return snprintf(buf, PAGE_SIZE, "1\n"); in lpfc_enable_fip_show() 128 return snprintf(buf, PAGE_SIZE, "0\n"); in lpfc_enable_fip_show() 141 return snprintf(buf, PAGE_SIZE, "BlockGuard Enabled\n"); in lpfc_bg_info_show() 143 return snprintf(buf, PAGE_SIZE, in lpfc_bg_info_show() 146 return snprintf(buf, PAGE_SIZE, in lpfc_bg_info_show() 158 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_guard_err_show() 170 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_apptag_err_show() 182 return snprintf(buf, PAGE_SIZE, "%llu\n", in lpfc_bg_reftag_err_show() 200 return snprintf(buf, PAGE_SIZE, "%s\n",lpfc_info(host)); in lpfc_info_show() [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 73 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_instance_show_attr_inst() 80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_show_attr_min_ver() 87 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_show_attr_max_ver() 97 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_num_tpg_nps); in iscsi_stat_instance_show_attr_portals() 104 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_show_attr_nodes() 114 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_nsessions); in iscsi_stat_instance_show_attr_sessions() 132 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_show_attr_fail_sess() 143 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_show_attr_fail_type() 155 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_show_attr_fail_rem_name() 164 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_show_attr_disc_time() [all …]
|
/linux-4.1.27/drivers/target/ |
D | target_core_stat.c | 83 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_dev_show_attr_inst() 93 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); in target_stat_scsi_dev_show_attr_indx() 100 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_scsi_dev_show_attr_role() 110 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_port_count); in target_stat_scsi_dev_show_attr_ports() 160 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_tgt_dev_show_attr_inst() 170 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); in target_stat_scsi_tgt_dev_show_attr_indx() 177 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_scsi_tgt_dev_show_attr_num_lus() 188 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_scsi_tgt_dev_show_attr_status() 190 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_scsi_tgt_dev_show_attr_status() 206 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_scsi_tgt_dev_show_attr_non_access_lus() [all …]
|
/linux-4.1.27/fs/nilfs2/ |
D | sysfs.c | 122 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show() 130 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show() 143 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show() 244 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show() 282 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show() 305 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show() 319 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show() 333 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show() 349 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show() 380 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_nsegments); in nilfs_segments_segments_number_show() [all …]
|
/linux-4.1.27/sound/soc/fsl/ |
D | imx-audmux.c | 89 ret = snprintf(buf, PAGE_SIZE, "PDCR: %08x\nPTCR: %08x\n", in audmux_read_file() 93 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 97 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 101 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 105 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 108 ret += snprintf(buf + ret, PAGE_SIZE - ret, "\n"); in audmux_read_file() 111 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 115 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 119 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() 123 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file() [all …]
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_trace.c | 140 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data() 182 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data() 221 len = snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 225 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 242 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() 258 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 262 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 276 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 281 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() [all …]
|
D | fnic_attrs.c | 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state() 35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); in fnic_show_drv_version() 43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) in fnic_show_link_state()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 160 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-4.1.27/drivers/s390/char/ |
D | tape_3590.c | 975 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0() 978 snprintf(exception, BUFSIZE, "Data degraded in partion %i", in tape_3590_print_mim_msg_f0() 982 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0() 985 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", in tape_3590_print_mim_msg_f0() 989 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0() 992 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", in tape_3590_print_mim_msg_f0() 996 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 1003 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0() 1007 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 1039 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); in tape_3590_print_io_sim_msg_f1() [all …]
|
D | sclp_cpi_sys.c | 227 rc = snprintf(page, PAGE_SIZE, "%s\n", system_name); in system_name_show() 259 rc = snprintf(page, PAGE_SIZE, "%s\n", sysplex_name); in sysplex_name_show() 291 rc = snprintf(page, PAGE_SIZE, "%s\n", system_type); in system_type_show() 325 return snprintf(page, PAGE_SIZE, "%#018llx\n", level); in system_level_show()
|
D | sclp_ocf.c | 94 rc = snprintf(page, PAGE_SIZE, "%s\n", cpc_name); in cpc_name_show() 108 rc = snprintf(page, PAGE_SIZE, "%s\n", hmc_network); in hmc_network_show()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfad_attr.c | 722 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); in bfad_im_serial_num_show() 736 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show() 754 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 757 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 760 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 763 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 766 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 769 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 772 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 775 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() [all …]
|
/linux-4.1.27/drivers/staging/dgnc/ |
D | dgnc_sysfs.c | 32 return snprintf(buf, PAGE_SIZE, "%s\n", DG_PART); in dgnc_driver_version_show() 39 return snprintf(buf, PAGE_SIZE, "%d\n", dgnc_NumBoards); in dgnc_driver_boards_show() 46 return snprintf(buf, PAGE_SIZE, "%d\n", MAXBOARDS); in dgnc_driver_maxboards_show() 53 return snprintf(buf, PAGE_SIZE, "%dms\n", dgnc_poll_tick); in dgnc_driver_pollrate_show() 153 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_state_show() 171 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_baud_show() 189 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_msignals_show() 198 count += snprintf(buf + count, PAGE_SIZE - count, in dgnc_ports_msignals_show() 216 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", in dgnc_ports_iflag_show() 233 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", in dgnc_ports_cflag_show() [all …]
|
/linux-4.1.27/tools/lib/api/fs/ |
D | debugfs.c | 85 snprintf(buf, size, in debugfs__strerror_open() 91 snprintf(buf, size, "%s", in debugfs__strerror_open() 98 snprintf(buf, size, in debugfs__strerror_open() 104 snprintf(buf, size, "%s", strerror_r(err, sbuf, sizeof(sbuf))); in debugfs__strerror_open() 115 snprintf(path, PATH_MAX, "tracing/events/%s/%s", sys, name ?: "*"); in debugfs__strerror_open_tp()
|
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_drv.c | 135 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in adf_dev_configure() 140 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_dev_configure() 146 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_dev_configure() 153 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_dev_configure() 159 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_dev_configure() 165 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_dev_configure() 171 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_TX, i); in adf_dev_configure() 177 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_dev_configure() 183 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_dev_configure() 189 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_RX, i); in adf_dev_configure() [all …]
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 58 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online() 67 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online() 112 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists() 132 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file() 167 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file() 313 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable() 362 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count() 366 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count() 371 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count() 390 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
|
D | bitmask.c | 251 len += snprintf(buf + len, max(buflen - len, 0), ","); in emit() 253 len += snprintf(buf + len, max(buflen - len, 0), "%d", rbot); in emit() 255 len += snprintf(buf + len, max(buflen - len, 0), "%d-%d", in emit()
|
/linux-4.1.27/drivers/spi/ |
D | spi-dw.c | 65 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 67 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 69 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 71 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 73 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 75 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 77 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 79 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 81 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() 83 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs() [all …]
|
/linux-4.1.27/drivers/net/can/ |
D | led.c | 84 snprintf(priv->tx_led_trig_name, sizeof(priv->tx_led_trig_name), in devm_can_led_init() 86 snprintf(priv->rx_led_trig_name, sizeof(priv->rx_led_trig_name), in devm_can_led_init() 88 snprintf(priv->rxtx_led_trig_name, sizeof(priv->rxtx_led_trig_name), in devm_can_led_init() 117 snprintf(name, sizeof(name), "%s-tx", netdev->name); in can_led_notifier() 120 snprintf(name, sizeof(name), "%s-rx", netdev->name); in can_led_notifier() 123 snprintf(name, sizeof(name), "%s-rxtx", netdev->name); in can_led_notifier()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_devmap.c | 723 return snprintf(buf, PAGE_SIZE, ff_flag ? "1\n" : "0\n"); in dasd_ff_show() 768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); in dasd_ro_show() 820 return snprintf(buf, PAGE_SIZE, erplog ? "1\n" : "0\n"); in dasd_erplog_show() 1000 len = snprintf(buf, PAGE_SIZE, "%s\n", in dasd_discipline_show() 1006 len = snprintf(buf, PAGE_SIZE, "none\n"); in dasd_discipline_show() 1023 len = snprintf(buf, PAGE_SIZE, "new\n"); in dasd_device_status_show() 1026 len = snprintf(buf, PAGE_SIZE, "detected\n"); in dasd_device_status_show() 1029 len = snprintf(buf, PAGE_SIZE, "basic\n"); in dasd_device_status_show() 1032 len = snprintf(buf, PAGE_SIZE, "unformatted\n"); in dasd_device_status_show() 1035 len = snprintf(buf, PAGE_SIZE, "ready\n"); in dasd_device_status_show() [all …]
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 178 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_create_instances() 184 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_create_instances() 191 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_create_instances() 200 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_create_instances() 205 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_TX, i); in qat_crypto_create_instances() 211 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_create_instances() 217 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_create_instances() 223 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_RX, i); in qat_crypto_create_instances() 229 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_create_instances()
|
/linux-4.1.27/drivers/edac/ |
D | octeon_edac-l2c.c | 72 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 77 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 83 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 89 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 95 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 107 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 112 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 118 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
|
D | i5000_edac.c | 523 snprintf(msg, sizeof(msg), in i5000_process_fatal_error_info() 622 snprintf(msg, sizeof(msg), in i5000_process_nonfatal_error_info() 674 snprintf(msg, sizeof(msg), in i5000_process_nonfatal_error_info() 723 snprintf(msg, sizeof(msg), in i5000_process_nonfatal_error_info() 1060 n = snprintf(p, space, "--------------------------" in calculate_dimm_size() 1068 n = snprintf(p, space, "slot %2d ", slot); in calculate_dimm_size() 1076 n = snprintf(p, space, "%4d MB %dR| ", in calculate_dimm_size() 1079 n = snprintf(p, space, "%4d MB | ", 0); in calculate_dimm_size() 1091 n = snprintf(p, space, "--------------------------" in calculate_dimm_size() 1100 n = snprintf(p, space, " "); in calculate_dimm_size() [all …]
|
D | ppc4xx_edac.c | 323 n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); in ppc4xx_edac_generate_bank_message() 334 n = snprintf(buffer, size, "%s%u", in ppc4xx_edac_generate_bank_message() 346 n = snprintf(buffer, size, "%s; ", rows ? "" : "None"); in ppc4xx_edac_generate_bank_message() 414 return snprintf(buffer, size, "Checkbit Error: %s", ckber); in ppc4xx_edac_generate_checkbit_message() 445 n = snprintf(buffer, size, "; Byte Lane Errors: "); in ppc4xx_edac_generate_lane_message() 456 n = snprintf(buffer, size, in ppc4xx_edac_generate_lane_message() 469 n = snprintf(buffer, size, "%s; ", lanes ? "" : "None"); in ppc4xx_edac_generate_lane_message() 574 return snprintf(buffer, size, in ppc4xx_edac_generate_plb_message()
|
D | i7300_edac.c | 448 snprintf(pvt->tmp_prt_buffer, PAGE_SIZE, in i7300_process_fbd_error() 494 snprintf(pvt->tmp_prt_buffer, PAGE_SIZE, in i7300_process_fbd_error() 695 n = snprintf(p, space, " "); in print_dimm_size() 699 n = snprintf(p, space, "channel %d | ", channel); in print_dimm_size() 706 n = snprintf(p, space, "-------------------------------" in print_dimm_size() 715 n = snprintf(p, space, "csrow/SLOT %d ", slot); in print_dimm_size() 721 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in print_dimm_size() 731 n = snprintf(p, space, "-------------------------------" in print_dimm_size()
|
D | i5400_edac.c | 559 snprintf(msg, sizeof(msg), in i5400_proccess_non_recoverable_info() 629 snprintf(msg, sizeof(msg), in i5400_process_nonfatal_error_info() 984 n = snprintf(p, space, "---------------------------" in calculate_dimm_size() 992 n = snprintf(p, space, "dimm %2d ", dimm); in calculate_dimm_size() 999 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in calculate_dimm_size() 1009 n = snprintf(p, space, "---------------------------" in calculate_dimm_size() 1018 n = snprintf(p, space, " "); in calculate_dimm_size() 1022 n = snprintf(p, space, "channel %d | ", channel); in calculate_dimm_size() 1032 n = snprintf(p, space, " "); in calculate_dimm_size() 1035 n = snprintf(p, space, " branch %d | ", branch); in calculate_dimm_size()
|
/linux-4.1.27/drivers/acpi/ |
D | bgrt.c | 22 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->version); in show_version() 29 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->status); in show_status() 36 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_type); in show_type() 43 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_x); in show_xoffset() 50 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_y); in show_yoffset()
|
/linux-4.1.27/drivers/w1/slaves/ |
D | w1_ds2423.c | 78 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 87 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 110 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 113 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
|
D | w1_therm.c | 295 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", rom[i]); in w1_slave_show() 296 c -= snprintf(buf + PAGE_SIZE - c, c, ": crc=%02x %s\n", in w1_slave_show() 304 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", in w1_slave_show() 307 c -= snprintf(buf + PAGE_SIZE - c, c, "t=%d\n", in w1_slave_show()
|
/linux-4.1.27/drivers/usb/mon/ |
D | mon_text.c | 350 snprintf(rp->slab_name, SLAB_NAME_SZ, "mon_text_%p", rp); in mon_text_open() 398 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_t() 434 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_u() 488 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t() 506 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u() 517 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() 525 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() 528 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() 536 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_intstat() 544 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isostat() [all …]
|
/linux-4.1.27/drivers/net/caif/ |
D | caif_spi.c | 142 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 145 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), FLAVOR); in dbgfs_state() 147 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 149 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 151 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 153 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 155 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 157 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 159 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() 161 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), in dbgfs_state() [all …]
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | utils.c | 34 snprintf(match_busid_attr_path, sizeof(match_busid_attr_path), in modify_match_busid() 40 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", busid); in modify_match_busid() 42 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", busid); in modify_match_busid()
|
D | usbip_unbind.c | 74 snprintf(unbind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", in unbind_device() 92 snprintf(rebind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", in unbind_device()
|
D | usbip_bind.c | 56 snprintf(bind_attr_path, sizeof(bind_attr_path), "%s/%s/%s/%s/%s/%s", in bind_usbip() 121 snprintf(unbind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", in unbind_other()
|
D | usbip_attach.c | 69 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in record_connection() 75 snprintf(buff, MAX_BUFF, "%s %s %s\n", in record_connection()
|
/linux-4.1.27/drivers/staging/unisys/include/ |
D | vbushelper.h | 34 snprintf(bus_device_info_ptr->devtype, in bus_device_info_init() 37 snprintf(bus_device_info_ptr->drvname, in bus_device_info_init() 40 snprintf(bus_device_info_ptr->infostrs, in bus_device_info_init()
|
/linux-4.1.27/security/tomoyo/ |
D | audit.c | 36 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm() 103 snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_bprm() 161 pos = snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_header() 193 pos += snprintf(buffer + pos, in tomoyo_print_header() 203 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header() 213 pos += snprintf(buffer + pos, in tomoyo_print_header() 218 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header() 274 pos = snprintf(buf, len, "%s", header); in tomoyo_init_log() 277 pos += snprintf(buf + pos, len - pos, in tomoyo_init_log() 281 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", in tomoyo_init_log() [all …]
|
D | realpath.c | 185 snprintf(name, sizeof(name) - 1, "dev(%u,%u):", MAJOR(dev), in tomoyo_get_local_path() 226 snprintf(buffer, buflen, "socket:[family=%u:type=%u:" in tomoyo_get_socket_name() 230 snprintf(buffer, buflen, "socket:[unknown]"); in tomoyo_get_socket_name()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | printk.c | 78 snprintf(obuf, sizeof(obuf), "[0x%08x]", in nv_printk_() 86 snprintf(mfmt, sizeof(mfmt), "%snouveau %c[%8s][%s]%s %s", pfx, in nv_printk_() 94 snprintf(mfmt, sizeof(mfmt), "%snouveau %c[%8s] %s", pfx, in nv_printk_() 97 snprintf(mfmt, sizeof(mfmt), "%snouveau: %s", pfx, fmt); in nv_printk_()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
D | sysfs.c | 35 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); in readsysfs() 37 snprintf(filename, PATH_MAX, in readsysfs() 75 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); in setsysfs() 77 snprintf(filename, PATH_MAX, "%s/%s/%s", in setsysfs()
|
/linux-4.1.27/tools/thermal/tmon/ |
D | sysfs.c | 47 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_set_ulong() 71 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_get_ulong() 90 snprintf(filepath, 256, "%s/%s", path, filename); in sysfs_get_string() 139 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); in get_trip_point_data() 225 snprintf(cdev_name, 256, "%s/%s", tz_name, nl->d_name); in find_tzone_cdev() 238 snprintf(cdev_trip_name, 256, "%s%s", nl->d_name, in find_tzone_cdev() 299 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones() 358 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs() 507 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, in update_thermal_data() 519 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, in update_thermal_data() [all …]
|
D | tui.c | 428 snprintf(buf, 31, "Invalid Temp %d! %d-%d", val, in handle_input_val() 434 snprintf(buf, 31, "Set New Target Temp %d", val); in handle_input_val() 438 snprintf(path, 256, "%s/%s%d", THERMAL_SYSFS, in handle_input_val() 462 snprintf(buf, sizeof(buf), "New Target Temp:"); in handle_input_choice() 464 snprintf(buf, sizeof(buf), "New Value for %.10s-%2d: ", in handle_input_choice() 470 snprintf(buf, sizeof(buf), "Invalid selection %d", ch); in handle_input_choice()
|
/linux-4.1.27/tools/perf/tests/ |
D | attr.c | 49 size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \ 66 snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir, in store_event() 150 snprintf(cmd, 3*PATH_MAX, PYTHON " %s/attr.py -d %s/attr/ -p %s %.*s", in run_dir() 167 snprintf(path_dir, PATH_MAX, "%s/tests", perf_exec_path()); in test__attr() 168 snprintf(path_perf, PATH_MAX, "%s/perf", BINDIR); in test__attr()
|
D | pmu.c | 89 snprintf(dir, PATH_MAX, "/tmp/perf-pmu-test-format-XXXXXX"); in test_format_dir_get() 98 snprintf(name, PATH_MAX, "%s/%s", dir, format->name); in test_format_dir_get() 117 snprintf(buf, PATH_MAX, "rm -f %s/*\n", dir); in test_format_dir_put() 121 snprintf(buf, PATH_MAX, "rmdir %s\n", dir); in test_format_dir_put()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 263 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_version() 275 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_posted_cmd() 287 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_reset() 299 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_abort() 311 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_model() 324 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_version() 337 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_request_len() 350 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_numbers_queue() 363 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_sdram_size() 376 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_hd_channels()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | overlay-sysfs.c | 36 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); in overlay_name_show() 41 return snprintf(buf, PAGE_SIZE, "%s\n", in overlay_manager_show() 122 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_input_size_show() 132 return snprintf(buf, PAGE_SIZE, "%d\n", info.screen_width); in overlay_screen_width_show() 141 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_position_show() 180 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_output_size_show() 215 return snprintf(buf, PAGE_SIZE, "%d\n", ovl->is_enabled(ovl)); in overlay_enabled_show() 245 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_global_alpha_show() 287 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_pre_mult_alpha_show() 328 return snprintf(buf, PAGE_SIZE, "%d\n", info.zorder); in overlay_zorder_show()
|
D | display-sysfs.c | 33 return snprintf(buf, PAGE_SIZE, "%s\n", in display_name_show() 40 return snprintf(buf, PAGE_SIZE, "%d\n", in display_enabled_show() 73 return snprintf(buf, PAGE_SIZE, "%d\n", in display_tear_show() 107 return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", in display_timings_show() 157 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show() 185 return snprintf(buf, PAGE_SIZE, "%u\n", mirror); in display_mirror_show() 217 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); in display_wss_show()
|
D | manager-sysfs.c | 36 return snprintf(buf, PAGE_SIZE, "%s\n", mgr->name); in manager_name_show() 43 return snprintf(buf, PAGE_SIZE, "%s\n", dssdev ? in manager_display_show() 134 return snprintf(buf, PAGE_SIZE, "%#x\n", info.default_color); in manager_default_color_show() 179 return snprintf(buf, PAGE_SIZE, "%s\n", trans_key_type_str[key_type]); in manager_trans_key_type_show() 220 return snprintf(buf, PAGE_SIZE, "%#x\n", info.trans_key); in manager_trans_key_value_show() 256 return snprintf(buf, PAGE_SIZE, "%d\n", info.trans_enabled); in manager_trans_key_enabled_show() 295 return snprintf(buf, PAGE_SIZE, "%d\n", in manager_alpha_blending_enabled_show() 336 return snprintf(buf, PAGE_SIZE, "%d\n", info.cpr_enable); in manager_cpr_enable_show() 378 return snprintf(buf, PAGE_SIZE, in manager_cpr_coef_show()
|
/linux-4.1.27/drivers/s390/crypto/ |
D | zcrypt_debug.h | 24 snprintf(debug_buffer, ZCRYPT_DBF_LEN, text); \ 34 snprintf(debug_buffer, ZCRYPT_DBF_LEN, text); \ 44 snprintf(debug_buffer, ZCRYPT_DBF_LEN, text); \
|
D | ap_bus.c | 666 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type); in ap_hwtype_show() 676 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->raw_hwtype); in ap_raw_hwtype_show() 685 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show() 697 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->total_request_count); in ap_request_count_show() 711 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->requestq_count); in ap_requestq_count_show() 725 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->pendingq_count); in ap_pendingq_count_show() 744 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ap_dev->functions); in ap_functions_show() 1061 return snprintf(buf, PAGE_SIZE, "%d\n", ap_domain_index); in ap_domain_show() 1070 return snprintf(buf, PAGE_SIZE, in ap_control_domain_mask_show() 1077 return snprintf(buf, PAGE_SIZE, "%08x%08x\n", in ap_control_domain_mask_show() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | nidstrings.c | 92 snprintf(str, LNET_NIDSTR_SIZE, "%u.%u.%u.%u", in libcfs_ip_addr2str() 119 snprintf(str, LNET_NIDSTR_SIZE, "%u", addr); in libcfs_decnum_addr2str() 124 snprintf(str, LNET_NIDSTR_SIZE, "0x%x", addr); in libcfs_hexnum_addr2str() 367 snprintf(str, LNET_NIDSTR_SIZE, "?%d?", lnd); in libcfs_lnd2str() 393 snprintf(str, LNET_NIDSTR_SIZE, "<%d:%d>", lnd, num); in libcfs_net2str() 395 snprintf(str, LNET_NIDSTR_SIZE, "%s", nf->nf_name); in libcfs_net2str() 397 snprintf(str, LNET_NIDSTR_SIZE, "%s%d", nf->nf_name, num); in libcfs_net2str() 421 snprintf(str, LNET_NIDSTR_SIZE, "%x@<%d:%d>", addr, lnd, nnum); in libcfs_nid2str() 426 snprintf(str + nob, LNET_NIDSTR_SIZE - nob, "@%s", in libcfs_nid2str() 429 snprintf(str + nob, LNET_NIDSTR_SIZE - nob, "@%s%d", in libcfs_nid2str() [all …]
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fbcvt.c | 227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ", in fb_cvt_print_name() 233 snprintf(buf+offset, cnt, "Not a CVT standard - %d.%03d Mega " in fb_cvt_print_name() 237 read = snprintf(buf+offset, cnt, "%d", pixcount); in fb_cvt_print_name() 242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod); in fb_cvt_print_name() 247 read = snprintf(buf+offset, cnt, "3"); in fb_cvt_print_name() 249 read = snprintf(buf+offset, cnt, "4"); in fb_cvt_print_name() 251 read = snprintf(buf+offset, cnt, "9"); in fb_cvt_print_name() 253 read = snprintf(buf+offset, cnt, "A"); in fb_cvt_print_name() 260 read = snprintf(buf+offset, cnt, "-R"); in fb_cvt_print_name()
|
D | fbsysfs.c | 123 return snprintf(&buf[offset], PAGE_SIZE - offset, "%c:%dx%d%c-%d\n", in mode_string() 238 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.bits_per_pixel); in show_bpp() 265 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.rotate); in show_rotate() 293 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xres_virtual, in show_virtual() 301 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->fix.line_length); in show_stride() 388 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset, in show_pan() 397 return snprintf(buf, PAGE_SIZE, "%s\n", fb_info->fix.id); in show_name() 428 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->state); in show_fbstate() 488 len += snprintf(&buf[len], PAGE_SIZE, "%8ph\n", in show_bl_curve()
|
/linux-4.1.27/net/sunrpc/ |
D | addr.c | 39 return snprintf(buf, buflen, "::"); in rpc_ntop6_noscopeid() 47 return snprintf(buf, buflen, "::1"); in rpc_ntop6_noscopeid() 56 return snprintf(buf, buflen, "::ffff:%pI4", in rpc_ntop6_noscopeid() 62 return snprintf(buf, buflen, "%pI6c", addr); in rpc_ntop6_noscopeid() 82 rc = snprintf(scopebuf, sizeof(scopebuf), "%c%u", in rpc_ntop6() 116 return snprintf(buf, buflen, "%pI4", &sin->sin_addr); in rpc_ntop4() 289 if (snprintf(portbuf, sizeof(portbuf), in rpc_sockaddr2uaddr()
|
D | debugfs.c | 143 len = snprintf(name, sizeof(name), "%x", clnt->cl_clid); in rpc_clnt_debugfs_register() 164 len = snprintf(name, sizeof(name), "../../rpc_xprt/%s", in rpc_clnt_debugfs_register() 245 len = snprintf(name, sizeof(name), "%x", id); in rpc_xprt_debugfs_register()
|
/linux-4.1.27/net/netfilter/ |
D | nf_nat_ftp.c | 36 return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", in nf_nat_ftp_fmt_cmd() 45 return snprintf(buffer, buflen, "|1|%pI4|%u|", in nf_nat_ftp_fmt_cmd() 48 return snprintf(buffer, buflen, "|2|%pI6|%u|", in nf_nat_ftp_fmt_cmd() 51 return snprintf(buffer, buflen, "|||%u|", port); in nf_nat_ftp_fmt_cmd()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 89 count = snprintf(buf, PAGE_SIZE, "0 (No Interference" in b43legacy_attr_interfmode_show() 93 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show() 97 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference" in b43legacy_attr_interfmode_show() 170 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble" in b43legacy_attr_preamble_show() 173 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble" in b43legacy_attr_preamble_show()
|
D | leds.c | 150 snprintf(name, sizeof(name), in b43legacy_map_led() 155 snprintf(name, sizeof(name), in b43legacy_map_led() 165 snprintf(name, sizeof(name), in b43legacy_map_led() 176 snprintf(name, sizeof(name), in b43legacy_map_led()
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq_stats.c | 71 len += snprintf(buf + len, PAGE_SIZE - len, " From : To\n"); in show_trans_table() 72 len += snprintf(buf + len, PAGE_SIZE - len, " : "); in show_trans_table() 76 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ", in show_trans_table() 82 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); in show_trans_table() 88 len += snprintf(buf + len, PAGE_SIZE - len, "%9u: ", in show_trans_table() 94 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ", in show_trans_table() 99 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); in show_trans_table()
|
/linux-4.1.27/sound/hda/ |
D | trace.h | 23 snprintf(__get_str(msg), HDAC_MSG_MAX, 35 snprintf(__get_str(msg), HDAC_MSG_MAX, 47 snprintf(__get_str(msg), HDAC_MSG_MAX,
|
/linux-4.1.27/tools/perf/util/ |
D | pmu.c | 51 snprintf(path, PATH_MAX, "%s/%s", dir, name); in perf_pmu__format_parse() 81 snprintf(path, PATH_MAX, in pmu_format() 102 snprintf(path, PATH_MAX, "%s/%s.scale", dir, name); in perf_pmu__parse_scale() 145 snprintf(path, PATH_MAX, "%s/%s.unit", dir, name); in perf_pmu__parse_unit() 172 snprintf(path, PATH_MAX, "%s/%s.per-pkg", dir, name); in perf_pmu__parse_per_pkg() 190 snprintf(path, PATH_MAX, "%s/%s.snapshot", dir, name); in perf_pmu__parse_snapshot() 285 snprintf(path, PATH_MAX, "%s/%s", dir, name); in pmu_aliases_parse() 315 snprintf(path, PATH_MAX, in pmu_aliases() 362 snprintf(path, PATH_MAX, in pmu_type() 390 snprintf(path, PATH_MAX, in pmu_read_sysfs() [all …]
|
D | values.c | 147 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_pretty() 150 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_pretty() 154 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_pretty() 189 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_raw() 192 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_raw() 200 width = snprintf(NULL, 0, "%" PRIx64, values->counterrawid[j]); in perf_read_values__display_raw() 206 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_raw()
|
D | cpumap.c | 223 snprintf(path, PATH_MAX, in cpu_map__get_socket() 286 snprintf(path, PATH_MAX, in cpu_map__get_core() 368 ret = snprintf(path, PATH_MAX, "%s/devices/system/cpu/possible", mnt); in set_max_cpu_num() 396 ret = snprintf(path, PATH_MAX, "%s/devices/system/node/possible", mnt); in set_max_node_num() 446 n = snprintf(path, PATH_MAX, "%s/devices/system/node", mnt); in cpu__setup_cpunode_map() 461 n = snprintf(buf, PATH_MAX, "%s/%s", path, dent1->d_name); in cpu__setup_cpunode_map()
|
D | target.c | 141 snprintf(buf, buflen, "%s", msg); in target__strerror() 146 snprintf(buf, buflen, msg, target->uid_str); in target__strerror()
|
D | parse-events.c | 142 snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", tracing_events_path, in tp_event_has_id() 179 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in tracepoint_id_to_path() 187 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path() 336 n = snprintf(name, MAX_NAME_LEN, "%s", type); in parse_events_add_cache() 341 n += snprintf(name + n, MAX_NAME_LEN - n, "-%s", str); in parse_events_add_cache() 401 snprintf(evt_path, MAXPATHLEN, "%s/%s", tracing_events_path, sys_name); in add_tracepoint_multi_event() 1132 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in print_tracepoint_events() 1148 snprintf(evt_path, MAXPATHLEN, "%s:%s", in print_tracepoint_events() 1212 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in is_valid_tracepoint() 1219 snprintf(evt_path, MAXPATHLEN, "%s:%s", in is_valid_tracepoint() [all …]
|
/linux-4.1.27/fs/xfs/ |
D | xfs_sysfs.c | 83 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.log_recovery_delay); in log_recovery_delay_show() 144 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_head_lsn_show() 158 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_tail_lsn_show() 172 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in reserve_grant_head_show() 186 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in write_grant_head_show()
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
D | oid_mgt.c | 795 return snprintf(str, PRIV_STR_SIZE, "%u\n", r->u); in mgt_response_to_str() 798 return snprintf(str, PRIV_STR_SIZE, in mgt_response_to_str() 805 return snprintf(str, PRIV_STR_SIZE, in mgt_response_to_str() 816 k = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", list->nr); in mgt_response_to_str() 818 k += snprintf(str + k, PRIV_STR_SIZE - k, in mgt_response_to_str() 834 t = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", freq->nr); in mgt_response_to_str() 836 t += snprintf(str + t, PRIV_STR_SIZE - t, in mgt_response_to_str() 843 return snprintf(str, PRIV_STR_SIZE, in mgt_response_to_str() 850 return snprintf(str, PRIV_STR_SIZE, in mgt_response_to_str() 858 return snprintf(str, PRIV_STR_SIZE, in mgt_response_to_str() [all …]
|
/linux-4.1.27/block/partitions/ |
D | amiga.c | 78 snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); in amiga_partition() 122 snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", in amiga_partition() 126 snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", in amiga_partition() 130 snprintf(tmp, sizeof(tmp), "(res %d spb %d)", in amiga_partition()
|
D | msdos.c | 103 snprintf(info->uuid, sizeof(info->uuid), "%08x-%02x", disksig, in set_info() 234 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86() 240 snprintf(tmp, sizeof(tmp), " cannot handle version %d vtoc>\n", in parse_solaris_x86() 254 snprintf(tmp, sizeof(tmp), " [s%d]", i); in parse_solaris_x86() 289 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); in parse_bsd() 314 snprintf(tmp, sizeof(tmp), " (ignored %d more)", in parse_bsd() 370 snprintf(tmp, sizeof(tmp), " %s%d: <unixware:", state->name, origin); in parse_unixware() 417 snprintf(tmp, sizeof(tmp), " %s%d: <minix:", state->name, origin); in parse_minix()
|
D | sysv68.c | 77 snprintf(tmp, sizeof(tmp), "sysV68: %s(s%u)", state->name, slices); in sysv68_partition() 87 snprintf(tmp, sizeof(tmp), "(s%u)", i); in sysv68_partition()
|
D | ibm.c | 147 snprintf(tmp, sizeof(tmp), "VOL1/%8s:", name); in find_vol1_partitions() 207 snprintf(tmp, sizeof(tmp), "LNX1/%8s:", name); in find_lnx1_partitions() 258 snprintf(tmp, sizeof(tmp), "CMS1/%8s(MDSK):", name); in find_cms1_partitions() 264 snprintf(tmp, sizeof(tmp), "CMS1/%8s:", name); in find_cms1_partitions()
|
D | aix.c | 199 snprintf(tmp, sizeof(tmp), in aix_partition() 205 snprintf(tmp, sizeof(tmp), in aix_partition() 274 snprintf(tmp, sizeof(tmp), " <%s>\n", in aix_partition()
|
/linux-4.1.27/mm/ |
D | hugetlb_cgroup.c | 327 snprintf(buf, size, "%luGB", hsize >> 30); in mem_fmt() 329 snprintf(buf, size, "%luMB", hsize >> 20); in mem_fmt() 331 snprintf(buf, size, "%luKB", hsize >> 10); in mem_fmt() 346 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.limit_in_bytes", buf); in __hugetlb_cgroup_file_init() 353 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.usage_in_bytes", buf); in __hugetlb_cgroup_file_init() 359 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.max_usage_in_bytes", buf); in __hugetlb_cgroup_file_init() 366 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.failcnt", buf); in __hugetlb_cgroup_file_init()
|
D | page_owner.c | 95 ret = snprintf(kbuf, count, in print_page_owner() 105 ret += snprintf(kbuf + ret, count - ret, in print_page_owner() 131 ret += snprintf(kbuf + ret, count - ret, "\n"); in print_page_owner()
|
/linux-4.1.27/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 62 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_mpi_interface_rev_show() 65 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_mpi_interface_rev_show() 87 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_fw_version_show() 93 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_fw_version_show() 116 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_max_out_io_show() 119 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_max_out_io_show() 139 return snprintf(buf, PAGE_SIZE, "%04d\n", in pm8001_ctl_max_devices_show() 143 return snprintf(buf, PAGE_SIZE, "%04d\n", in pm8001_ctl_max_devices_show() 165 return snprintf(buf, PAGE_SIZE, "%04d\n", in pm8001_ctl_max_sg_list_show() 169 return snprintf(buf, PAGE_SIZE, "%04d\n", in pm8001_ctl_max_sg_list_show() [all …]
|
/linux-4.1.27/drivers/s390/cio/ |
D | qdio_debug.h | 30 snprintf(debug_buffer, QDIO_DBF_LEN, text); \ 46 snprintf(debug_buffer, QDIO_DBF_LEN, text); \ 63 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | linit.c | 502 return snprintf(buf, PAGE_SIZE, sdev->no_uld_attach in aac_show_raid_level() 505 return snprintf(buf, PAGE_SIZE, "%s\n", in aac_show_raid_level() 785 len = snprintf(buf, PAGE_SIZE, "%s\n", cp); in aac_show_model() 787 len = snprintf(buf, PAGE_SIZE, "%s\n", in aac_show_model() 802 len = snprintf(buf, PAGE_SIZE, "%.*s\n", in aac_show_vendor() 806 len = snprintf(buf, PAGE_SIZE, "%s\n", in aac_show_vendor() 818 len = snprintf(buf, PAGE_SIZE, "dprintk\n"); in aac_show_flags() 820 len += snprintf(buf + len, PAGE_SIZE - len, in aac_show_flags() 824 len += snprintf(buf + len, PAGE_SIZE - len, in aac_show_flags() 827 len += snprintf(buf + len, PAGE_SIZE - len, "SUPPORTED_JBOD\n"); in aac_show_flags() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | router_proc.c | 140 len = snprintf(tmpstr, tmpsiz, in __proc_lnet_stats() 195 s += snprintf(s, tmpstr + tmpsiz - s, "Routing %s\n", in proc_lnet_routes() 199 s += snprintf(s, tmpstr + tmpsiz - s, "%-8s %4s %8s %7s %s\n", in proc_lnet_routes() 260 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_routes() 319 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_routers() 387 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_routers() 394 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_routers() 460 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_peers() 556 s += snprintf(s, tmpstr + tmpsiz - s, in proc_lnet_peers() 616 s += snprintf(s, tmpstr + tmpsiz - s, in __proc_lnet_buffers() [all …]
|
/linux-4.1.27/drivers/input/tablet/ |
D | aiptek.c | 1056 return snprintf(buf, PAGE_SIZE, "%dx%d\n", in show_tabletSize() 1084 return snprintf(buf, PAGE_SIZE, "%s\n", in show_tabletPointerMode() 1121 return snprintf(buf, PAGE_SIZE, "%s\n", in show_tabletCoordinateMode() 1163 return snprintf(buf, PAGE_SIZE, "%s\n", in show_tabletToolMode() 1194 return snprintf(buf, PAGE_SIZE, "disable\n"); in show_tabletXtilt() 1196 return snprintf(buf, PAGE_SIZE, "%d\n", in show_tabletXtilt() 1236 return snprintf(buf, PAGE_SIZE, "disable\n"); in show_tabletYtilt() 1238 return snprintf(buf, PAGE_SIZE, "%d\n", in show_tabletYtilt() 1277 return snprintf(buf, PAGE_SIZE, "%d\n", aiptek->curSetting.jitterDelay); in show_tabletJitterDelay() 1306 return snprintf(buf, PAGE_SIZE, "%d\n", in show_tabletProgrammableDelay() [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 43 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->rotation_type); in show_rotate_type() 98 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->mirror); in show_mirror() 164 l += snprintf(buf + l, PAGE_SIZE - l, "%s%d", in show_overlays() 168 l += snprintf(buf + l, PAGE_SIZE - l, "\n"); in show_overlays() 347 l += snprintf(buf + l, PAGE_SIZE - l, "%s%d", in show_overlays_rotate() 351 l += snprintf(buf + l, PAGE_SIZE - l, "\n"); in show_overlays_rotate() 435 return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region->size); in show_size() 513 return snprintf(buf, PAGE_SIZE, "%0x\n", ofbi->region->paddr); in show_phys() 522 return snprintf(buf, PAGE_SIZE, "%p\n", ofbi->region->vaddr); in show_virt() 537 return snprintf(buf, PAGE_SIZE, "%u\n", (unsigned)mode); in show_upd_mode()
|
/linux-4.1.27/drivers/usb/storage/ |
D | sierra_ms.c | 100 result = snprintf(buf, PAGE_SIZE, "Forced Mass Storage\n"); in show_truinst() 104 snprintf(buf, PAGE_SIZE, "Error\n"); in show_truinst() 111 snprintf(buf, PAGE_SIZE, "Error\n"); in show_truinst() 115 result = snprintf(buf, PAGE_SIZE, in show_truinst()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmutil/ |
D | utils.c | 270 snprintf(buf, BRCMU_BOARDREV_LEN, "%d.%d", in brcmu_boardrev_str() 274 snprintf(buf, BRCMU_BOARDREV_LEN, "%c%03x", c, brev & 0xfff); in brcmu_boardrev_str() 285 snprintf(buf, BRCMU_DOTREV_LEN, "unknown"); in brcmu_dotrev_str() 294 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d.%d.%d", dotval[0], in brcmu_dotrev_str() 297 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d.%d", dotval[0], in brcmu_dotrev_str() 300 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d", dotval[0], in brcmu_dotrev_str()
|
/linux-4.1.27/drivers/block/aoe/ |
D | aoeblk.c | 40 return snprintf(page, PAGE_SIZE, in aoedisk_show_state() 55 return snprintf(page, PAGE_SIZE, "none\n"); in aoedisk_show_mac() 56 return snprintf(page, PAGE_SIZE, "%pm\n", t->addr); in aoedisk_show_mac() 88 return snprintf(page, PAGE_SIZE, "none\n"); in aoedisk_show_netif() 90 p += snprintf(p, PAGE_SIZE - (p-page), "%s%s", in aoedisk_show_netif() 92 p += snprintf(p, PAGE_SIZE - (p-page), "\n"); in aoedisk_show_netif() 102 return snprintf(page, PAGE_SIZE, "0x%04x\n", (unsigned int) d->fw_ver); in aoedisk_show_fwver() 110 return snprintf(page, PAGE_SIZE, "%lu\n", d->maxbcnt); in aoedisk_show_payload() 412 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", in aoeblk_gdalloc()
|
/linux-4.1.27/drivers/misc/ |
D | enclosure.c | 321 snprintf(newname, COMPONENT_NAME_SIZE, in enclosure_component_alloc() 324 snprintf(newname, COMPONENT_NAME_SIZE, in enclosure_component_alloc() 435 return snprintf(buf, 40, "%d\n", edev->components); in components_show() 490 return snprintf(buf, 40, "%d\n", ecomp->fault); in get_component_fault() 514 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); in get_component_status() 548 return snprintf(buf, 40, "%d\n", ecomp->active); in get_component_active() 572 return snprintf(buf, 40, "%d\n", ecomp->locate); in get_component_locate() 597 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); in get_component_power_status() 627 return snprintf(buf, 40, "%s\n", enclosure_type[ecomp->type]); in get_component_type() 642 return snprintf(buf, 40, "%d\n", slot); in get_component_slot()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 97 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi() 112 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed() 119 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr() 242 snprintf(command, 3, "OK"); in rtw_android_priv_cmd()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 121 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), in ixgbe_add_hwmon_attr() 126 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), in ixgbe_add_hwmon_attr() 131 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), in ixgbe_add_hwmon_attr() 136 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), in ixgbe_add_hwmon_attr()
|
D | ixgbe_fcoe.c | 636 snprintf(pool_name, 32, "ixgbe_fcoe_ddp_%u", cpu); in ixgbe_fcoe_dma_pool_alloc() 1005 snprintf(info->manufacturer, sizeof(info->manufacturer), in ixgbe_fcoe_get_hbainfo() 1017 snprintf(info->serial_number, sizeof(info->serial_number), in ixgbe_fcoe_get_hbainfo() 1022 snprintf(info->serial_number, sizeof(info->serial_number), in ixgbe_fcoe_get_hbainfo() 1026 snprintf(info->hardware_version, in ixgbe_fcoe_get_hbainfo() 1030 snprintf(info->driver_version, in ixgbe_fcoe_get_hbainfo() 1036 snprintf(info->firmware_version, in ixgbe_fcoe_get_hbainfo() 1044 snprintf(info->model, in ixgbe_fcoe_get_hbainfo() 1048 snprintf(info->model, in ixgbe_fcoe_get_hbainfo() 1054 snprintf(info->model_description, in ixgbe_fcoe_get_hbainfo()
|
/linux-4.1.27/tools/hv/ |
D | hv_kvp_daemon.c | 614 snprintf(dev_id, sizeof(dev_id), "%s", kvp_net_dir); in kvp_get_if_name() 665 snprintf(addr_file, sizeof(addr_file), "%s%s%s", "/sys/class/net/", in kvp_if_name_to_mac() 707 snprintf(dev_id, sizeof(dev_id), kvp_net_dir); in kvp_mac_to_if_name() 1164 snprintf(str, sizeof(str), "%s", "IPADDR"); in process_ip_string() 1167 snprintf(str, sizeof(str), "%s", "NETMASK"); in process_ip_string() 1170 snprintf(str, sizeof(str), "%s", "GATEWAY"); in process_ip_string() 1173 snprintf(str, sizeof(str), "%s", "DNS"); in process_ip_string() 1178 snprintf(sub_str, sizeof(sub_str), "%d", ++i); in process_ip_string() 1182 snprintf(sub_str, sizeof(sub_str), "%d", i++); in process_ip_string() 1189 snprintf(str, sizeof(str), "%s", "IPV6ADDR"); in process_ip_string() [all …]
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
D | msm_perf.c | 79 n = snprintf(ptr, rem, "%%BUSY"); in refill_buf() 85 n = snprintf(ptr, rem, "\t%s", perfcntr->name); in refill_buf() 107 n = snprintf(ptr, rem, "%3d.%d%%", val / 10, val % 10); in refill_buf() 114 n = snprintf(ptr, rem, "\t%5d.%02d", in refill_buf() 121 n = snprintf(ptr, rem, "\n"); in refill_buf()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | sysfs.c | 70 snprintf(buf, PAGE_SIZE, in b43_attr_interfmode_show() 75 snprintf(buf, PAGE_SIZE, in b43_attr_interfmode_show() 80 snprintf(buf, PAGE_SIZE, in b43_attr_interfmode_show()
|
D | leds.c | 177 snprintf(name, sizeof(name), in b43_map_led() 182 snprintf(name, sizeof(name), in b43_map_led() 192 snprintf(name, sizeof(name), in b43_map_led() 200 snprintf(name, sizeof(name), in b43_map_led()
|
/linux-4.1.27/drivers/net/ |
D | netconsole.c | 258 return snprintf(buf, PAGE_SIZE, "%d\n", nt->enabled); in show_enabled() 263 return snprintf(buf, PAGE_SIZE, "%s\n", nt->np.dev_name); in show_dev_name() 268 return snprintf(buf, PAGE_SIZE, "%d\n", nt->np.local_port); in show_local_port() 273 return snprintf(buf, PAGE_SIZE, "%d\n", nt->np.remote_port); in show_remote_port() 279 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); in show_local_ip() 281 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.local_ip); in show_local_ip() 287 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.remote_ip.in6); in show_remote_ip() 289 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.remote_ip); in show_remote_ip() 297 return snprintf(buf, PAGE_SIZE, "%pM\n", dev ? dev->dev_addr : bcast); in show_local_mac() 302 return snprintf(buf, PAGE_SIZE, "%pM\n", nt->np.remote_mac); in show_remote_mac()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 49 return snprintf(buf, PAGE_SIZE, "%d\n", temp * 1000); in nouveau_hwmon_show_temp() 58 return snprintf(buf, PAGE_SIZE, "%d\n", 100); in nouveau_hwmon_show_temp1_auto_point1_pwm() 71 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_temp1_auto_point1_temp() 104 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_temp1_auto_point1_temp_hyst() 136 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_max_temp() 167 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_max_temp_hyst() 199 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_critical_temp() 232 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_critical_temp_hyst() 265 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_emergency_temp() 298 return snprintf(buf, PAGE_SIZE, "%d\n", in nouveau_hwmon_emergency_temp_hyst() [all …]
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 103 return snprintf(buf, PAGE_SIZE, "%x\n", intel_enable_rc6(dminor->dev)); in show_rc6_mask() 111 return snprintf(buf, PAGE_SIZE, "%u\n", rc6_residency); in show_rc6_ms() 119 return snprintf(buf, PAGE_SIZE, "%u\n", rc6p_residency); in show_rc6p_ms() 127 return snprintf(buf, PAGE_SIZE, "%u\n", rc6pp_residency); in show_rc6pp_ms() 135 return snprintf(buf, PAGE_SIZE, "%u\n", rc6_residency); in show_media_rc6_ms() 334 return snprintf(buf, PAGE_SIZE, "%d\n", ret); in gt_act_freq_mhz_show() 355 return snprintf(buf, PAGE_SIZE, "%d\n", ret); in gt_cur_freq_mhz_show() 365 return snprintf(buf, PAGE_SIZE, in vlv_rpe_freq_mhz_show() 383 return snprintf(buf, PAGE_SIZE, "%d\n", ret); in gt_max_freq_mhz_show() 446 return snprintf(buf, PAGE_SIZE, "%d\n", ret); in gt_min_freq_mhz_show() [all …]
|
/linux-4.1.27/drivers/mtd/ |
D | mtdcore.c | 142 return snprintf(buf, PAGE_SIZE, "%s\n", type); in mtd_type_show() 151 return snprintf(buf, PAGE_SIZE, "0x%lx\n", (unsigned long)mtd->flags); in mtd_flags_show() 161 return snprintf(buf, PAGE_SIZE, "%llu\n", in mtd_size_show() 172 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->erasesize); in mtd_erasesize_show() 182 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->writesize); in mtd_writesize_show() 193 return snprintf(buf, PAGE_SIZE, "%u\n", subpagesize); in mtd_subpagesize_show() 203 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->oobsize); in mtd_oobsize_show() 213 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions); in mtd_numeraseregions_show() 224 return snprintf(buf, PAGE_SIZE, "%s\n", mtd->name); in mtd_name_show() 234 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_strength); in mtd_ecc_strength_show() [all …]
|
/linux-4.1.27/drivers/hwmon/ |
D | ltc4215.c | 146 return snprintf(buf, PAGE_SIZE, "%d\n", voltage); in ltc4215_show_voltage() 155 return snprintf(buf, PAGE_SIZE, "%u\n", curr); in ltc4215_show_current() 168 return snprintf(buf, PAGE_SIZE, "%u\n", power); in ltc4215_show_power() 180 return snprintf(buf, PAGE_SIZE, "%u\n", !!(reg & mask)); in ltc4215_show_alarm()
|
D | sch5627.c | 211 return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME); in show_name() 225 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp() 237 return snprintf(buf, PAGE_SIZE, "%d\n", data->temp[attr->index] == 0); in show_temp_fault() 248 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp_max() 259 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp_crit() 276 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_fan() 288 return snprintf(buf, PAGE_SIZE, "%d\n", in show_fan_fault() 301 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_fan_min() 317 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_in() 325 return snprintf(buf, PAGE_SIZE, "%s\n", in show_in_label()
|
D | sch5636.c | 176 return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME); in show_name() 192 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_in_value() 200 return snprintf(buf, PAGE_SIZE, "%s\n", in show_in_label() 215 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp_value() 229 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp_fault() 243 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_temp_alarm() 260 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_fan_value() 274 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_fan_fault() 288 return snprintf(buf, PAGE_SIZE, "%d\n", val); in show_fan_alarm()
|
D | s3c-hwmon.c | 107 return (ret < 0) ? ret : snprintf(buf, PAGE_SIZE, "%d\n", ret); in s3c_hwmon_show_raw() 181 return snprintf(buf, PAGE_SIZE, "%d\n", ret); in s3c_hwmon_ch_show() 202 return snprintf(buf, PAGE_SIZE, "%s\n", cfg->name); in s3c_hwmon_label_show() 227 snprintf(attrs->in_name, sizeof(attrs->in_name), "in%d_input", channel); in s3c_hwmon_create_attr() 244 snprintf(attrs->label_name, sizeof(attrs->label_name), in s3c_hwmon_create_attr()
|
D | applesmc.c | 715 return snprintf(buf, PAGE_SIZE, "applesmc\n"); in applesmc_name_show() 738 return snprintf(buf, PAGE_SIZE, "(%d,%d,%d)\n", x, y, z); in applesmc_position_show() 776 return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", left, right); in applesmc_light_show() 785 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", key); in applesmc_show_sensor_label() 803 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", temp); in applesmc_show_temperature() 822 return snprintf(sysfsbuf, PAGE_SIZE, "%u\n", speed); in applesmc_show_fan_speed() 862 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", manual); in applesmc_show_fan_manual() 914 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", buffer+4); in applesmc_show_fan_position() 920 return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", rest_x, rest_y); in applesmc_calibrate_show() 963 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", count); in applesmc_key_count_show() [all …]
|
D | lm95245.c | 232 return snprintf(buf, PAGE_SIZE - 1, "%d\n", temp); in show_input() 241 return snprintf(buf, PAGE_SIZE - 1, "%d\n", in show_limit() 278 return snprintf(buf, PAGE_SIZE - 1, "%d\n", hyst * 1000); in show_crit_hyst() 314 return snprintf(buf, PAGE_SIZE - 1, in show_type() 353 return snprintf(buf, PAGE_SIZE - 1, "%d\n", in show_alarm() 362 return snprintf(buf, PAGE_SIZE - 1, "%lu\n", data->interval); in show_interval()
|
D | ibmpowernv.c | 135 n = snprintf(sdata->label, sizeof(sdata->label), "%s", label); in make_sensor_label() 150 n += snprintf(sdata->label + n, in make_sensor_label() 154 n += snprintf(sdata->label + n, in make_sensor_label() 162 n += snprintf(sdata->label + n, sizeof(sdata->label) - n, in make_sensor_label() 332 snprintf(sdata->name, MAX_ATTR_LEN, "%s%d_%s", in create_hwmon_attr()
|
D | lm95241.c | 146 return snprintf(buf, PAGE_SIZE - 1, "%d\n", in show_input() 158 return snprintf(buf, PAGE_SIZE - 1, in show_type() 205 return snprintf(buf, PAGE_SIZE - 1, in show_min() 242 return snprintf(buf, PAGE_SIZE - 1, in show_max() 279 return snprintf(buf, PAGE_SIZE - 1, "%lu\n", 1000 * data->interval in show_interval()
|
D | vexpress.c | 37 return snprintf(buffer, PAGE_SIZE, "%s\n", label); in vexpress_hwmon_label_show() 51 return snprintf(buffer, PAGE_SIZE, "%u\n", value / in vexpress_hwmon_u32_show() 70 return snprintf(buffer, PAGE_SIZE, "%llu\n", in vexpress_hwmon_u64_show()
|
D | ltc4245.c | 266 return snprintf(buf, PAGE_SIZE, "%d\n", voltage); in ltc4245_show_voltage() 276 return snprintf(buf, PAGE_SIZE, "%u\n", curr); in ltc4245_show_current() 290 return snprintf(buf, PAGE_SIZE, "%u\n", power); in ltc4245_show_power() 302 return snprintf(buf, PAGE_SIZE, "%u\n", (reg & mask) ? 1 : 0); in ltc4245_show_alarm() 318 return snprintf(buf, PAGE_SIZE, "%u\n", val * 10); in ltc4245_show_gpio()
|
D | i5k_amb.c | 295 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init() 310 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init() 325 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init() 341 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init() 357 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init() 373 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, in i5k_amb_hwmon_init()
|
D | ltc4260.c | 91 return snprintf(buf, PAGE_SIZE, "%d\n", value); in ltc4260_show_value() 110 return snprintf(buf, PAGE_SIZE, "%d\n", !!fault); in ltc4260_show_bool()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_hwmon.c | 122 snprintf(igb_attr->name, sizeof(igb_attr->name), in igb_add_hwmon_attr() 127 snprintf(igb_attr->name, sizeof(igb_attr->name), in igb_add_hwmon_attr() 132 snprintf(igb_attr->name, sizeof(igb_attr->name), in igb_add_hwmon_attr() 137 snprintf(igb_attr->name, sizeof(igb_attr->name), in igb_add_hwmon_attr()
|
/linux-4.1.27/tools/power/cpupower/lib/ |
D | sysfs.c | 55 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", in sysfs_cpufreq_read_file() 70 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", in sysfs_cpufreq_write_file() 565 snprintf(value, SYSFS_PATH_MAX, "%lu", max_freq); in sysfs_modify_freq_policy_max() 576 snprintf(value, SYSFS_PATH_MAX, "%lu", min_freq); in sysfs_modify_freq_policy_min() 601 snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); in sysfs_set_freq_policy() 602 snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max); in sysfs_set_freq_policy() 650 snprintf(freq, SYSFS_PATH_MAX, "%lu", target_frequency); in sysfs_set_frequency() 664 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/", cpu); in sysfs_cpu_exists()
|
/linux-4.1.27/drivers/ntb/ |
D | ntb_transport.c | 410 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 412 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 414 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 416 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 418 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 420 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 422 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 424 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 426 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 428 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read() [all …]
|
D | ntb_hw.c | 1443 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1445 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1450 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1454 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1457 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1461 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1464 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1474 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1476 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() 1481 offset += snprintf(buf + offset, out_count - offset, in ntb_debugfs_read() [all …]
|
/linux-4.1.27/arch/x86/platform/uv/ |
D | uv_sysfs.c | 31 return snprintf(buf, PAGE_SIZE, "%ld\n", sn_partition_id); in partition_id_show() 37 return snprintf(buf, PAGE_SIZE, "%ld\n", partition_coherence_id()); in coherence_id_show()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_sysfs.c | 132 return snprintf (buf, 20, format_string, shost->field); \ 197 return snprintf(buf, 20, "%s\n", name); in show_shost_state() 243 return snprintf(buf, 20, "unknown\n"); in show_shost_active_mode() 291 return snprintf(buf, strlen("off") + 2, "off\n"); in show_shost_eh_deadline() 351 return snprintf(buf, 20, "%d\n", atomic_read(&shost->host_busy)); in show_host_busy() 513 return snprintf (buf, 20, format_string, sdev->field); \ 600 return snprintf(buf, 20, "%d\n", atomic_read(&sdev->device_busy)); in sdev_show_device_busy() 609 return snprintf(buf, 20, "%d\n", atomic_read(&sdev->device_blocked)); in sdev_show_device_blocked() 621 return snprintf(buf, 20, "%d\n", sdev->request_queue->rq_timeout / HZ); in sdev_show_timeout() 642 return snprintf(buf, 20, "%u\n", sdev->eh_timeout / HZ); in sdev_show_eh_timeout() [all …]
|
D | scsi_transport_fc.c | 441 snprintf(fc_host->work_q_name, sizeof(fc_host->work_q_name), in fc_host_setup() 448 snprintf(fc_host->devloss_work_q_name, in fc_host_setup() 712 return snprintf(buf, sz, format_string, cast rport->field); \ 761 return snprintf(buf, sz, format_string, cast rport->field); \ 785 return snprintf(buf, maxlen, "%s\n", name); \ 836 return snprintf(buf, 20, "unspecified\n"); in show_fc_rport_supported_classes() 931 return snprintf(buf, 30, "Fabric Port\n"); in show_fc_rport_roles() 933 return snprintf(buf, 30, "Fabric Controller\n"); in show_fc_rport_roles() 935 return snprintf(buf, 30, "Directory Server\n"); in show_fc_rport_roles() 937 return snprintf(buf, 30, "Time Server\n"); in show_fc_rport_roles() [all …]
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 179 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in read_record() 309 snprintf(buff, sizeof(buff), "%u %d %u %u", in usbip_vhci_attach_device2() 314 snprintf(attach_attr_path, sizeof(attach_attr_path), "%s/%s", in usbip_vhci_attach_device2() 351 snprintf(buff, sizeof(buff), "%u", port); in usbip_vhci_detach_device() 355 snprintf(detach_attr_path, sizeof(detach_attr_path), "%s/%s", in usbip_vhci_detach_device()
|
D | usbip_host_driver.c | 47 snprintf(status_attr_path, SYSFS_PATH_MAX, "%s/usbip_status", in read_attr_usbip_status() 247 snprintf(sockfd_attr_path, sizeof(sockfd_attr_path), "%s/%s", in usbip_host_export_device() 250 snprintf(sockfd_buff, sizeof(sockfd_buff), "%d\n", sockfd); in usbip_host_export_device()
|
D | usbip_common.c | 259 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); in usbip_names_get_product() 268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class() 284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
|
/linux-4.1.27/net/irda/irnet/ |
D | irnet_ppp.c | 239 snprintf(event, buf_size, in irnet_read_discovery_log() 339 snprintf(event, sizeof(event), in irnet_ctrl_read() 348 snprintf(event, sizeof(event), in irnet_ctrl_read() 357 snprintf(event, sizeof(event), "Connected to %08x (%s) on ppp%d\n", in irnet_ctrl_read() 363 snprintf(event, sizeof(event), "Connection from %08x (%s) on ppp%d\n", in irnet_ctrl_read() 369 snprintf(event, sizeof(event), "Request from %08x (%s) behind %08x\n", in irnet_ctrl_read() 375 snprintf(event, sizeof(event), "No-answer from %08x (%s) on ppp%d\n", in irnet_ctrl_read() 381 snprintf(event, sizeof(event), "Blocked link with %08x (%s) on ppp%d\n", in irnet_ctrl_read() 387 snprintf(event, sizeof(event), "Disconnection from %08x (%s) on ppp%d\n", in irnet_ctrl_read() 393 snprintf(event, sizeof(event), "Disconnected to %08x (%s)\n", in irnet_ctrl_read() [all …]
|
/linux-4.1.27/arch/tile/gxio/ |
D | usb_host.c | 36 snprintf(file, sizeof(file), "usb_host/%d/iorpc/ehci", in gxio_usb_host_init() 39 snprintf(file, sizeof(file), "usb_host/%d/iorpc/ohci", in gxio_usb_host_init()
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 105 return snprintf(buf, PAGE_SIZE, "%d\n", val); in btrfs_feature_attr_show() 232 return snprintf(buf, PAGE_SIZE, "%llu\n", val); in btrfs_show_u64() 278 return snprintf(buf, PAGE_SIZE, "%llu\n", val); in raid_bytes_show() 314 return snprintf(buf, PAGE_SIZE, "%lld\n", val); in btrfs_space_info_show_total_bytes_pinned() 364 return snprintf(buf, PAGE_SIZE, label[0] ? "%s\n" : "%s", label); in btrfs_label_show() 406 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 416 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); in btrfs_sectorsize_show() 426 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); in btrfs_clone_alignment_show() 554 len += snprintf(str + len, bufsize - len, "%s%s", in btrfs_printable_features() 594 snprintf(name, 13, "%s:%u", in init_feature_attrs()
|
/linux-4.1.27/fs/nfs/ |
D | nfsroot.c | 246 snprintf(mand_options, sizeof(mand_options), "nolock,addr=%pI4", in root_nfs_data() 262 len = snprintf(nfs_export_path, sizeof(nfs_export_path), in root_nfs_data() 266 len = snprintf(nfs_root_device, sizeof(nfs_root_device), in root_nfs_data()
|
/linux-4.1.27/fs/ocfs2/ |
D | super.c | 238 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 243 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 247 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 251 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 257 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 262 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 273 out += snprintf(buf + out, len - out, in ocfs2_osb_dump() 282 out += snprintf(buf + out, len - out, "%10s => Pid: %d Nodes:", in ocfs2_osb_dump() 287 out += snprintf(buf + out, len - out, " None\n"); in ocfs2_osb_dump() 290 out += snprintf(buf + out, len - out, " %d", in ocfs2_osb_dump() [all …]
|
D | stackglue.c | 490 ret = snprintf(buf, PAGE_SIZE, "%u.%u\n", in ocfs2_max_locking_protocol_show() 511 ret = snprintf(buf, remain, "%s\n", in ocfs2_loaded_cluster_plugins_show() 542 ret = snprintf(buf, PAGE_SIZE, "%s\n", in ocfs2_active_cluster_plugin_show() 562 ret = snprintf(buf, PAGE_SIZE, "%s\n", cluster_stack_name); in ocfs2_cluster_stack_show() 612 return snprintf(buf, PAGE_SIZE, "1\n"); in ocfs2_dlm_recover_show()
|
/linux-4.1.27/net/mac80211/ |
D | led.c | 55 snprintf(local->rx_led_name, sizeof(local->rx_led_name), in ieee80211_led_names() 57 snprintf(local->tx_led_name, sizeof(local->tx_led_name), in ieee80211_led_names() 59 snprintf(local->assoc_led_name, sizeof(local->assoc_led_name), in ieee80211_led_names() 61 snprintf(local->radio_led_name, sizeof(local->radio_led_name), in ieee80211_led_names() 229 snprintf(tpt_trig->name, sizeof(tpt_trig->name), in __ieee80211_create_tpt_led_trigger()
|
/linux-4.1.27/tools/cgroup/ |
D | cgroup_event_listener.c | 37 ret = snprintf(event_control_path, PATH_MAX, "%s/cgroup.event_control", in main() 50 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); in main()
|
/linux-4.1.27/drivers/usb/atm/ |
D | cxacru.c | 250 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_u32() 255 return snprintf(buf, PAGE_SIZE, "%d\n", value); in cxacru_sysfs_showattr_s8() 261 return snprintf(buf, PAGE_SIZE, "%u.%02u\n", in cxacru_sysfs_showattr_dB() 265 return snprintf(buf, PAGE_SIZE, "-%u.%02u\n", in cxacru_sysfs_showattr_dB() 274 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_bool() 275 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_bool() 282 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_LINK() 283 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_LINK() 293 return snprintf(buf, PAGE_SIZE, "%u\n", value); in cxacru_sysfs_showattr_LINE() 294 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); in cxacru_sysfs_showattr_LINE() [all …]
|
/linux-4.1.27/drivers/crypto/caam/ |
D | error.c | 142 snprintf(cha_err_code, sizeof(cha_err_code), "%02x", cha_id); in report_ccb_status() 152 snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id); in report_ccb_status() 195 snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id); in report_deco_status()
|
/linux-4.1.27/drivers/iommu/ |
D | of_iommu.c | 57 snprintf(propname, sizeof(propname), "%sdma-window", prefix); in of_get_dma_window() 58 snprintf(addrname, sizeof(addrname), "%s#dma-address-cells", prefix); in of_get_dma_window() 59 snprintf(sizename, sizeof(sizename), "%s#dma-size-cells", prefix); in of_get_dma_window()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | serial.c | 141 snprintf(rx_pad_name, OMAP_UART_DEFAULT_PAD_NAME_LEN, rx_fmt, in omap_serial_check_wakeup() 143 snprintf(tx_pad_name, OMAP_UART_DEFAULT_PAD_NAME_LEN, tx_fmt, in omap_serial_check_wakeup() 187 snprintf(oh_name, MAX_UART_HWMOD_NAME_LEN, in omap_serial_early_init() 200 snprintf(uart_name, MAX_UART_HWMOD_NAME_LEN, in omap_serial_early_init()
|
/linux-4.1.27/arch/mips/jz4740/ |
D | clock-debugfs.c | 80 snprintf(parent_path, 100, "../%s", clk->parent->name); in jz4740_clock_debugfs_add_clk() 94 snprintf(parent_path, 100, "../%s", clk->parent->name); in jz4740_clock_debugfs_update_parent()
|
/linux-4.1.27/fs/ceph/ |
D | xattr.c | 82 ret = snprintf(buf, sizeof(buf), in ceph_vxattrcb_layout() 97 ret = snprintf(buf, sizeof(buf), in ceph_vxattrcb_layout() 117 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_stripe_unit() 124 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_stripe_count() 131 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_object_size() 147 ret = snprintf(val, size, "%s", pool_name); in ceph_vxattrcb_layout_pool() 149 ret = snprintf(val, size, "%lld", (unsigned long long)pool); in ceph_vxattrcb_layout_pool() 159 return snprintf(val, size, "%lld", ci->i_files + ci->i_subdirs); in ceph_vxattrcb_dir_entries() 165 return snprintf(val, size, "%lld", ci->i_files); in ceph_vxattrcb_dir_files() 171 return snprintf(val, size, "%lld", ci->i_subdirs); in ceph_vxattrcb_dir_subdirs() [all …]
|
/linux-4.1.27/arch/um/os-Linux/ |
D | umid.c | 139 n = snprintf(file, sizeof(file), "%s/pid", dir); in is_umdir_used() 224 snprintf(pid, sizeof(pid), "%d\n", getpid()); in create_pid_file() 282 snprintf(tmp, sizeof(tmp), "%s%s", uml_dir, umid); in make_umid() 337 n = snprintf(buf, len, "%s%s/%s", uml_dir, umid, name); in umid_file_name()
|
/linux-4.1.27/drivers/s390/net/ |
D | smsgiucv_app.c | 89 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); in smsg_app_event_alloc() 90 snprintf(ev->envp[1], ENV_PREFIX_LEN, ENV_PREFIX_STR "%s", SMSG_PREFIX); in smsg_app_event_alloc() 91 snprintf(ev->envp[2], ENV_TEXT_LEN(msg), ENV_TEXT_STR "%s", msg); in smsg_app_event_alloc()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_sysfs.c | 229 return snprintf(buf, PAGE_SIZE, "%s\n", in status_show() 242 return snprintf(buf, PAGE_SIZE, "%s\n", in dpms_show() 252 return snprintf(buf, PAGE_SIZE, "%s\n", connector->encoder ? "enabled" : in enabled_show() 292 written += snprintf(buf + written, PAGE_SIZE - written, "%s\n", in modes_show() 335 return snprintf(buf, PAGE_SIZE, "%s", is_tv ? in subconnector_show() 376 return snprintf(buf, PAGE_SIZE, "%s", is_tv ? in select_subconnector_show()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | xenbus.c | 209 len = snprintf(str, sizeof(str), "vdev-%d", devid); in xen_pcibk_publish_pci_dev() 318 len = snprintf(str, sizeof(str), "root-%d", i); in xen_pcibk_publish_pci_root() 339 len = snprintf(str, sizeof(str), "root-%d", root_num); in xen_pcibk_publish_pci_root() 390 len = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_reconfigure() 407 len = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); in xen_pcibk_reconfigure() 461 len = snprintf(dev_str, sizeof(dev_str), "vdev-%d", i); in xen_pcibk_reconfigure() 589 int l = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); in xen_pcibk_setup_backend() 618 l = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_setup_backend()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | sysfs.c | 37 len = snprintf(buf, len, "%d\n\n0 - off\n1 - on\n", in wl1271_sysfs_show_bt_coex_state() 98 len = snprintf(buf, len, "%d\n", wl->hw_pg_ver); in wl1271_sysfs_show_hw_pg_ver() 100 len = snprintf(buf, len, "n/a\n"); in wl1271_sysfs_show_hw_pg_ver()
|
/linux-4.1.27/lib/ |
D | hexdump.c | 140 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer() 151 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer() 162 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
|
D | oid_registry.c | 122 ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); in sprint_oid() 143 ret += count = snprintf(buffer, bufsize, ".%lu", num); in sprint_oid()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | svc_xprt.h | 193 snprintf(buf, len, "%pI4, port=%u", &sin->sin_addr, in __svc_print_addr() 198 snprintf(buf, len, "%pI6, port=%u", in __svc_print_addr() 204 snprintf(buf, len, "unknown address type: %d", addr->sa_family); in __svc_print_addr()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/ |
D | linux-sysctl.c | 107 len = snprintf(buf, sizeof(buf), "%llu\n", obd_memory_sum()); in proc_memory_alloc() 131 len = snprintf(buf, sizeof(buf), "%llu\n", obd_pages_sum()); in proc_pages_alloc() 155 len = snprintf(buf, sizeof(buf), "%llu\n", obd_memory_max()); in proc_mem_max() 179 len = snprintf(buf, sizeof(buf), "%llu\n", obd_pages_max()); in proc_pages_max()
|
/linux-4.1.27/drivers/base/regmap/ |
D | regmap-debugfs.c | 35 return snprintf(NULL, 0, "%x", max_val); in regmap_calc_reg_len() 50 ret = snprintf(buf, PAGE_SIZE, "%s\n", map->dev->driver->name); in regmap_name_read_file() 221 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", in regmap_read_debugfs() 228 snprintf(buf + buf_pos, count - buf_pos, in regmap_read_debugfs() 368 snprintf(entry, PAGE_SIZE, "%x-%x", in regmap_reg_ranges_read_file() 373 snprintf(buf + buf_pos, count - buf_pos, in regmap_reg_ranges_read_file() 438 snprintf(buf + buf_pos, count - buf_pos, in regmap_access_read_file()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 156 return snprintf(buf, sz, format_string, \ 169 return snprintf(buf, sz, format_string, \ 179 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ 188 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \ 265 return snprintf(buf, FCOE_FCF_STATE_MAX_NAMELEN, "%s\n", name); in fcoe_enum_name_search() 280 return snprintf(buf, FCOE_MAX_MODENAME_LEN, in show_ctlr_mode() 380 return snprintf(buf, FCOE_CTLR_ENABLED_MAX_NAMELEN, in fcoe_enum_name_search() 699 snprintf(ctlr->work_q_name, sizeof(ctlr->work_q_name), in fcoe_ctlr_device_add() 706 snprintf(ctlr->devloss_work_q_name, in fcoe_ctlr_device_add()
|
/linux-4.1.27/arch/s390/kernel/ |
D | early.c | 118 hlen = snprintf(defsys_cmd, DEFSYS_CMD_SIZE, in create_kernel_nss() 128 hlen += snprintf(defsys_cmd + hlen, DEFSYS_CMD_SIZE - hlen, in create_kernel_nss() 133 snprintf(defsys_cmd + hlen, DEFSYS_CMD_SIZE - hlen, in create_kernel_nss() 136 snprintf(savesys_cmd, SAVESYS_CMD_SIZE, "SAVESYS %s \n IPL %s", in create_kernel_nss()
|
/linux-4.1.27/drivers/phy/ |
D | phy-sun4i-usb.c | 267 snprintf(name, sizeof(name), "usb%d_vbus", i); in sun4i_usb_phy_probe() 276 snprintf(name, sizeof(name), "usb%d_phy", i); in sun4i_usb_phy_probe() 286 snprintf(name, sizeof(name), "usb%d_reset", i); in sun4i_usb_phy_probe() 294 snprintf(name, sizeof(name), "pmu%d", i); in sun4i_usb_phy_probe()
|
/linux-4.1.27/arch/s390/crypto/ |
D | prng.c | 685 return snprintf(buf, PAGE_SIZE, "%u\n", prng_chunk_size); in prng_chunksize_show() 704 return snprintf(buf, PAGE_SIZE, "%llu\n", counter); in prng_counter_show() 713 return snprintf(buf, PAGE_SIZE, "%d\n", prng_errorflag); in prng_errorflag_show() 723 return snprintf(buf, PAGE_SIZE, "TDES\n"); in prng_mode_show() 725 return snprintf(buf, PAGE_SIZE, "SHA512\n"); in prng_mode_show() 748 return snprintf(buf, PAGE_SIZE, "%u\n", prng_reseed_limit); in prng_reseed_limit_show() 779 return snprintf(buf, PAGE_SIZE, "256\n"); in prng_strength_show()
|
/linux-4.1.27/arch/arm/mach-exynos/ |
D | pm_domains.c | 147 snprintf(clk_name, sizeof(clk_name), "asb%d", i); in exynos4_pm_init_power_domain() 160 snprintf(clk_name, sizeof(clk_name), "clk%d", i); in exynos4_pm_init_power_domain() 164 snprintf(clk_name, sizeof(clk_name), "pclk%d", i); in exynos4_pm_init_power_domain()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_log.c | 147 snprintf(buffer, buflen, fmt_nodev, slevel, in esas2r_log_master() 150 snprintf(buffer, buflen, fmt_dev, slevel, in esas2r_log_master()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | mcdi_mon.c | 461 snprintf(name, sizeof(name), "%s%u_input", in efx_mcdi_mon_probe() 467 snprintf(name, sizeof(name), "%s%u_min", in efx_mcdi_mon_probe() 474 snprintf(name, sizeof(name), "%s%u_max", in efx_mcdi_mon_probe() 484 snprintf(name, sizeof(name), "%s%u_crit", in efx_mcdi_mon_probe() 492 snprintf(name, sizeof(name), "%s%u_alarm", in efx_mcdi_mon_probe() 499 snprintf(name, sizeof(name), "%s%u_label", in efx_mcdi_mon_probe()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | class_obd.c | 123 snprintf(jobid, JOBSTATS_JOBID_SIZE, "%s.%u", in lustre_get_jobid() 365 snprintf(str, len - sizeof(*data), "%3d %s %s %s %s %d", in class_handle_ioctl() 458 len = snprintf(buf, sizeof(buf), "%#llx", u64val); in obd_init_checks() 485 len = snprintf(buf, sizeof(buf), "%#llx", u64val); in obd_init_checks() 490 len = snprintf(buf, sizeof(buf), "%llu", u64val); in obd_init_checks() 495 len = snprintf(buf, sizeof(buf), "%lld", u64val); in obd_init_checks()
|
/linux-4.1.27/drivers/firmware/efi/ |
D | cper.c | 99 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits() 101 len += snprintf(buf+len, sizeof(buf)-len, ", %s", str); in cper_print_bits() 264 n = snprintf(msg, len, "DIMM location: %s %s ", bank, device); in cper_dimm_err_location() 266 n = snprintf(msg, len, in cper_dimm_err_location() 404 snprintf(newpfx, sizeof(newpfx), "%s%s", pfx, INDENT_SP); in cper_estatus_print_section() 454 snprintf(newpfx, sizeof(newpfx), "%s%s", pfx, INDENT_SP); in cper_estatus_print()
|
/linux-4.1.27/kernel/locking/ |
D | lockdep_proc.c | 407 snprintf(buf, bufsiz, "%lld.%02d", (long long)div, (int)rem/10); in snprint_time() 458 snprintf(name, namelen, "%s", key_name); in seq_stats() 460 snprintf(name, namelen, "%s", cname); in seq_stats() 466 snprintf(name+namelen, 3, "#%d", class->name_version); in seq_stats() 470 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats() 511 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats() 526 snprintf(ip, sizeof(ip), "[<%p>]", in seq_stats()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_ctl.c | 139 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 160 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 191 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 2313 return snprintf(buf, PAGE_SIZE, "%02d.%02d.%02d.%02d\n", in _ctl_version_fw_show() 2337 return snprintf(buf, PAGE_SIZE, "%02d.%02d.%02d.%02d\n", in _ctl_version_bios_show() 2359 return snprintf(buf, PAGE_SIZE, "%03x.%02x\n", in _ctl_version_mpi_show() 2378 return snprintf(buf, 16, "%s\n", ioc->manu_pg0.ChipName); in _ctl_version_product_show() 2397 return snprintf(buf, PAGE_SIZE, "%08xh\n", in _ctl_version_nvdata_persistent_show() 2417 return snprintf(buf, PAGE_SIZE, "%08xh\n", in _ctl_version_nvdata_default_show() 2437 return snprintf(buf, 16, "%s\n", ioc->manu_pg0.BoardName); in _ctl_board_name_show() [all …]
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00leds.c | 132 snprintf(name, sizeof(name), "%s-%s::radio", in rt2x00leds_register() 143 snprintf(name, sizeof(name), "%s-%s::assoc", in rt2x00leds_register() 154 snprintf(name, sizeof(name), "%s-%s::quality", in rt2x00leds_register()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | topology.c | 58 snprintf(name, sizeof(name), "thread%d", i); in parse_core() 113 snprintf(name, sizeof(name), "cluster%d", i); in parse_cluster() 128 snprintf(name, sizeof(name), "core%d", i); in parse_cluster()
|
/linux-4.1.27/drivers/of/ |
D | of_pci.c | 203 snprintf(range_type, 4, " IO"); in of_pci_get_host_bridge_resources() 205 snprintf(range_type, 4, "MEM"); in of_pci_get_host_bridge_resources() 207 snprintf(range_type, 4, "err"); in of_pci_get_host_bridge_resources()
|
/linux-4.1.27/drivers/i2c/ |
D | i2c-mux.c | 139 snprintf(priv->adap.name, sizeof(priv->adap.name), in i2c_add_mux_adapter() 193 snprintf(symlink_name, sizeof(symlink_name), "channel-%u", chan_id); in i2c_add_mux_adapter() 208 snprintf(symlink_name, sizeof(symlink_name), "channel-%u", priv->chan_id); in i2c_del_mux_adapter()
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
D | stk1160-ac97.c | 107 snprintf(card->shortname, sizeof(card->shortname), in stk1160_ac97_register() 109 snprintf(card->longname, sizeof(card->longname), in stk1160_ac97_register()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | sprom.c | 37 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key() 39 snprintf(buf, len, "%s%s", prefix, name); in create_key() 41 snprintf(buf, len, "%s%s", name, postfix); in create_key() 43 snprintf(buf, len, "%s", name); in create_key() 441 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r4589() 489 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r45() 654 snprintf(prefix, sizeof(prefix), "pci/%u/%u/", in bcm47xx_get_sprom_ssb() 687 if (snprintf(nvram_var, sizeof(nvram_var), "devpath%d", i) <= 0) in bcm47xx_sprom_apply_prefix_alias() 693 snprintf(prefix, prefix_size, "%d:", i); in bcm47xx_sprom_apply_prefix_alias() 707 snprintf(prefix, sizeof(prefix), "pci/%u/%u/", in bcm47xx_get_sprom_bcma() [all …]
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-powermac.c | 304 snprintf(type, type_size, "MAC,%s", tmp); in i2c_powermac_get_type() 312 snprintf(type, type_size, "MAC,tas3001"); in i2c_powermac_get_type() 315 snprintf(type, type_size, "MAC,tas3004"); in i2c_powermac_get_type() 428 snprintf(adapter->name, sizeof(adapter->name), "%s %d", basename, in i2c_powermac_probe()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_ctl.c | 136 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 157 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 188 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug() 2349 return snprintf(buf, PAGE_SIZE, "%02d.%02d.%02d.%02d\n", in _ctl_version_fw_show() 2373 return snprintf(buf, PAGE_SIZE, "%02d.%02d.%02d.%02d\n", in _ctl_version_bios_show() 2395 return snprintf(buf, PAGE_SIZE, "%03x.%02x\n", in _ctl_version_mpi_show() 2414 return snprintf(buf, 16, "%s\n", ioc->manu_pg0.ChipName); in _ctl_version_product_show() 2432 return snprintf(buf, PAGE_SIZE, "%08xh\n", in _ctl_version_nvdata_persistent_show() 2452 return snprintf(buf, PAGE_SIZE, "%08xh\n", in _ctl_version_nvdata_default_show() 2472 return snprintf(buf, 16, "%s\n", ioc->manu_pg0.BoardName); in _ctl_board_name_show() [all …]
|
/linux-4.1.27/drivers/power/ |
D | wm831x_power.c | 510 snprintf(power->wall_name, sizeof(power->wall_name), in wm831x_power_probe() 512 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe() 514 snprintf(power->usb_name, sizeof(power->wall_name), in wm831x_power_probe() 517 snprintf(power->wall_name, sizeof(power->wall_name), in wm831x_power_probe() 519 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe() 521 snprintf(power->usb_name, sizeof(power->wall_name), in wm831x_power_probe()
|
D | wm831x_backup.c | 186 snprintf(devdata->name, sizeof(devdata->name), in wm831x_backup_probe() 189 snprintf(devdata->name, sizeof(devdata->name), in wm831x_backup_probe()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_gs.c | 631 snprintf(snn, size, "%s FW:v%s DVR:v%s", ha->model_number, in qla2x00_get_sym_node_name() 634 snprintf(snn, size, in qla2x00_get_sym_node_name() 1307 snprintf(eiter->a.manufacturer, sizeof(eiter->a.manufacturer), in qla2x00_fdmi_rhba() 1325 snprintf(eiter->a.serial_num, sizeof(eiter->a.serial_num), in qla2x00_fdmi_rhba() 1339 snprintf(eiter->a.model, sizeof(eiter->a.model), in qla2x00_fdmi_rhba() 1352 snprintf(eiter->a.model_desc, sizeof(eiter->a.model_desc), in qla2x00_fdmi_rhba() 1366 snprintf(eiter->a.hw_version, sizeof(eiter->a.hw_version), in qla2x00_fdmi_rhba() 1375 snprintf(eiter->a.hw_version, sizeof(eiter->a.hw_version), in qla2x00_fdmi_rhba() 1389 snprintf(eiter->a.driver_version, sizeof(eiter->a.driver_version), in qla2x00_fdmi_rhba() 1402 snprintf(eiter->a.orom_version, sizeof(eiter->a.orom_version), in qla2x00_fdmi_rhba() [all …]
|
/linux-4.1.27/drivers/pps/clients/ |
D | pps-ldisc.c | 67 snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index); in pps_tty_open() 68 snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index); in pps_tty_open()
|
/linux-4.1.27/net/bluetooth/ |
D | selftest.c | 208 snprintf(test_ecdh_buffer, sizeof(test_ecdh_buffer), in test_ecdh() 211 snprintf(test_ecdh_buffer, sizeof(test_ecdh_buffer), "FAIL\n"); in test_ecdh()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/ |
D | leds.c | 207 snprintf(name, sizeof(name), in rtl8187_leds_init() 214 snprintf(name, sizeof(name), in rtl8187_leds_init() 221 snprintf(name, sizeof(name), in rtl8187_leds_init()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | mesh.c | 169 return snprintf(buf, 12, "0x%X\n", le32_to_cpu(mesh_access.data[0])); in lbs_anycast_get() 221 return snprintf(buf, 10, "%d\n", retry_limit); in lbs_prb_rsp_limit_get() 267 return snprintf(buf, 5, "0x%X\n", !!priv->mesh_dev); in lbs_mesh_get() 366 return snprintf(buf, 12, "%d\n", le32_to_cpu(defs.bootflag)); in bootflag_get() 416 return snprintf(buf, 12, "%d\n", defs.boottime); in boottime_get() 475 return snprintf(buf, 12, "%d\n", le16_to_cpu(defs.channel)); in channel_get() 600 return snprintf(buf, 5, "%d\n", defs.meshie.val.active_protocol_id); in protocol_id_get() 661 return snprintf(buf, 5, "%d\n", defs.meshie.val.active_metric_id); in metric_id_get() 722 return snprintf(buf, 5, "%d\n", defs.meshie.val.mesh_capability); in capability_get()
|
/linux-4.1.27/fs/gfs2/ |
D | sys.c | 64 return snprintf(buf, PAGE_SIZE, "%u:%u\n", in id_show() 70 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); in fsname_show() 91 return snprintf(buf, PAGE_SIZE, "%pUB\n", uuid); in uuid_show() 99 return snprintf(buf, PAGE_SIZE, "%d\n", frozen); in freeze_show() 132 return snprintf(buf, PAGE_SIZE, "%u\n", b); in withdraw_show() 527 return snprintf(buf, PAGE_SIZE, "%u %u\n", in quota_scale_show() 577 return snprintf(buf, PAGE_SIZE, "%u\n", sdp->sd_tune.gt_##name); \
|
/linux-4.1.27/drivers/isdn/gigaset/ |
D | i4l.c | 263 snprintf(commands[AT_DIAL], l, in command_from_LL() 269 snprintf(commands[AT_DIAL], l, in command_from_LL() 279 snprintf(commands[AT_MSN], l, "^SMSN=%s\r", in command_from_LL() 302 snprintf(commands[AT_PROTO], 9, "^SBPR=%u\r", bcs->proto2); in command_from_LL() 307 snprintf(commands[AT_ISO], 9, "^SISO=%u\r", in command_from_LL() 633 if (snprintf(iif->id, sizeof iif->id, "%s_%u", isdnid, cs->minor_index) in gigaset_isdn_regdev()
|
/linux-4.1.27/arch/tile/kernel/ |
D | stack.c | 96 snprintf(fault_buf, sizeof(fault_buf), in valid_fault_handler() 316 rc = snprintf(p, remaining, "+%#lx/%#lx ", in describe_addr() 319 snprintf(p + rc, remaining - rc, "[%s] ", modname); in describe_addr() 332 snprintf(buf, bufsize, "[unmapped address] "); in describe_addr() 349 snprintf(buf + namelen, remaining, "[%lx+%lx] ", in describe_addr()
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-twl6030-usb.c | 193 ret = snprintf(buf, PAGE_SIZE, "vbus\n"); in twl6030_usb_vbus_show() 196 ret = snprintf(buf, PAGE_SIZE, "id\n"); in twl6030_usb_vbus_show() 199 ret = snprintf(buf, PAGE_SIZE, "none\n"); in twl6030_usb_vbus_show() 202 ret = snprintf(buf, PAGE_SIZE, "UNKNOWN\n"); in twl6030_usb_vbus_show()
|
/linux-4.1.27/drivers/base/ |
D | cpu.c | 230 int n = snprintf(buf, PAGE_SIZE-2, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max() 257 n += snprintf(&buf[n], len - n, "%d", nr_cpu_ids); in print_cpus_offline() 259 n += snprintf(&buf[n], len - n, "%d-%d", in print_cpus_offline() 263 n += snprintf(&buf[n], len - n, "\n"); in print_cpus_offline()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-device.c | 53 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s %s", in v4l2_device_register() 83 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), in v4l2_device_set_name() 86 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), in v4l2_device_set_name()
|
/linux-4.1.27/drivers/firmware/ |
D | memmap.c | 377 return snprintf(buf, PAGE_SIZE, "0x%llx\n", in start_show() 383 return snprintf(buf, PAGE_SIZE, "0x%llx\n", in end_show() 389 return snprintf(buf, PAGE_SIZE, "%s\n", entry->type); in type_show()
|
/linux-4.1.27/drivers/bluetooth/ |
D | btmrvl_debugfs.c | 67 ret = snprintf(buf, sizeof(buf) - 1, "%d\n", in btmrvl_hscfgcmd_read() 114 ret = snprintf(buf, sizeof(buf) - 1, "%d\n", priv->btmrvl_dev.pscmd); in btmrvl_pscmd_read() 158 ret = snprintf(buf, sizeof(buf) - 1, "%d\n", priv->btmrvl_dev.hscmd); in btmrvl_hscmd_read()
|
/linux-4.1.27/drivers/tty/ |
D | nozomi.c | 75 snprintf(tmp, sizeof(tmp), ##args); \ 113 snprintf(tbuf, len__ > TMP_BUF_MAX ? TMP_BUF_MAX : len__, "%s", buf__);\ 876 interrupt & MDM_DL1 ? p += snprintf(p, TMP_BUF_MAX, "MDM_DL1 ") : NULL; in interrupt2str() 877 interrupt & MDM_DL2 ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 880 interrupt & MDM_UL1 ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 882 interrupt & MDM_UL2 ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 885 interrupt & DIAG_DL1 ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 887 interrupt & DIAG_DL2 ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 890 interrupt & DIAG_UL ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() 893 interrupt & APP1_DL ? p += snprintf(p, TMP_BUF_MAX - (p - buf), in interrupt2str() [all …]
|
/linux-4.1.27/drivers/connector/ |
D | cn_queue.c | 53 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); in cn_queue_alloc_callback_entry() 134 snprintf(dev->name, sizeof(dev->name), "%s", name); in cn_queue_alloc_dev()
|
/linux-4.1.27/drivers/regulator/ |
D | wm831x-ldo.c | 251 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); in wm831x_gp_ldo_probe() 254 snprintf(ldo->supply_name, sizeof(ldo->supply_name), in wm831x_gp_ldo_probe() 460 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); in wm831x_aldo_probe() 463 snprintf(ldo->supply_name, sizeof(ldo->supply_name), in wm831x_aldo_probe() 604 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); in wm831x_alive_ldo_probe() 607 snprintf(ldo->supply_name, sizeof(ldo->supply_name), in wm831x_alive_ldo_probe()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | debugfs.c | 504 pos += snprintf(buf, PAGE_SIZE, "0"); in mwifiex_regrdwr_read() 512 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", in mwifiex_regrdwr_read() 528 pos += snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", saved_reg_type, in mwifiex_regrdwr_read() 604 pos = snprintf(buf, PAGE_SIZE, "0"); in mwifiex_rdeeprom_read() 616 pos = snprintf(buf, PAGE_SIZE, "%d %d ", saved_offset, saved_bytes); in mwifiex_rdeeprom_read() 711 pos = snprintf(buf, PAGE_SIZE, "%u 0x%x 0x%x\n", hscfg.conditions, in mwifiex_hscfg_read()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes.c | 861 return snprintf(buf, PAGE_SIZE, "%x:%x\n", bus_number, devfn); in nes_show_adapter() 886 return snprintf(buf, PAGE_SIZE, "0x%x\n", eeprom_cmd); in nes_show_ee_cmd() 924 return snprintf(buf, PAGE_SIZE, "0x%x\n", eeprom_data); in nes_show_ee_data() 962 return snprintf(buf, PAGE_SIZE, "0x%x\n", flash_cmd); in nes_show_flash_cmd() 1000 return snprintf(buf, PAGE_SIZE, "0x%x\n", flash_data); in nes_show_flash_data() 1026 return snprintf(buf, PAGE_SIZE, "0x%x\n", sysfs_nonidx_addr); in nes_show_nonidx_addr() 1054 return snprintf(buf, PAGE_SIZE, "0x%x\n", nonidx_data); in nes_show_nonidx_data() 1080 return snprintf(buf, PAGE_SIZE, "0x%x\n", sysfs_idx_addr); in nes_show_idx_addr() 1108 return snprintf(buf, PAGE_SIZE, "0x%x\n", idx_data); in nes_show_idx_data() 1150 return snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta_value); in nes_show_wqm_quanta()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 517 snprintf(new_name, sizeof(new_name), "ethernet-phy@%x", phy_addr); in octeon_fdt_set_phy() 570 snprintf(name_buffer, sizeof(name_buffer), "ethernet@%x", p); in octeon_fdt_pip_port() 596 snprintf(name_buffer, sizeof(name_buffer), "interface@%d", idx); in octeon_fdt_pip_iface() 647 snprintf(name_buffer, sizeof(name_buffer), in octeon_prune_device_tree() 687 snprintf(name_buffer, sizeof(name_buffer), in octeon_prune_device_tree() 717 snprintf(name_buffer, sizeof(name_buffer), in octeon_prune_device_tree() 744 snprintf(name_buffer, sizeof(name_buffer), in octeon_prune_device_tree()
|
/linux-4.1.27/drivers/misc/cxl/ |
D | debugfs.c | 62 snprintf(buf, 32, "card%i", adapter->adapter_num); in cxl_debugfs_adapter_add() 91 snprintf(buf, 32, "psl%i.%i", afu->adapter->adapter_num, afu->slice); in cxl_debugfs_afu_add()
|
/linux-4.1.27/sound/firewire/dice/ |
D | dice-midi.c | 99 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names() 127 snprintf(rmidi->name, sizeof(rmidi->name), in snd_dice_create_midi()
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_sysfs.c | 29 return snprintf(page, PAGE_SIZE-1, "%s\n", ptp->info->name); in clock_name_show() 38 return snprintf(page, PAGE_SIZE-1, "%d\n", ptp->info->var); \ 121 cnt = snprintf(page, PAGE_SIZE, "%u %lld %u\n", in extts_fifo_show() 210 return snprintf(page, PAGE_SIZE, "%u %u\n", func, chan); in ptp_pin_show()
|
/linux-4.1.27/samples/bpf/ |
D | tracex1_user.c | 12 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main()
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_midi.c | 120 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names() 138 snprintf(rmidi->name, sizeof(rmidi->name), in snd_efw_create_midi_devices()
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_midi.c | 119 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names() 138 snprintf(rmidi->name, sizeof(rmidi->name), in snd_bebob_create_midi_devices()
|
/linux-4.1.27/drivers/ssb/ |
D | sprom.c | 29 pos += snprintf(buf + pos, buf_len - pos - 1, in sprom2hex() 31 pos += snprintf(buf + pos, buf_len - pos - 1, "\n"); in sprom2hex()
|
/linux-4.1.27/drivers/cpuidle/ |
D | driver.c | 198 snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); in poll_idle_init() 199 snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE"); in poll_idle_init()
|
/linux-4.1.27/tools/power/cpupower/bench/ |
D | parse.c | 94 snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log", in prepare_output() 97 snprintf(filename, len - 1, "%s/benchmark_%li.log", in prepare_output()
|