/linux-4.1.27/drivers/media/common/siano/ |
H A D | smsdvb-debugfs.c | 63 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 65 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 67 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 69 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 71 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 73 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 75 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 77 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 79 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 81 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 83 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 85 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 87 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 89 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 91 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 93 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 95 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 97 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 99 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 101 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 103 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 105 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 107 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 109 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 111 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 114 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 116 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 118 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 120 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 122 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 124 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 126 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 128 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 130 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 132 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 134 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 136 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 138 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 140 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 142 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 144 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_dvb_stats() 166 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 168 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 171 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 173 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 175 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 177 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 179 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 181 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 183 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 185 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 187 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 189 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 191 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 193 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 195 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 197 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 199 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 201 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 209 n += snprintf(&buf[n], PAGE_SIZE - n, "\nLayer %d\n", i); smsdvb_print_isdb_stats() 210 n += snprintf(&buf[n], PAGE_SIZE - n, "\tcode_rate = %d\t", smsdvb_print_isdb_stats() 212 n += snprintf(&buf[n], PAGE_SIZE - n, "constellation = %d\n", smsdvb_print_isdb_stats() 214 n += snprintf(&buf[n], PAGE_SIZE - n, "\tber = %-5d\t", smsdvb_print_isdb_stats() 216 n += snprintf(&buf[n], PAGE_SIZE - n, "\tber_error_count = %-5d\t", smsdvb_print_isdb_stats() 218 n += snprintf(&buf[n], PAGE_SIZE - n, "ber_bit_count = %-5d\n", smsdvb_print_isdb_stats() 220 n += snprintf(&buf[n], PAGE_SIZE - n, "\tpre_ber = %-5d\t", smsdvb_print_isdb_stats() 222 n += snprintf(&buf[n], PAGE_SIZE - n, "\tts_per = %-5d\n", smsdvb_print_isdb_stats() 224 n += snprintf(&buf[n], PAGE_SIZE - n, "\terror_ts_packets = %-5d\t", smsdvb_print_isdb_stats() 226 n += snprintf(&buf[n], PAGE_SIZE - n, "total_ts_packets = %-5d\t", smsdvb_print_isdb_stats() 228 n += snprintf(&buf[n], PAGE_SIZE - n, "ti_ldepth_i = %d\n", smsdvb_print_isdb_stats() 230 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats() 233 n += snprintf(&buf[n], PAGE_SIZE - n, "tmcc_errors = %d\n", smsdvb_print_isdb_stats() 256 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 258 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 261 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 263 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 265 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 267 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 269 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 271 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 273 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 275 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 277 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 279 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 281 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 283 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 285 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 287 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 289 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 291 n += snprintf(&buf[n], PAGE_SIZE - n, "segment_number = %d\t", smsdvb_print_isdb_stats_ex() 293 n += snprintf(&buf[n], PAGE_SIZE - n, "tune_bw = %d\n", smsdvb_print_isdb_stats_ex() 301 n += snprintf(&buf[n], PAGE_SIZE - n, "\nLayer %d\n", i); smsdvb_print_isdb_stats_ex() 302 n += snprintf(&buf[n], PAGE_SIZE - n, "\tcode_rate = %d\t", smsdvb_print_isdb_stats_ex() 304 n += snprintf(&buf[n], PAGE_SIZE - n, "constellation = %d\n", smsdvb_print_isdb_stats_ex() 306 n += snprintf(&buf[n], PAGE_SIZE - n, "\tber = %-5d\t", smsdvb_print_isdb_stats_ex() 308 n += snprintf(&buf[n], PAGE_SIZE - n, "\tber_error_count = %-5d\t", smsdvb_print_isdb_stats_ex() 310 n += snprintf(&buf[n], PAGE_SIZE - n, "ber_bit_count = %-5d\n", smsdvb_print_isdb_stats_ex() 312 n += snprintf(&buf[n], PAGE_SIZE - n, "\tpre_ber = %-5d\t", smsdvb_print_isdb_stats_ex() 314 n += snprintf(&buf[n], PAGE_SIZE - n, "\tts_per = %-5d\n", smsdvb_print_isdb_stats_ex() 316 n += snprintf(&buf[n], PAGE_SIZE - n, "\terror_ts_packets = %-5d\t", smsdvb_print_isdb_stats_ex() 318 n += snprintf(&buf[n], PAGE_SIZE - n, "total_ts_packets = %-5d\t", smsdvb_print_isdb_stats_ex() 320 n += snprintf(&buf[n], PAGE_SIZE - n, "ti_ldepth_i = %d\n", smsdvb_print_isdb_stats_ex() 322 n += snprintf(&buf[n], PAGE_SIZE - n, smsdvb_print_isdb_stats_ex() 325 n += snprintf(&buf[n], PAGE_SIZE - n, "tmcc_errors = %d\n", smsdvb_print_isdb_stats_ex()
|
/linux-4.1.27/samples/bpf/ |
H A D | tracex1_user.c | 12 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main()
|
H A D | sockex1_user.c | 15 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main()
|
H A D | sockex2_user.c | 20 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main()
|
H A D | tracex4_user.c | 56 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main()
|
H A D | tracex2_user.c | 64 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_debug.c | 31 len += snprintf(page + len, count - len, "%s\n", DRIVERVERSION); proc_get_drv_version() 102 len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(padapter, proc_get_read_addr)); proc_get_read_reg() 105 len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16(padapter, proc_get_read_addr)); proc_get_read_reg() 108 len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32(padapter, proc_get_read_addr)); proc_get_read_reg() 111 len += snprintf(page + len, count - len, "error read length=%d\n", proc_get_read_len); proc_get_read_reg() 156 len += snprintf(page + len, count - len, "fwstate=0x%x\n", get_fwstate(pmlmepriv)); 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%x\n", proc_get_sec_info() 191 len += snprintf(page + len, count - len, "pmlmeinfo->state=0x%x\n", pmlmeinfo->state); proc_get_mlmext_state() 207 len += snprintf(page + len, count - len, "qos_option=%d\n", pmlmepriv->qospriv.qos_option); proc_get_qos_option() 222 len += snprintf(page + len, count - len, "ht_option=%d\n", pmlmepriv->htpriv.ht_option); proc_get_ht_option() 236 len += snprintf(page + len, count - len, "cur_ch=%d, cur_bw=%d, cur_ch_offset=%d\n", proc_get_rf_info() 260 len += snprintf(page + len, count - len, "SSID=%s\n", cur_network->network.Ssid.Ssid); proc_get_ap_info() 261 len += snprintf(page + len, count - len, "sta's macaddr:%pM\n", psta->hwaddr); proc_get_ap_info() 262 len += snprintf(page + len, count - len, "cur_channel=%d, cur_bwmode=%d, cur_ch_offset=%d\n", pmlmeext->cur_channel, pmlmeext->cur_bwmode, pmlmeext->cur_ch_offset); proc_get_ap_info() 263 len += snprintf(page + len, count - len, "rtsen=%d, cts2slef=%d\n", psta->rtsen, psta->cts2self); proc_get_ap_info() 264 len += snprintf(page + len, count - len, "state=0x%x, aid=%d, macid=%d, raid=%d\n", psta->state, psta->aid, psta->mac_id, psta->raid); proc_get_ap_info() 265 len += snprintf(page + len, count - len, "qos_en=%d, ht_en=%d, init_rate=%d\n", psta->qos_option, psta->htpriv.ht_option, psta->init_rate); proc_get_ap_info() 266 len += snprintf(page + len, count - len, "bwmode=%d, ch_offset=%d, sgi=%d\n", psta->htpriv.bwmode, psta->htpriv.ch_offset, psta->htpriv.sgi); proc_get_ap_info() 267 len += snprintf(page + len, count - len, "ampdu_enable = %d\n", psta->htpriv.ampdu_enable); proc_get_ap_info() 268 len += snprintf(page + len, count - len, "agg_enable_bitmap=%x, candidate_tid_bitmap=%x\n", psta->htpriv.agg_enable_bitmap, psta->htpriv.candidate_tid_bitmap); proc_get_ap_info() 273 len += snprintf(page + len, count - len, "tid=%d, indicate_seq=%d\n", i, preorder_ctrl->indicate_seq); proc_get_ap_info() 276 len += snprintf(page + len, count - len, "can't get sta's macaddr, cur_network's macaddr: %pM\n", cur_network->network.MacAddress); proc_get_ap_info() 291 len += snprintf(page + len, count - len, "bSurpriseRemoved=%d, bDriverStopped=%d\n", proc_get_adapter_state() 308 len += snprintf(page + len, count - len, "free_xmitbuf_cnt=%d, free_xmitframe_cnt=%d, free_ext_xmitbuf_cnt=%d, free_recvframe_cnt=%d\n", proc_get_trx_info() 310 len += snprintf(page + len, count - len, "rx_urb_pending_cn=%d\n", precvpriv->rx_pending_cnt); proc_get_trx_info() 325 len += snprintf(page + len, count - len, "\n======= MAC REG =======\n"); proc_get_mac_reg_dump1() 329 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_mac_reg_dump1() 330 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_mac_reg_dump1() 332 len += snprintf(page + len, count - len, "\n"); proc_get_mac_reg_dump1() 348 len += snprintf(page + len, count - len, "\n======= MAC REG =======\n"); proc_get_mac_reg_dump2() 352 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_mac_reg_dump2() 353 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_mac_reg_dump2() 355 len += snprintf(page + len, count - len, "\n"); proc_get_mac_reg_dump2() 371 len += snprintf(page + len, count - len, "\n======= MAC REG =======\n"); proc_get_mac_reg_dump3() 375 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_mac_reg_dump3() 376 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_mac_reg_dump3() 378 len += snprintf(page + len, count - len, "\n"); proc_get_mac_reg_dump3() 394 len += snprintf(page + len, count - len, "\n======= BB REG =======\n"); proc_get_bb_reg_dump1() 397 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_bb_reg_dump1() 398 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_bb_reg_dump1() 400 len += snprintf(page + len, count - len, "\n"); proc_get_bb_reg_dump1() 415 len += snprintf(page + len, count - len, "\n======= BB REG =======\n"); proc_get_bb_reg_dump2() 418 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_bb_reg_dump2() 419 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_bb_reg_dump2() 421 len += snprintf(page + len, count - len, "\n"); proc_get_bb_reg_dump2() 436 len += snprintf(page + len, count - len, "\n======= BB REG =======\n"); proc_get_bb_reg_dump3() 439 len += snprintf(page + len, count - len, "0x%02x", i); proc_get_bb_reg_dump3() 440 len += snprintf(page + len, count - len, " 0x%08x ", usb_read32(padapter, i)); proc_get_bb_reg_dump3() 442 len += snprintf(page + len, count - len, "\n"); proc_get_bb_reg_dump3() 458 len += snprintf(page + len, count - len, "\n======= RF REG =======\n"); proc_get_rf_reg_dump1() 460 len += snprintf(page + len, count - len, "\nRF_Path(%x)\n", path); proc_get_rf_reg_dump1() 464 len += snprintf(page + len, count - len, "0x%02x ", i); proc_get_rf_reg_dump1() 465 len += snprintf(page + len, count - len, " 0x%08x ", value); proc_get_rf_reg_dump1() 467 len += snprintf(page + len, count - len, "\n"); proc_get_rf_reg_dump1() 483 len += snprintf(page + len, count - len, "\n======= RF REG =======\n"); proc_get_rf_reg_dump2() 485 len += snprintf(page + len, count - len, "\nRF_Path(%x)\n", path); proc_get_rf_reg_dump2() 489 len += snprintf(page + len, count - len, "0x%02x ", i); proc_get_rf_reg_dump2() 490 len += snprintf(page + len, count - len, " 0x%08x ", value); proc_get_rf_reg_dump2() 492 len += snprintf(page + len, count - len, "\n"); proc_get_rf_reg_dump2() 508 len += snprintf(page + len, count - len, "\n======= RF REG =======\n"); proc_get_rf_reg_dump3() 510 len += snprintf(page + len, count - len, "\nRF_Path(%x)\n", path); proc_get_rf_reg_dump3() 514 len += snprintf(page + len, count - len, "0x%02x ", i); proc_get_rf_reg_dump3() 515 len += snprintf(page + len, count - len, " 0x%08x ", value); proc_get_rf_reg_dump3() 517 len += snprintf(page + len, count - len, "\n"); proc_get_rf_reg_dump3() 535 len += snprintf(page + len, count - len, "\n======= RF REG =======\n"); proc_get_rf_reg_dump4() 537 len += snprintf(page + len, count - len, "\nRF_Path(%x)\n", path); proc_get_rf_reg_dump4() 541 len += snprintf(page + len, count - len, "0x%02x ", i); proc_get_rf_reg_dump4() 542 len += snprintf(page + len, count - len, " 0x%08x ", value); proc_get_rf_reg_dump4() 544 len += snprintf(page + len, count - len, "\n"); proc_get_rf_reg_dump4() 560 len = snprintf(page + len, count, proc_get_rx_signal() 619 len += snprintf(page + len, count - len, proc_get_ht_enable() 660 len += snprintf(page + len, count - len, proc_get_cbw40_enable() 701 len += snprintf(page + len, count - len, proc_get_ampdu_enable() 741 len += snprintf(page + len, count - len, proc_get_two_path_rssi() 762 len += snprintf(page + len, count - len, proc_get_rx_stbc() 848 len += snprintf(page + len, count - len, "sta_dz_bitmap=0x%x, tim_bitmap=0x%x\n", pstapriv->sta_dz_bitmap, pstapriv->tim_bitmap); proc_get_all_sta_info() 861 len += snprintf(page + len, count - len, "sta's macaddr: %pM\n", psta->hwaddr); proc_get_all_sta_info() 862 len += snprintf(page + len, count - len, "rtsen=%d, cts2slef=%d\n", psta->rtsen, psta->cts2self); proc_get_all_sta_info() 863 len += snprintf(page + len, count - len, "state=0x%x, aid=%d, macid=%d, raid=%d\n", psta->state, psta->aid, psta->mac_id, psta->raid); proc_get_all_sta_info() 864 len += snprintf(page + len, count - len, "qos_en=%d, ht_en=%d, init_rate=%d\n", psta->qos_option, psta->htpriv.ht_option, psta->init_rate); proc_get_all_sta_info() 865 len += snprintf(page + len, count - len, "bwmode=%d, ch_offset=%d, sgi=%d\n", psta->htpriv.bwmode, psta->htpriv.ch_offset, psta->htpriv.sgi); proc_get_all_sta_info() 866 len += snprintf(page + len, count - len, "ampdu_enable = %d\n", psta->htpriv.ampdu_enable); proc_get_all_sta_info() 867 len += snprintf(page + len, count - len, "agg_enable_bitmap=%x, candidate_tid_bitmap=%x\n", psta->htpriv.agg_enable_bitmap, psta->htpriv.candidate_tid_bitmap); proc_get_all_sta_info() 868 len += snprintf(page + len, count - len, "sleepq_len=%d\n", psta->sleepq_len); proc_get_all_sta_info() 869 len += snprintf(page + len, count - len, "capability=0x%x\n", psta->capability); proc_get_all_sta_info() 870 len += snprintf(page + len, count - len, "flags=0x%x\n", psta->flags); proc_get_all_sta_info() 871 len += snprintf(page + len, count - len, "wpa_psk=0x%x\n", psta->wpa_psk); proc_get_all_sta_info() 872 len += snprintf(page + len, count - len, "wpa2_group_cipher=0x%x\n", psta->wpa2_group_cipher); proc_get_all_sta_info() 873 len += snprintf(page + len, count - len, "wpa2_pairwise_cipher=0x%x\n", psta->wpa2_pairwise_cipher); proc_get_all_sta_info() 874 len += snprintf(page + len, count - len, "qos_info=0x%x\n", psta->qos_info); proc_get_all_sta_info() 875 len += snprintf(page + len, count - len, "dot118021XPrivacy=0x%x\n", psta->dot118021XPrivacy); proc_get_all_sta_info() 880 len += snprintf(page + len, count - len, "tid=%d, indicate_seq=%d\n", j, preorder_ctrl->indicate_seq); proc_get_all_sta_info() 938 len += snprintf(page + len, count - len, "The rx cnt of channel %3d = %d\n", proc_get_best_channel() 942 len += snprintf(page + len, count - len, "best_channel_5G = %d\n", best_channel_5G); proc_get_best_channel() 943 len += snprintf(page + len, count - len, "best_channel_24G = %d\n", best_channel_24G); proc_get_best_channel()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-picolcd_debugfs.c | 416 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", picolcd_debug_out_report() 427 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 430 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); picolcd_debug_out_report() 435 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 438 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); picolcd_debug_out_report() 443 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 446 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); picolcd_debug_out_report() 451 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 454 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", picolcd_debug_out_report() 460 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 467 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 474 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 481 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 484 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_out_report() 487 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_out_report() 492 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 495 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_out_report() 498 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_out_report() 501 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_out_report() 503 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_out_report() 507 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_out_report() 514 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 519 snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x\n", picolcd_debug_out_report() 523 snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x%02x\n", picolcd_debug_out_report() 527 snprintf(buff, BUFF_SZ, "\tNot supported\n"); picolcd_debug_out_report() 534 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 539 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_out_report() 542 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_out_report() 545 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", picolcd_debug_out_report() 548 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); picolcd_debug_out_report() 551 snprintf(buff, BUFF_SZ, "\tNot supported\n"); picolcd_debug_out_report() 558 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 563 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_out_report() 566 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_out_report() 569 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_out_report() 571 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_out_report() 575 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_out_report() 579 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", picolcd_debug_out_report() 582 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); picolcd_debug_out_report() 585 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_out_report() 587 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_out_report() 591 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_out_report() 595 snprintf(buff, BUFF_SZ, "\tNot supported\n"); picolcd_debug_out_report() 603 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 606 snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", picolcd_debug_out_report() 612 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 617 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 622 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 627 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 632 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 635 snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", picolcd_debug_out_report() 641 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", picolcd_debug_out_report() 669 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 673 snprintf(buff, BUFF_SZ, "\tError code 0x%02x (%s) in reply to report 0x%02x\n", picolcd_debug_raw_event() 676 snprintf(buff, BUFF_SZ, "\tError code 0x%02x in reply to report 0x%02x\n", picolcd_debug_raw_event() 682 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 686 snprintf(buff, BUFF_SZ, "\tNo key pressed\n"); picolcd_debug_raw_event() 688 snprintf(buff, BUFF_SZ, "\tOne key pressed: 0x%02x (%d)\n", picolcd_debug_raw_event() 691 snprintf(buff, BUFF_SZ, "\tTwo keys pressed: 0x%02x (%d), 0x%02x (%d)\n", picolcd_debug_raw_event() 697 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 701 snprintf(buff, BUFF_SZ, "\tUnexpectedly 0 data length\n"); picolcd_debug_raw_event() 704 snprintf(buff, BUFF_SZ, "\tData length: %d\n\tIR Data: ", picolcd_debug_raw_event() 710 snprintf(buff, BUFF_SZ, "\tOverflowing data length: %d\n", picolcd_debug_raw_event() 717 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 720 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_raw_event() 723 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_raw_event() 726 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_raw_event() 729 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_raw_event() 734 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_raw_event() 740 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 745 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", picolcd_debug_raw_event() 748 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); picolcd_debug_raw_event() 751 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_raw_event() 753 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_raw_event() 757 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_raw_event() 761 snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", picolcd_debug_raw_event() 764 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); picolcd_debug_raw_event() 767 snprintf(buff, BUFF_SZ, "\tNo data\n"); picolcd_debug_raw_event() 769 snprintf(buff, BUFF_SZ, "\tData: "); picolcd_debug_raw_event() 773 snprintf(buff, BUFF_SZ, "\tData overflowed\n"); picolcd_debug_raw_event() 777 snprintf(buff, BUFF_SZ, "\tNot supported\n"); picolcd_debug_raw_event() 782 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 785 snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", picolcd_debug_raw_event() 790 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 796 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 802 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 808 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 811 snprintf(buff, BUFF_SZ, "\tSerial: 0x%02x%02x%02x%02x\n", picolcd_debug_raw_event() 814 snprintf(buff, BUFF_SZ, "\tType: 0x%02x\n", picolcd_debug_raw_event() 819 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 822 snprintf(buff, BUFF_SZ, "\tTotal splash space: %d\n", picolcd_debug_raw_event() 825 snprintf(buff, BUFF_SZ, "\tUsed splash space: %d\n", picolcd_debug_raw_event() 830 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event() 833 snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", picolcd_debug_raw_event() 838 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", picolcd_debug_raw_event()
|
H A D | hid-lenovo.c | 193 return snprintf(buf, PAGE_SIZE, "%u\n", cptkbd_data->fn_lock); attr_fn_lock_show_cptkbd() 223 return snprintf(buf, PAGE_SIZE, "%u\n", attr_sensitivity_show_cptkbd() 313 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->press_to_select); attr_press_to_select_show_tpkbd() 343 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->dragging); attr_dragging_show_tpkbd() 373 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->release_to_select); attr_release_to_select_show_tpkbd() 403 return snprintf(buf, PAGE_SIZE, "%u\n", data_pointer->select_right); attr_select_right_show_tpkbd() 433 return snprintf(buf, PAGE_SIZE, "%u\n", attr_sensitivity_show_tpkbd() 462 return snprintf(buf, PAGE_SIZE, "%u\n", attr_press_speed_show_tpkbd() 615 snprintf(name_mute, name_sz, "%s:amber:mute", dev_name(dev)); lenovo_probe_tpkbd() 616 snprintf(name_micmute, name_sz, "%s:amber:micmute", dev_name(dev)); lenovo_probe_tpkbd()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 205 len += snprintf(buf + len, sizeof(buf) - len, read_file_beacon() 210 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", read_file_beacon() 213 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", read_file_beacon() 217 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", read_file_beacon() 221 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", read_file_beacon() 225 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", read_file_beacon() 229 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", read_file_beacon() 233 len += snprintf(buf + len, sizeof(buf) - len, read_file_beacon() 324 len += snprintf(buf + len, sizeof(buf) - len, read_file_debug() 328 len += snprintf(buf + len, sizeof(buf) - len, read_file_debug() 333 len += snprintf(buf + len, sizeof(buf) - len, read_file_debug() 387 len += snprintf(buf + len, sizeof(buf) - len, "antenna mode\t%d\n", read_file_antenna() 389 len += snprintf(buf + len, sizeof(buf) - len, "default antenna\t%d\n", read_file_antenna() 391 len += snprintf(buf + len, sizeof(buf) - len, "tx antenna\t%d\n", read_file_antenna() 394 len += snprintf(buf + len, sizeof(buf) - len, "\nANTENNA\t\tRX\tTX\n"); read_file_antenna() 396 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 400 len += snprintf(buf + len, sizeof(buf) - len, "[invalid]\t%d\t%d\n", read_file_antenna() 404 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 408 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 411 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 414 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 417 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 422 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 427 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 432 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 437 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 440 len += snprintf(buf + len, sizeof(buf) - len, read_file_antenna() 499 len += snprintf(buf + len, sizeof(buf) - len, "bssid-mask: %pM\n", read_file_misc() 501 len += snprintf(buf + len, sizeof(buf) - len, "filter-flags: 0x%x ", read_file_misc() 504 len += snprintf(buf + len, sizeof(buf) - len, " UCAST"); read_file_misc() 506 len += snprintf(buf + len, sizeof(buf) - len, " MCAST"); read_file_misc() 508 len += snprintf(buf + len, sizeof(buf) - len, " BCAST"); read_file_misc() 510 len += snprintf(buf + len, sizeof(buf) - len, " CONTROL"); read_file_misc() 512 len += snprintf(buf + len, sizeof(buf) - len, " BEACON"); read_file_misc() 514 len += snprintf(buf + len, sizeof(buf) - len, " PROM"); read_file_misc() 516 len += snprintf(buf + len, sizeof(buf) - len, " XRPOLL"); read_file_misc() 518 len += snprintf(buf + len, sizeof(buf) - len, " PROBEREQ"); read_file_misc() 520 len += snprintf(buf + len, sizeof(buf) - len, " PHYERR-5212"); read_file_misc() 522 len += snprintf(buf + len, sizeof(buf) - len, " RADARERR-5212"); read_file_misc() 524 snprintf(buf + len, sizeof(buf) - len, " PHYERR-5211"); read_file_misc() 526 len += snprintf(buf + len, sizeof(buf) - len, " RADARERR-5211"); read_file_misc() 528 len += snprintf(buf + len, sizeof(buf) - len, "\nopmode: %s (%d)\n", read_file_misc() 555 len += snprintf(buf + len, sizeof(buf) - len, read_file_frameerrors() 557 len += snprintf(buf + len, sizeof(buf) - len, "CRC\t%u\t(%u%%)\n", read_file_frameerrors() 561 len += snprintf(buf + len, sizeof(buf) - len, "PHY\t%u\t(%u%%)\n", read_file_frameerrors() 567 len += snprintf(buf + len, sizeof(buf) - len, read_file_frameerrors() 572 len += snprintf(buf + len, sizeof(buf) - len, "FIFO\t%u\t(%u%%)\n", read_file_frameerrors() 576 len += snprintf(buf + len, sizeof(buf) - len, "decrypt\t%u\t(%u%%)\n", read_file_frameerrors() 580 len += snprintf(buf + len, sizeof(buf) - len, "MIC\t%u\t(%u%%)\n", read_file_frameerrors() 584 len += snprintf(buf + len, sizeof(buf) - len, "process\t%u\t(%u%%)\n", read_file_frameerrors() 588 len += snprintf(buf + len, sizeof(buf) - len, "jumbo\t%u\t(%u%%)\n", read_file_frameerrors() 592 len += snprintf(buf + len, sizeof(buf) - len, "[RX all\t%u]\n", read_file_frameerrors() 594 len += snprintf(buf + len, sizeof(buf) - len, "RX-all-bytes\t%u\n", read_file_frameerrors() 597 len += snprintf(buf + len, sizeof(buf) - len, read_file_frameerrors() 599 len += snprintf(buf + len, sizeof(buf) - len, "retry\t%u\t(%u%%)\n", read_file_frameerrors() 603 len += snprintf(buf + len, sizeof(buf) - len, "FIFO\t%u\t(%u%%)\n", read_file_frameerrors() 607 len += snprintf(buf + len, sizeof(buf) - len, "filter\t%u\t(%u%%)\n", read_file_frameerrors() 611 len += snprintf(buf + len, sizeof(buf) - len, "[TX all\t%u]\n", read_file_frameerrors() 613 len += snprintf(buf + len, sizeof(buf) - len, "TX-all-bytes\t%u\n", read_file_frameerrors() 674 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 678 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 681 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 683 len += snprintf(buf + len, sizeof(buf) - len, "operating mode:\t\t\t"); read_file_ani() 686 len += snprintf(buf + len, sizeof(buf) - len, "OFF\n"); read_file_ani() 689 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 693 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 697 len += snprintf(buf + len, sizeof(buf) - len, "AUTO\n"); read_file_ani() 700 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 704 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 707 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 710 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 713 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 716 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 720 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 723 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 732 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 735 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 738 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 742 len += snprintf(buf + len, sizeof(buf) - len, "profcnt cycles\t\t%u\n", read_file_ani() 744 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 747 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 751 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 755 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 760 len += snprintf(buf + len, sizeof(buf) - len, read_file_ani() 840 len += snprintf(buf + len, sizeof(buf) - len, read_file_queue() 846 len += snprintf(buf + len, sizeof(buf) - len, read_file_queue() 858 len += snprintf(buf + len, sizeof(buf) - len, read_file_queue() 860 len += snprintf(buf + len, sizeof(buf) - len, read_file_queue()
|
H A 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); ath5k_attr_show_noise_immunity_level_max() 75 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL); ath5k_attr_show_firstep_level_max()
|
/linux-4.1.27/drivers/s390/crypto/ |
H A 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); \
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 73 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_instance_show_attr_inst() 80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); iscsi_stat_instance_show_attr_min_ver() 87 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); iscsi_stat_instance_show_attr_max_ver() 97 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_num_tpg_nps); iscsi_stat_instance_show_attr_portals() 104 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); iscsi_stat_instance_show_attr_nodes() 114 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_nsessions); iscsi_stat_instance_show_attr_sessions() 132 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); iscsi_stat_instance_show_attr_fail_sess() 143 return snprintf(page, PAGE_SIZE, "%u\n", iscsi_stat_instance_show_attr_fail_type() 155 return snprintf(page, PAGE_SIZE, "%s\n", iscsi_stat_instance_show_attr_fail_rem_name() 164 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); iscsi_stat_instance_show_attr_disc_time() 171 return snprintf(page, PAGE_SIZE, "%s\n", ISCSI_INST_DESCR); iscsi_stat_instance_show_attr_description() 178 return snprintf(page, PAGE_SIZE, "Datera, Inc. iSCSI-Target\n"); iscsi_stat_instance_show_attr_vendor() 185 return snprintf(page, PAGE_SIZE, "%s\n", ISCSIT_VERSION); iscsi_stat_instance_show_attr_version() 243 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_sess_err_show_attr_inst() 254 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->digest_errors); iscsi_stat_sess_err_show_attr_digest_errors() 265 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->cxn_timeout_errors); iscsi_stat_sess_err_show_attr_cxn_errors() 276 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->pdu_format_errors); iscsi_stat_sess_err_show_attr_format_errors() 325 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_tgt_attr_show_attr_inst() 332 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); iscsi_stat_tgt_attr_show_attr_indx() 350 return snprintf(page, PAGE_SIZE, "%u\n", fail_count); iscsi_stat_tgt_attr_show_attr_login_fails() 368 return snprintf(page, PAGE_SIZE, "%u\n", last_fail_time); iscsi_stat_tgt_attr_show_attr_last_fail_time() 384 return snprintf(page, PAGE_SIZE, "%u\n", last_fail_type); iscsi_stat_tgt_attr_show_attr_last_fail_type() 397 snprintf(buf, 224, "%s", lstat->last_intr_fail_name[0] ? iscsi_stat_tgt_attr_show_attr_fail_intr_name() 401 return snprintf(page, PAGE_SIZE, "%s\n", buf); iscsi_stat_tgt_attr_show_attr_fail_intr_name() 415 ret = snprintf(page, PAGE_SIZE, "ipv6\n"); iscsi_stat_tgt_attr_show_attr_fail_intr_addr_type() 417 ret = snprintf(page, PAGE_SIZE, "ipv4\n"); iscsi_stat_tgt_attr_show_attr_fail_intr_addr_type() 433 ret = snprintf(page, PAGE_SIZE, "%s\n", lstat->last_intr_fail_ip_addr); iscsi_stat_tgt_attr_show_attr_fail_intr_addr() 489 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_login_show_attr_inst() 496 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); iscsi_stat_login_show_attr_indx() 509 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->accepts); iscsi_stat_login_show_attr_accepts() 525 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->other_fails); iscsi_stat_login_show_attr_other_fails() 541 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->redirects); iscsi_stat_login_show_attr_redirects() 557 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->authorize_fails); iscsi_stat_login_show_attr_authorize_fails() 573 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->authenticate_fails); iscsi_stat_login_show_attr_authenticate_fails() 589 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->negotiate_fails); iscsi_stat_login_show_attr_negotiate_fails() 646 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_logout_show_attr_inst() 653 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); iscsi_stat_logout_show_attr_indx() 664 return snprintf(page, PAGE_SIZE, "%u\n", lstats->normal_logouts); iscsi_stat_logout_show_attr_normal_logouts() 675 return snprintf(page, PAGE_SIZE, "%u\n", lstats->abnormal_logouts); iscsi_stat_logout_show_attr_abnormal_logouts() 728 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); iscsi_stat_sess_show_attr_inst() 747 ret = snprintf(page, PAGE_SIZE, "%u\n", iscsi_stat_sess_show_attr_node() 771 ret = snprintf(page, PAGE_SIZE, "%u\n", iscsi_stat_sess_show_attr_indx() 795 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_cmd_pdus() 819 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_rsp_pdus() 843 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_txdata_octs() 867 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_rxdata_octs() 891 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_conn_digest_errors() 915 ret = snprintf(page, PAGE_SIZE, "%lu\n", iscsi_stat_sess_show_attr_conn_timeout_errors()
|
/linux-4.1.27/sound/hda/ |
H A 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/drivers/target/ |
H A D | target_core_stat.c | 83 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_dev_show_attr_inst() 93 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); target_stat_scsi_dev_show_attr_indx() 100 return snprintf(page, PAGE_SIZE, "Target\n"); target_stat_scsi_dev_show_attr_role() 110 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_port_count); target_stat_scsi_dev_show_attr_ports() 160 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_tgt_dev_show_attr_inst() 170 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); target_stat_scsi_tgt_dev_show_attr_indx() 177 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); target_stat_scsi_tgt_dev_show_attr_num_lus() 188 return snprintf(page, PAGE_SIZE, "activated"); target_stat_scsi_tgt_dev_show_attr_status() 190 return snprintf(page, PAGE_SIZE, "deactivated"); target_stat_scsi_tgt_dev_show_attr_status() 206 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); target_stat_scsi_tgt_dev_show_attr_non_access_lus() 216 return snprintf(page, PAGE_SIZE, "%lu\n", target_stat_scsi_tgt_dev_show_attr_resets() 268 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_lu_show_attr_inst() 278 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); target_stat_scsi_lu_show_attr_dev() 285 return snprintf(page, PAGE_SIZE, "%u\n", SCSI_LU_INDEX); target_stat_scsi_lu_show_attr_indx() 293 return snprintf(page, PAGE_SIZE, "%llu\n", (unsigned long long)0); target_stat_scsi_lu_show_attr_lun() 304 return snprintf(page, PAGE_SIZE, "%s\n", target_stat_scsi_lu_show_attr_lu_name() 323 return snprintf(page, PAGE_SIZE, "%s\n", str); target_stat_scsi_lu_show_attr_vend() 340 return snprintf(page, PAGE_SIZE, "%s\n", str); target_stat_scsi_lu_show_attr_prod() 357 return snprintf(page, PAGE_SIZE, "%s\n", str); target_stat_scsi_lu_show_attr_rev() 368 return snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_lu_show_attr_dev_type() 380 return snprintf(page, PAGE_SIZE, "%s\n", target_stat_scsi_lu_show_attr_status() 389 return snprintf(page, PAGE_SIZE, "exposed\n"); target_stat_scsi_lu_show_attr_state_bit() 400 return snprintf(page, PAGE_SIZE, "%lu\n", target_stat_scsi_lu_show_attr_num_cmds() 412 return snprintf(page, PAGE_SIZE, "%lu\n", target_stat_scsi_lu_show_attr_read_mbytes() 424 return snprintf(page, PAGE_SIZE, "%lu\n", target_stat_scsi_lu_show_attr_write_mbytes() 436 return snprintf(page, PAGE_SIZE, "%lu\n", atomic_long_read(&dev->num_resets)); target_stat_scsi_lu_show_attr_resets() 444 return snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_lu_show_attr_full_stat() 452 return snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_lu_show_attr_hs_num_cmds() 463 return snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)dev->creation_time - target_stat_scsi_lu_show_attr_creation_time() 558 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_port_show_attr_inst() 578 ret = snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); target_stat_scsi_port_show_attr_dev() 597 ret = snprintf(page, PAGE_SIZE, "%u\n", sep->sep_index); target_stat_scsi_port_show_attr_indx() 620 ret = snprintf(page, PAGE_SIZE, "%s%u\n", "Device", dev->dev_index); target_stat_scsi_port_show_attr_role() 640 ret = snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_port_show_attr_busy_count() 701 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_tgt_port_show_attr_inst() 721 ret = snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index); target_stat_scsi_tgt_port_show_attr_dev() 740 ret = snprintf(page, PAGE_SIZE, "%u\n", sep->sep_index); target_stat_scsi_tgt_port_show_attr_indx() 762 ret = snprintf(page, PAGE_SIZE, "%sPort#%u\n", target_stat_scsi_tgt_port_show_attr_name() 785 ret = snprintf(page, PAGE_SIZE, "%s%s%d\n", target_stat_scsi_tgt_port_show_attr_port_index() 807 ret = snprintf(page, PAGE_SIZE, "%llu\n", sep->sep_stats.cmd_pdus); target_stat_scsi_tgt_port_show_attr_in_cmds() 827 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_tgt_port_show_attr_write_mbytes() 848 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_tgt_port_show_attr_read_mbytes() 870 ret = snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_tgt_port_show_attr_hs_in_cmds() 938 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); target_stat_scsi_transport_show_attr_inst() 960 ret = snprintf(page, PAGE_SIZE, "scsiTransport%s\n", target_stat_scsi_transport_show_attr_device() 982 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_transport_show_attr_indx() 1008 ret = snprintf(page, PAGE_SIZE, "%s+%s\n", target_stat_scsi_transport_show_attr_dev_name() 1096 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_auth_intr_show_attr_inst() 1121 ret = snprintf(page, PAGE_SIZE, "%u\n", lun->lun_se_dev->dev_index); target_stat_scsi_auth_intr_show_attr_dev() 1145 ret = snprintf(page, PAGE_SIZE, "%u\n", tpg->se_tpg_tfo->tpg_get_tag(tpg)); target_stat_scsi_auth_intr_show_attr_port() 1167 ret = snprintf(page, PAGE_SIZE, "%u\n", nacl->acl_index); target_stat_scsi_auth_intr_show_attr_indx() 1189 ret = snprintf(page, PAGE_SIZE, "%u\n", 1); target_stat_scsi_auth_intr_show_attr_dev_or_port() 1211 ret = snprintf(page, PAGE_SIZE, "%s\n", nacl->initiatorname); target_stat_scsi_auth_intr_show_attr_intr_name() 1233 ret = snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_auth_intr_show_attr_map_indx() 1255 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); target_stat_scsi_auth_intr_show_attr_att_count() 1277 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->total_cmds); target_stat_scsi_auth_intr_show_attr_num_cmds() 1299 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(deve->read_bytes >> 20)); target_stat_scsi_auth_intr_show_attr_read_mbytes() 1321 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(deve->write_bytes >> 20)); target_stat_scsi_auth_intr_show_attr_write_mbytes() 1343 ret = snprintf(page, PAGE_SIZE, "%u\n", 0); target_stat_scsi_auth_intr_show_attr_hs_num_cmds() 1365 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - target_stat_scsi_auth_intr_show_attr_creation_time() 1388 ret = snprintf(page, PAGE_SIZE, "Ready\n"); target_stat_scsi_auth_intr_show_attr_row_status() 1462 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_att_intr_port_show_attr_inst() 1487 ret = snprintf(page, PAGE_SIZE, "%u\n", lun->lun_se_dev->dev_index); target_stat_scsi_att_intr_port_show_attr_dev() 1511 ret = snprintf(page, PAGE_SIZE, "%u\n", tpg->se_tpg_tfo->tpg_get_tag(tpg)); target_stat_scsi_att_intr_port_show_attr_port() 1536 ret = snprintf(page, PAGE_SIZE, "%u\n", target_stat_scsi_att_intr_port_show_attr_indx() 1559 ret = snprintf(page, PAGE_SIZE, "%u\n", nacl->acl_index); target_stat_scsi_att_intr_port_show_attr_port_auth_indx() 1589 ret = snprintf(page, PAGE_SIZE, "%s+i+%s\n", nacl->initiatorname, buf); target_stat_scsi_att_intr_port_show_attr_port_ident()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_attr.c | 160 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", qla4xxx_fw_version_show() 164 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", qla4xxx_fw_version_show() 174 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); qla4xxx_serial_num_show() 182 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, qla4xxx_iscsi_version_show() 191 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", qla4xxx_optrom_version_show() 201 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); qla4xxx_board_id_show() 211 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, qla4xxx_fw_state_show() 224 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); qla4xxx_phy_port_cnt_show() 236 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); qla4xxx_phy_port_num_show() 248 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); qla4xxx_iscsi_func_cnt_show() 257 return snprintf(buf, PAGE_SIZE, "%s\n", ha->model_name); qla4xxx_hba_model_show() 265 return snprintf(buf, PAGE_SIZE, "%s %s\n", ha->fw_info.fw_build_date, qla4xxx_fw_timestamp_show() 274 return snprintf(buf, PAGE_SIZE, "%s\n", ha->fw_info.fw_build_user); qla4xxx_fw_build_user_show() 282 return snprintf(buf, PAGE_SIZE, "%s\n", ha->fw_info.extended_timestamp); qla4xxx_fw_ext_timestamp_show() 304 return snprintf(buf, PAGE_SIZE, "%s\n", load_src); qla4xxx_fw_load_src_show() 313 return snprintf(buf, PAGE_SIZE, "%u.%u secs\n", ha->fw_uptime_secs, qla4xxx_fw_uptime_show()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | pci_debug.h | 15 snprintf(debug_buffer, 16, text); \
|
/linux-4.1.27/drivers/acpi/ |
H A D | bgrt.c | 22 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->version); show_version() 29 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->status); show_status() 36 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_type); show_type() 43 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_x); show_xoffset() 50 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_y); show_yoffset()
|
/linux-4.1.27/tools/lib/api/fs/ |
H A D | debugfs.c | 85 snprintf(buf, size, debugfs__strerror_open() 91 snprintf(buf, size, "%s", debugfs__strerror_open() 98 snprintf(buf, size, debugfs__strerror_open() 104 snprintf(buf, size, "%s", strerror_r(err, sbuf, sizeof(sbuf))); debugfs__strerror_open() 115 snprintf(path, PATH_MAX, "tracing/events/%s/%s", sys, name ?: "*"); debugfs__strerror_open_tp()
|
H A D | findfs.c | 51 snprintf(format, 128, "%%*s %%%ds %%99s %%*s %%*d %%*d\n", len); find_mountpoint()
|
/linux-4.1.27/drivers/net/can/ |
H A D | led.c | 84 snprintf(priv->tx_led_trig_name, sizeof(priv->tx_led_trig_name), devm_can_led_init() 86 snprintf(priv->rx_led_trig_name, sizeof(priv->rx_led_trig_name), devm_can_led_init() 88 snprintf(priv->rxtx_led_trig_name, sizeof(priv->rxtx_led_trig_name), devm_can_led_init() 117 snprintf(name, sizeof(name), "%s-tx", netdev->name); can_led_notifier() 120 snprintf(name, sizeof(name), "%s-rx", netdev->name); can_led_notifier() 123 snprintf(name, sizeof(name), "%s-rxtx", netdev->name); can_led_notifier()
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | imx-audmux.c | 89 ret = snprintf(buf, PAGE_SIZE, "PDCR: %08x\nPTCR: %08x\n", audmux_read_file() 93 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 97 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 101 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 105 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 108 ret += snprintf(buf + ret, PAGE_SIZE - ret, "\n"); audmux_read_file() 111 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 115 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 119 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 123 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 127 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 131 ret += snprintf(buf + ret, PAGE_SIZE - ret, audmux_read_file() 160 snprintf(buf, sizeof(buf), "ssi%lu", i); audmux_debugfs_init()
|
/linux-4.1.27/drivers/edac/ |
H A D | octeon_edac-l2c.c | 72 snprintf(buf1, sizeof(buf1), _octeon_l2c_poll_oct2() 77 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2() 83 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2() 89 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2() 95 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2() 107 snprintf(buf1, sizeof(buf1), _octeon_l2c_poll_oct2() 112 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2() 118 snprintf(buf2, sizeof(buf2), _octeon_l2c_poll_oct2()
|
/linux-4.1.27/fs/ocfs2/dlm/ |
H A D | dlmdebug.c | 262 out += snprintf(buf + out, len - out, "%.*s%08x", stringify_lockname() 266 out += snprintf(buf + out, len - out, "%.*s", stringify_lockname() 278 out += snprintf(buf + out, len - out, "%d ", i); stringify_nodemap() 296 out += snprintf(buf + out, len - out, dump_mle() 303 out += snprintf(buf + out, len - out, "Maybe="); dump_mle() 306 out += snprintf(buf + out, len - out, "\n"); dump_mle() 308 out += snprintf(buf + out, len - out, "Vote="); dump_mle() 311 out += snprintf(buf + out, len - out, "\n"); dump_mle() 313 out += snprintf(buf + out, len - out, "Response="); dump_mle() 316 out += snprintf(buf + out, len - out, "\n"); dump_mle() 318 out += snprintf(buf + out, len - out, "Node="); dump_mle() 321 out += snprintf(buf + out, len - out, "\n"); dump_mle() 323 out += snprintf(buf + out, len - out, "\n"); dump_mle() 391 out += snprintf(buf + out, len - out, debug_purgelist_print() 403 out += snprintf(buf + out, len - out, "\t%ld\n", debug_purgelist_print() 409 out += snprintf(buf + out, len - out, "Total on list: %lu\n", total); debug_purgelist_print() 448 out += snprintf(buf + out, len - out, debug_mle_print() 466 out += snprintf(buf + out, len - out, 505 out = snprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," dump_lock() 529 out += snprintf(buf + out, len - out, "NAME:"); dump_lockres() 532 out += snprintf(buf + out, len - out, "\n"); dump_lockres() 535 out += snprintf(buf + out, len - out, dump_lockres() 547 out += snprintf(buf + out, len - out, "RMAP:"); dump_lockres() 550 out += snprintf(buf + out, len - out, "\n"); dump_lockres() 553 out += snprintf(buf + out, len - out, "LVBX:"); dump_lockres() 555 out += snprintf(buf + out, len - out, dump_lockres() 557 out += snprintf(buf + out, len - out, "\n"); dump_lockres() 571 out += snprintf(buf + out, len - out, "\n"); dump_lockres() 721 out += snprintf(buf + out, len - out, debug_state_print() 727 out += snprintf(buf + out, len - out, debug_state_print() 732 out += snprintf(buf + out, len - out, debug_state_print() 737 out += snprintf(buf + out, len - out, "Domain Map: "); debug_state_print() 740 out += snprintf(buf + out, len - out, "\n"); debug_state_print() 743 out += snprintf(buf + out, len - out, "Exit Domain Map: "); debug_state_print() 746 out += snprintf(buf + out, len - out, "\n"); debug_state_print() 749 out += snprintf(buf + out, len - out, "Live Map: "); debug_state_print() 752 out += snprintf(buf + out, len - out, "\n"); debug_state_print() 755 out += snprintf(buf + out, len - out, debug_state_print() 767 out += snprintf(buf + out, len - out, debug_state_print() 771 out += snprintf(buf + out, len - out, debug_state_print() 777 out += snprintf(buf + out, len - out, debug_state_print() 783 out += snprintf(buf + out, len - out, debug_state_print() 789 out += snprintf(buf + out, len - out, debug_state_print() 798 out += snprintf(buf + out, len - out, debug_state_print() 803 out += snprintf(buf + out, len - out, debug_state_print() 813 out += snprintf(buf + out, len - out, debug_state_print() 819 out += snprintf(buf + out, len - out, "Recovery Map: "); debug_state_print() 822 out += snprintf(buf + out, len - out, "\n"); debug_state_print() 825 out += snprintf(buf + out, len - out, "Recovery Node State:\n"); debug_state_print() 853 out += snprintf(buf + out, len - out, "\t%u - %s\n", debug_state_print()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | sysfs.c | 35 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); readsysfs() 37 snprintf(filename, PATH_MAX, readsysfs() 75 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); setsysfs() 77 snprintf(filename, PATH_MAX, "%s/%s/%s", setsysfs()
|
/linux-4.1.27/tools/perf/tests/ |
H A D | pmu.c | 89 snprintf(dir, PATH_MAX, "/tmp/perf-pmu-test-format-XXXXXX"); test_format_dir_get() 98 snprintf(name, PATH_MAX, "%s/%s", dir, format->name); test_format_dir_get() 117 snprintf(buf, PATH_MAX, "rm -f %s/*\n", dir); test_format_dir_put() 121 snprintf(buf, PATH_MAX, "rmdir %s\n", dir); test_format_dir_put()
|
H A D | attr.c | 49 size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \ 66 snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir, store_event() 150 snprintf(cmd, 3*PATH_MAX, PYTHON " %s/attr.py -d %s/attr/ -p %s %.*s", run_dir() 167 snprintf(path_dir, PATH_MAX, "%s/tests", perf_exec_path()); test__attr() 168 snprintf(path_perf, PATH_MAX, "%s/perf", BINDIR); test__attr()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 157 snprintf(buffer, lpfc_debugfs_disc_trc_data() 160 len += snprintf(buf+len, size-len, buffer, lpfc_debugfs_disc_trc_data() 168 snprintf(buffer, lpfc_debugfs_disc_trc_data() 171 len += snprintf(buf+len, size-len, buffer, lpfc_debugfs_disc_trc_data() 223 snprintf(buffer, lpfc_debugfs_slow_ring_trc_data() 226 len += snprintf(buf+len, size-len, buffer, lpfc_debugfs_slow_ring_trc_data() 234 snprintf(buffer, lpfc_debugfs_slow_ring_trc_data() 237 len += snprintf(buf+len, size-len, buffer, lpfc_debugfs_slow_ring_trc_data() 297 len += snprintf(buf+len, size-len, "HBQ %d Info\n", i); lpfc_debugfs_hbqinfo_data() 305 len += snprintf(buf+len, size-len, lpfc_debugfs_hbqinfo_data() 312 len += snprintf(buf+len, size-len, lpfc_debugfs_hbqinfo_data() 319 len += snprintf(buf+len, size-len, lpfc_debugfs_hbqinfo_data() 331 len += snprintf(buf+len, size-len, "Unused\n"); lpfc_debugfs_hbqinfo_data() 338 len += snprintf(buf+len, size-len, "Unused\n"); lpfc_debugfs_hbqinfo_data() 348 len += snprintf(buf+len, size-len, lpfc_debugfs_hbqinfo_data() 357 len += snprintf(buf+len, size-len, "No DMAinfo?\n"); lpfc_debugfs_hbqinfo_data() 403 len += snprintf(buf+len, size-len, "HBA SLIM\n"); lpfc_debugfs_dumpHBASlim_data() 417 len += snprintf(buf+len, size-len, lpfc_debugfs_dumpHBASlim_data() 461 len += snprintf(buf+len, size-len, "SLIM Mailbox\n"); lpfc_debugfs_dumpHostSlim_data() 465 len += snprintf(buf+len, size-len, lpfc_debugfs_dumpHostSlim_data() 474 len += snprintf(buf+len, size-len, "SLIM PCB\n"); lpfc_debugfs_dumpHostSlim_data() 478 len += snprintf(buf+len, size-len, lpfc_debugfs_dumpHostSlim_data() 490 len += snprintf(buf+len, size-len, lpfc_debugfs_dumpHostSlim_data() 505 len += snprintf(buf+len, size-len, "HA:%08x CA:%08x HS:%08x " lpfc_debugfs_dumpHostSlim_data() 541 len += snprintf(buf+len, size-len, lpfc_debugfs_nodelist_data() 577 len += snprintf(buf+len, size-len, "%s DID:x%06x ", lpfc_debugfs_nodelist_data() 580 len += snprintf(buf+len, size-len, lpfc_debugfs_nodelist_data() 585 len += snprintf(buf+len, size-len, lpfc_debugfs_nodelist_data() 590 len += snprintf(buf+len, size-len, "RPI:%03d ", lpfc_debugfs_nodelist_data() 593 len += snprintf(buf+len, size-len, "RPI:none "); lpfc_debugfs_nodelist_data() 594 len += snprintf(buf+len, size-len, "flag:x%08x ", lpfc_debugfs_nodelist_data() 597 len += snprintf(buf+len, size-len, "UNKNOWN_TYPE "); lpfc_debugfs_nodelist_data() 599 len += snprintf(buf+len, size-len, "FC_NODE "); lpfc_debugfs_nodelist_data() 601 len += snprintf(buf+len, size-len, "FABRIC "); lpfc_debugfs_nodelist_data() 603 len += snprintf(buf+len, size-len, "FCP_TGT sid:%d ", lpfc_debugfs_nodelist_data() 606 len += snprintf(buf+len, size-len, "FCP_INITIATOR "); lpfc_debugfs_nodelist_data() 607 len += snprintf(buf+len, size-len, "usgmap:%x ", lpfc_debugfs_nodelist_data() 609 len += snprintf(buf+len, size-len, "refcnt:%x", lpfc_debugfs_nodelist_data() 611 len += snprintf(buf+len, size-len, "\n"); lpfc_debugfs_nodelist_data() 1021 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wgrd_cnt); lpfc_debugfs_dif_err_read() 1023 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wapp_cnt); lpfc_debugfs_dif_err_read() 1025 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wref_cnt); lpfc_debugfs_dif_err_read() 1027 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rgrd_cnt); lpfc_debugfs_dif_err_read() 1029 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rapp_cnt); lpfc_debugfs_dif_err_read() 1031 cnt = snprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rref_cnt); lpfc_debugfs_dif_err_read() 1033 cnt = snprintf(cbuf, 32, "0x%06x\n", phba->lpfc_injerr_nportid); lpfc_debugfs_dif_err_read() 1037 cnt = snprintf(cbuf, 32, "0x%016llx\n", tmp); lpfc_debugfs_dif_err_read() 1040 cnt = snprintf(cbuf, 32, "off\n"); lpfc_debugfs_dif_err_read() 1042 cnt = snprintf(cbuf, 32, "0x%llx\n", lpfc_debugfs_dif_err_read() 1450 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1455 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1460 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1480 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1484 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1488 len += snprintf(pbuffer+len, lpfc_idiag_pcicfg_read() 1494 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1498 len += snprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, lpfc_idiag_pcicfg_read() 1769 len += snprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, lpfc_idiag_baracc_read() 1783 len += snprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, lpfc_idiag_baracc_read() 1788 len += snprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, lpfc_idiag_baracc_read() 1793 len += snprintf(pbuffer+len, lpfc_idiag_baracc_read() 1800 len += snprintf(pbuffer+len, lpfc_idiag_baracc_read() 1807 len += snprintf(pbuffer+len, lpfc_idiag_baracc_read() 1811 len += snprintf(pbuffer+len, lpfc_idiag_baracc_read() 2028 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2036 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2051 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2058 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2061 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2069 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2082 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2090 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2093 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2099 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2110 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2123 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2126 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2135 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2144 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2153 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2156 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2160 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2169 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2178 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2181 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2190 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2202 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2211 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2214 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2222 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2231 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2241 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2244 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2253 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2266 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2277 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2289 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2297 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2311 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2322 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2325 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2333 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2345 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2354 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2357 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2363 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2374 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2385 len += snprintf(pbuffer+len, lpfc_idiag_queinfo_read() 2440 len += snprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, lpfc_idiag_queacc_read_qe() 2446 len += snprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, lpfc_idiag_queacc_read_qe() 2452 len += snprintf(pbuffer+len, lpfc_idiag_queacc_read_qe() 2455 len += snprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, "\n"); lpfc_idiag_queacc_read_qe() 2794 len += snprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, lpfc_idiag_drbacc_read_reg() 2799 len += snprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, lpfc_idiag_drbacc_read_reg() 2804 len += snprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, lpfc_idiag_drbacc_read_reg() 2809 len += snprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, lpfc_idiag_drbacc_read_reg() 2996 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3002 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3008 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3014 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3020 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3026 len += snprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, lpfc_idiag_ctlacc_read_reg() 3219 len += snprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, lpfc_idiag_mbxacc_get_setup() 3221 len += snprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, lpfc_idiag_mbxacc_get_setup() 3223 len += snprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, lpfc_idiag_mbxacc_get_setup() 3225 len += snprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, lpfc_idiag_mbxacc_get_setup() 3374 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3377 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3381 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3384 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3388 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3391 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3395 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3398 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3402 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_avail_get() 3426 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3429 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3434 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3438 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3441 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3446 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3450 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3453 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3458 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3462 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3465 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3470 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3474 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_alloc_get() 3498 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3501 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3505 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3511 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3516 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3523 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3528 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3535 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3540 len += snprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, lpfc_idiag_extacc_drivr_get() 3894 len += snprintf(line_buf+len, lpfc_idiag_mbxacc_dump_bsg_mbox() 3898 len += snprintf(line_buf+len, LPFC_MBX_ACC_LBUF_SZ-len, lpfc_idiag_mbxacc_dump_bsg_mbox() 3961 len += snprintf(line_buf+len, lpfc_idiag_mbxacc_dump_issue_mbox() 3965 len += snprintf(line_buf+len, LPFC_MBX_ACC_LBUF_SZ-len, lpfc_idiag_mbxacc_dump_issue_mbox() 3984 len += snprintf(line_buf+len, lpfc_idiag_mbxacc_dump_issue_mbox() 3989 len += snprintf(line_buf+len, lpfc_idiag_mbxacc_dump_issue_mbox() 3995 len += snprintf(line_buf+len, lpfc_idiag_mbxacc_dump_issue_mbox() 4047 snprintf(name, sizeof(name), "fn%d", phba->brd_no); lpfc_debugfs_initialize() 4061 snprintf(name, sizeof(name), "hbqinfo"); lpfc_debugfs_initialize() 4074 snprintf(name, sizeof(name), "dumpHBASlim"); lpfc_debugfs_initialize() 4091 snprintf(name, sizeof(name), "dumpHostSlim"); lpfc_debugfs_initialize() 4107 snprintf(name, sizeof(name), "dumpData"); lpfc_debugfs_initialize() 4119 snprintf(name, sizeof(name), "dumpDif"); lpfc_debugfs_initialize() 4131 snprintf(name, sizeof(name), "InjErrLBA"); lpfc_debugfs_initialize() 4143 snprintf(name, sizeof(name), "InjErrNPortID"); lpfc_debugfs_initialize() 4154 snprintf(name, sizeof(name), "InjErrWWPN"); lpfc_debugfs_initialize() 4165 snprintf(name, sizeof(name), "writeGuardInjErr"); lpfc_debugfs_initialize() 4176 snprintf(name, sizeof(name), "writeAppInjErr"); lpfc_debugfs_initialize() 4187 snprintf(name, sizeof(name), "writeRefInjErr"); lpfc_debugfs_initialize() 4198 snprintf(name, sizeof(name), "readGuardInjErr"); lpfc_debugfs_initialize() 4209 snprintf(name, sizeof(name), "readAppInjErr"); lpfc_debugfs_initialize() 4220 snprintf(name, sizeof(name), "readRefInjErr"); lpfc_debugfs_initialize() 4249 snprintf(name, sizeof(name), "slow_ring_trace"); lpfc_debugfs_initialize() 4278 snprintf(name, sizeof(name), "vport%d", vport->vpi); lpfc_debugfs_initialize() 4319 snprintf(name, sizeof(name), "discovery_trace"); lpfc_debugfs_initialize() 4330 snprintf(name, sizeof(name), "nodelist"); lpfc_debugfs_initialize() 4355 snprintf(name, sizeof(name), "iDiag"); lpfc_debugfs_initialize() 4369 snprintf(name, sizeof(name), "pciCfg"); lpfc_debugfs_initialize() 4383 snprintf(name, sizeof(name), "barAcc"); lpfc_debugfs_initialize() 4397 snprintf(name, sizeof(name), "queInfo"); lpfc_debugfs_initialize() 4410 snprintf(name, sizeof(name), "queAcc"); lpfc_debugfs_initialize() 4423 snprintf(name, sizeof(name), "drbAcc"); lpfc_debugfs_initialize() 4436 snprintf(name, sizeof(name), "ctlAcc"); lpfc_debugfs_initialize() 4449 snprintf(name, sizeof(name), "mbxAcc"); lpfc_debugfs_initialize() 4463 snprintf(name, sizeof(name), "extAcc"); lpfc_debugfs_initialize()
|
H A D | lpfc_attr.c | 106 return snprintf(buf, PAGE_SIZE, LPFC_MODULE_DESC "\n"); lpfc_drvr_version_show() 126 return snprintf(buf, PAGE_SIZE, "1\n"); lpfc_enable_fip_show() 128 return snprintf(buf, PAGE_SIZE, "0\n"); lpfc_enable_fip_show() 141 return snprintf(buf, PAGE_SIZE, "BlockGuard Enabled\n"); lpfc_bg_info_show() 143 return snprintf(buf, PAGE_SIZE, lpfc_bg_info_show() 146 return snprintf(buf, PAGE_SIZE, lpfc_bg_info_show() 158 return snprintf(buf, PAGE_SIZE, "%llu\n", lpfc_bg_guard_err_show() 170 return snprintf(buf, PAGE_SIZE, "%llu\n", lpfc_bg_apptag_err_show() 182 return snprintf(buf, PAGE_SIZE, "%llu\n", lpfc_bg_reftag_err_show() 200 return snprintf(buf, PAGE_SIZE, "%s\n",lpfc_info(host)); lpfc_info_show() 219 return snprintf(buf, PAGE_SIZE, "%s\n",phba->SerialNumber); lpfc_serialnum_show() 241 return snprintf(buf, PAGE_SIZE, "%d\n",phba->temp_sensor_support); lpfc_temp_sensor_show() 260 return snprintf(buf, PAGE_SIZE, "%s\n",phba->ModelDesc); lpfc_modeldesc_show() 279 return snprintf(buf, PAGE_SIZE, "%s\n",phba->ModelName); lpfc_modelname_show() 298 return snprintf(buf, PAGE_SIZE, "%s\n",phba->ProgramType); lpfc_programtype_show() 316 return snprintf(buf, PAGE_SIZE, "%d\n", lpfc_mlomgmt_show() 336 return snprintf(buf, PAGE_SIZE, "%s\n",phba->Port); lpfc_vportnum_show() 364 len = snprintf(buf, PAGE_SIZE, "%s, sli-%d\n", lpfc_fwrev_show() 367 len = snprintf(buf, PAGE_SIZE, "%s, sli-%d:%d:%x\n", lpfc_fwrev_show() 391 return snprintf(buf, PAGE_SIZE, "%s\n", hdw); lpfc_hdw_show() 412 return snprintf(buf, PAGE_SIZE, "%s\n", phba->OptionROMVersion); lpfc_option_rom_version_show() 415 return snprintf(buf, PAGE_SIZE, "%s\n", fwrev); lpfc_option_rom_version_show() 446 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 449 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 455 len += snprintf(buf + len, PAGE_SIZE-len, "Link Up - "); lpfc_link_state_show() 459 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 469 len += snprintf(buf + len, PAGE_SIZE - len, lpfc_link_state_show() 473 len += snprintf(buf + len, PAGE_SIZE - len, "Ready\n"); lpfc_link_state_show() 477 len += snprintf(buf + len, PAGE_SIZE - len, "Failed\n"); lpfc_link_state_show() 481 len += snprintf(buf + len, PAGE_SIZE - len, lpfc_link_state_show() 486 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 490 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 493 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 497 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 500 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_link_state_show() 525 return snprintf(buf, PAGE_SIZE, "fc\n"); lpfc_sli4_protocol_show() 529 return snprintf(buf, PAGE_SIZE, "fcoe\n"); lpfc_sli4_protocol_show() 531 return snprintf(buf, PAGE_SIZE, "fc\n"); lpfc_sli4_protocol_show() 533 return snprintf(buf, PAGE_SIZE, "unknown\n"); lpfc_sli4_protocol_show() 553 return snprintf(buf, PAGE_SIZE, "%d\n", lpfc_oas_supported_show() 611 return snprintf(buf, PAGE_SIZE, "%d\n", lpfc_num_discovered_ports_show() 1018 return snprintf(buf, PAGE_SIZE, "%d\n", phba->nport_event_cnt); lpfc_nport_evt_cnt_show() 1047 return snprintf(buf, PAGE_SIZE, "%s\n", state); lpfc_board_mode_show() 1258 return snprintf(buf, PAGE_SIZE, "%d\n", cnt); lpfc_max_rpi_show() 1259 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_max_rpi_show() 1286 return snprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); lpfc_used_rpi_show() 1287 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_used_rpi_show() 1314 return snprintf(buf, PAGE_SIZE, "%d\n", cnt); lpfc_max_xri_show() 1315 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_max_xri_show() 1342 return snprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); lpfc_used_xri_show() 1343 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_used_xri_show() 1370 return snprintf(buf, PAGE_SIZE, "%d\n", cnt); lpfc_max_vpi_show() 1371 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_max_vpi_show() 1398 return snprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); lpfc_used_vpi_show() 1399 return snprintf(buf, PAGE_SIZE, "Unknown\n"); lpfc_used_vpi_show() 1424 return snprintf(buf, PAGE_SIZE, "NPIV Not Supported\n"); lpfc_npiv_info_show() 1426 return snprintf(buf, PAGE_SIZE, "NPIV Physical\n"); lpfc_npiv_info_show() 1427 return snprintf(buf, PAGE_SIZE, "NPIV Virtual (VPI %d)\n", vport->vpi); lpfc_npiv_info_show() 1449 return snprintf(buf, PAGE_SIZE, "%#x\n", phba->cfg_poll); lpfc_poll_show() 1553 return snprintf(buf, PAGE_SIZE, "%d\n", phba->fips_level); lpfc_fips_level_show() 1572 return snprintf(buf, PAGE_SIZE, "%d\n", phba->fips_spec_rev); lpfc_fips_rev_show() 1591 return snprintf(buf, PAGE_SIZE, "%s - %sOperational\n", lpfc_dss_show() 1620 return snprintf(buf, PAGE_SIZE, "%d\n", max_nr_virtfn); lpfc_sriov_hw_max_virtfn_show() 1647 return snprintf(buf, PAGE_SIZE, "%d\n",\ 1675 return snprintf(buf, PAGE_SIZE, "%#x\n",\ 1813 return snprintf(buf, PAGE_SIZE, "%d\n", vport->cfg_##attr);\ 1840 return snprintf(buf, PAGE_SIZE, "%#x\n", vport->cfg_##attr);\ 2193 return snprintf(buf, PAGE_SIZE, "0x%llx\n", lpfc_soft_wwpn_show() 2291 return snprintf(buf, PAGE_SIZE, "0x%llx\n", lpfc_soft_wwnn_show() 2358 return snprintf(buf, PAGE_SIZE, "0x%llx\n", lpfc_oas_tgt_show() 2426 return snprintf(buf, PAGE_SIZE, "0x%llx\n", lpfc_oas_vpt_show() 2495 return snprintf(buf, PAGE_SIZE, "%d\n", phba->cfg_oas_lun_state); lpfc_oas_lun_state_show() 2560 return snprintf(buf, PAGE_SIZE, "%d\n", phba->cfg_oas_lun_status); lpfc_oas_lun_status_show() 2708 len += snprintf(buf + len, PAGE_SIZE-len, "0x%llx", oas_lun); lpfc_oas_lun_show() 2835 return snprintf(buf, PAGE_SIZE, "%d\n", phba->iocb_max); lpfc_iocb_hw_show() 2846 return snprintf(buf, PAGE_SIZE, "%d\n", lpfc_txq_hw_show() 2859 return snprintf(buf, PAGE_SIZE, "%d\n", lpfc_txcmplq_hw_show() 2901 return snprintf(buf, PAGE_SIZE, "%d\n", vport->cfg_devloss_tmo); lpfc_nodev_tmo_show() 4317 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_fcp_cpu_map_show() 4322 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_fcp_cpu_map_show() 4329 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_fcp_cpu_map_show() 4342 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_fcp_cpu_map_show() 4349 len += snprintf(buf + len, PAGE_SIZE-len, lpfc_fcp_cpu_map_show() 4362 len += snprintf(buf + len, PAGE_SIZE-len, "more...\n"); lpfc_fcp_cpu_map_show() 5635 return snprintf(buf, sz, format_string, \
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_attrs.c | 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); fnic_show_state() 35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); fnic_show_drv_version() 43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) fnic_show_link_state()
|
H A D | fnic_trace.c | 140 len += snprintf(fnic_dbgfs_prt->buffer + len, fnic_get_trace_data() 182 len += snprintf(fnic_dbgfs_prt->buffer + len, fnic_get_trace_data() 221 len = snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 225 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 242 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 246 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 258 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 262 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 276 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 281 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 307 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 312 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 322 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 327 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 337 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 345 len += snprintf(debug->debug_buffer + len, buf_size - len, fnic_get_stats_data() 677 len += snprintf(fnic_dbgfs_prt->buffer + len, fnic_fc_trace_get_data() 697 len += snprintf(fnic_dbgfs_prt->buffer + len, fnic_fc_trace_get_data() 701 len += snprintf(fnic_dbgfs_prt->buffer + len, fnic_fc_trace_get_data() 745 len += snprintf(fnic_dbgfs_prt->buffer + len, copy_and_format_trace_data() 758 len += snprintf(fnic_dbgfs_prt->buffer + len, copy_and_format_trace_data() 761 len += snprintf(fnic_dbgfs_prt->buffer + len, copy_and_format_trace_data() 763 len += snprintf(fnic_dbgfs_prt->buffer + len, copy_and_format_trace_data() 769 len += snprintf(fnic_dbgfs_prt->buffer copy_and_format_trace_data() 776 len += snprintf(fnic_dbgfs_prt->buffer + len, copy_and_format_trace_data()
|
/linux-4.1.27/drivers/s390/cio/ |
H A 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/staging/unisys/include/ |
H A D | vbushelper.h | 34 snprintf(bus_device_info_ptr->devtype, bus_device_info_init() 37 snprintf(bus_device_info_ptr->drvname, bus_device_info_init() 40 snprintf(bus_device_info_ptr->infostrs, bus_device_info_init()
|
/linux-4.1.27/tools/usb/usbip/src/ |
H A D | utils.c | 34 snprintf(match_busid_attr_path, sizeof(match_busid_attr_path), modify_match_busid() 40 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", busid); modify_match_busid() 42 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", busid); modify_match_busid()
|
H A D | usbip_unbind.c | 74 snprintf(unbind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", unbind_device() 92 snprintf(rebind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", unbind_device()
|
H A D | usbip_attach.c | 69 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); record_connection() 75 snprintf(buff, MAX_BUFF, "%s %s %s\n", record_connection()
|
H A D | usbip_bind.c | 56 snprintf(bind_attr_path, sizeof(bind_attr_path), "%s/%s/%s/%s/%s/%s", bind_usbip() 121 snprintf(unbind_attr_path, sizeof(unbind_attr_path), "%s/%s/%s/%s/%s/%s", unbind_other()
|
/linux-4.1.27/drivers/w1/slaves/ |
H A D | w1_ds2423.c | 78 c -= snprintf(out_buf + PAGE_SIZE - c, w1_slave_show() 87 c -= snprintf(out_buf + PAGE_SIZE - c, w1_slave_show() 110 c -= snprintf(out_buf + PAGE_SIZE - c, w1_slave_show() 113 c -= snprintf(out_buf + PAGE_SIZE - c, w1_slave_show() 119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); w1_slave_show()
|
H A D | w1_therm.c | 295 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", rom[i]); w1_slave_show() 296 c -= snprintf(buf + PAGE_SIZE - c, c, ": crc=%02x %s\n", w1_slave_show() 304 c -= snprintf(buf + PAGE_SIZE - c, c, "%02x ", w1_slave_show() 307 c -= snprintf(buf + PAGE_SIZE - c, c, "t=%d\n", w1_slave_show()
|
/linux-4.1.27/tools/perf/util/ |
H A D | values.c | 147 width = snprintf(NULL, 0, "%d", values->pid[i]); perf_read_values__display_pretty() 150 width = snprintf(NULL, 0, "%d", values->tid[i]); perf_read_values__display_pretty() 154 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); perf_read_values__display_pretty() 189 width = snprintf(NULL, 0, "%d", values->pid[i]); perf_read_values__display_raw() 192 width = snprintf(NULL, 0, "%d", values->tid[i]); perf_read_values__display_raw() 200 width = snprintf(NULL, 0, "%" PRIx64, values->counterrawid[j]); perf_read_values__display_raw() 206 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); perf_read_values__display_raw()
|
H A D | abspath.c | 33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) make_nonrelative_path()
|
H A D | pmu.c | 51 snprintf(path, PATH_MAX, "%s/%s", dir, name); perf_pmu__format_parse() 81 snprintf(path, PATH_MAX, pmu_format() 102 snprintf(path, PATH_MAX, "%s/%s.scale", dir, name); perf_pmu__parse_scale() 145 snprintf(path, PATH_MAX, "%s/%s.unit", dir, name); perf_pmu__parse_unit() 172 snprintf(path, PATH_MAX, "%s/%s.per-pkg", dir, name); perf_pmu__parse_per_pkg() 190 snprintf(path, PATH_MAX, "%s/%s.snapshot", dir, name); perf_pmu__parse_snapshot() 285 snprintf(path, PATH_MAX, "%s/%s", dir, name); pmu_aliases_parse() 315 snprintf(path, PATH_MAX, pmu_aliases() 362 snprintf(path, PATH_MAX, pmu_type() 390 snprintf(path, PATH_MAX, pmu_read_sysfs() 418 snprintf(path, PATH_MAX, pmu_cpumask() 834 int used = snprintf(buf, len, "%s/%s", pmu->name, alias->name); format_alias() 838 used += snprintf(buf + used, sub_non_neg(len, used), format_alias() 859 snprintf(buf, len, "%s OR %s/%s/", alias->name, pmu->name, alias->name); format_alias_or() 969 snprintf(path, PATH_MAX, perf_pmu__open_file()
|
H A D | cpumap.c | 223 snprintf(path, PATH_MAX, cpu_map__get_socket() 286 snprintf(path, PATH_MAX, cpu_map__get_core() 368 ret = snprintf(path, PATH_MAX, "%s/devices/system/cpu/possible", mnt); set_max_cpu_num() 396 ret = snprintf(path, PATH_MAX, "%s/devices/system/node/possible", mnt); set_max_node_num() 446 n = snprintf(path, PATH_MAX, "%s/devices/system/node", mnt); cpu__setup_cpunode_map() 461 n = snprintf(buf, PATH_MAX, "%s/%s", path, dent1->d_name); cpu__setup_cpunode_map()
|
H A D | target.c | 141 snprintf(buf, buflen, "%s", msg); target__strerror() 146 snprintf(buf, buflen, msg, target->uid_str); target__strerror()
|
H A D | thread_map.c | 88 snprintf(path, sizeof(path), "/proc/%s", dirent.d_name); thread_map__new_by_uid() 96 snprintf(path, sizeof(path), "/proc/%d/task", pid); thread_map__new_by_uid()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-dw.c | 65 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 67 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 69 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 71 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 73 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 75 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 77 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 79 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 81 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 83 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 85 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 87 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 89 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 91 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 93 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 95 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 97 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 99 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, dw_spi_show_regs() 528 snprintf(dws->name, sizeof(dws->name), "dw_spi%d", dws->bus_num); dw_spi_add_host()
|
/linux-4.1.27/drivers/staging/dgnc/ |
H A D | dgnc_sysfs.c | 32 return snprintf(buf, PAGE_SIZE, "%s\n", DG_PART); dgnc_driver_version_show() 39 return snprintf(buf, PAGE_SIZE, "%d\n", dgnc_NumBoards); dgnc_driver_boards_show() 46 return snprintf(buf, PAGE_SIZE, "%d\n", MAXBOARDS); dgnc_driver_maxboards_show() 53 return snprintf(buf, PAGE_SIZE, "%dms\n", dgnc_poll_tick); dgnc_driver_pollrate_show() 153 count += snprintf(buf + count, PAGE_SIZE - count, dgnc_ports_state_show() 171 count += snprintf(buf + count, PAGE_SIZE - count, dgnc_ports_baud_show() 189 count += snprintf(buf + count, PAGE_SIZE - count, dgnc_ports_msignals_show() 198 count += snprintf(buf + count, PAGE_SIZE - count, dgnc_ports_msignals_show() 216 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", dgnc_ports_iflag_show() 233 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", dgnc_ports_cflag_show() 250 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", dgnc_ports_oflag_show() 267 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", dgnc_ports_lflag_show() 284 count += snprintf(buf + count, PAGE_SIZE - count, "%d %x\n", dgnc_ports_digi_flag_show() 301 count += snprintf(buf + count, PAGE_SIZE - count, "%d %ld\n", dgnc_ports_rxcount_show() 318 count += snprintf(buf + count, PAGE_SIZE - count, "%d %ld\n", dgnc_ports_txcount_show() 389 return snprintf(buf, PAGE_SIZE, "%s", un->un_open_count ? "Open" : "Closed"); dgnc_tty_state_show() 414 return snprintf(buf, PAGE_SIZE, "%d\n", ch->ch_old_baud); dgnc_tty_baud_show() 440 return snprintf(buf, PAGE_SIZE, "%s %s %s %s %s %s\n", dgnc_tty_msignals_show() 473 return snprintf(buf, PAGE_SIZE, "%x\n", ch->ch_c_iflag); dgnc_tty_iflag_show() 498 return snprintf(buf, PAGE_SIZE, "%x\n", ch->ch_c_cflag); dgnc_tty_cflag_show() 523 return snprintf(buf, PAGE_SIZE, "%x\n", ch->ch_c_oflag); dgnc_tty_oflag_show() 548 return snprintf(buf, PAGE_SIZE, "%x\n", ch->ch_c_lflag); dgnc_tty_lflag_show() 573 return snprintf(buf, PAGE_SIZE, "%x\n", ch->ch_digi.digi_flags); dgnc_tty_digi_flag_show() 598 return snprintf(buf, PAGE_SIZE, "%ld\n", ch->ch_rxcount); dgnc_tty_rxcount_show() 623 return snprintf(buf, PAGE_SIZE, "%ld\n", ch->ch_txcount); dgnc_tty_txcount_show() 648 return snprintf(buf, PAGE_SIZE, "%sn%d%c\n", dgnc_tty_name_show()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | overlay-sysfs.c | 36 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); overlay_name_show() 41 return snprintf(buf, PAGE_SIZE, "%s\n", overlay_manager_show() 122 return snprintf(buf, PAGE_SIZE, "%d,%d\n", overlay_input_size_show() 132 return snprintf(buf, PAGE_SIZE, "%d\n", info.screen_width); overlay_screen_width_show() 141 return snprintf(buf, PAGE_SIZE, "%d,%d\n", overlay_position_show() 180 return snprintf(buf, PAGE_SIZE, "%d,%d\n", overlay_output_size_show() 215 return snprintf(buf, PAGE_SIZE, "%d\n", ovl->is_enabled(ovl)); overlay_enabled_show() 245 return snprintf(buf, PAGE_SIZE, "%d\n", overlay_global_alpha_show() 287 return snprintf(buf, PAGE_SIZE, "%d\n", overlay_pre_mult_alpha_show() 328 return snprintf(buf, PAGE_SIZE, "%d\n", info.zorder); overlay_zorder_show()
|
H A D | display-sysfs.c | 33 return snprintf(buf, PAGE_SIZE, "%s\n", display_name_show() 40 return snprintf(buf, PAGE_SIZE, "%d\n", display_enabled_show() 73 return snprintf(buf, PAGE_SIZE, "%d\n", display_tear_show() 107 return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", display_timings_show() 157 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); display_rotate_show() 185 return snprintf(buf, PAGE_SIZE, "%u\n", mirror); display_mirror_show() 217 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); display_wss_show()
|
H A D | manager-sysfs.c | 36 return snprintf(buf, PAGE_SIZE, "%s\n", mgr->name); manager_name_show() 43 return snprintf(buf, PAGE_SIZE, "%s\n", dssdev ? manager_display_show() 134 return snprintf(buf, PAGE_SIZE, "%#x\n", info.default_color); manager_default_color_show() 179 return snprintf(buf, PAGE_SIZE, "%s\n", trans_key_type_str[key_type]); manager_trans_key_type_show() 220 return snprintf(buf, PAGE_SIZE, "%#x\n", info.trans_key); manager_trans_key_value_show() 256 return snprintf(buf, PAGE_SIZE, "%d\n", info.trans_enabled); manager_trans_key_enabled_show() 295 return snprintf(buf, PAGE_SIZE, "%d\n", manager_alpha_blending_enabled_show() 336 return snprintf(buf, PAGE_SIZE, "%d\n", info.cpr_enable); manager_cpr_enable_show() 378 return snprintf(buf, PAGE_SIZE, manager_cpr_coef_show()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_3590.c | 975 snprintf(exception, BUFSIZE, "Data degraded"); tape_3590_print_mim_msg_f0() 978 snprintf(exception, BUFSIZE, "Data degraded in partion %i", tape_3590_print_mim_msg_f0() 982 snprintf(exception, BUFSIZE, "Medium degraded"); tape_3590_print_mim_msg_f0() 985 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", tape_3590_print_mim_msg_f0() 989 snprintf(exception, BUFSIZE, "Block 0 Error"); tape_3590_print_mim_msg_f0() 992 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", tape_3590_print_mim_msg_f0() 996 snprintf(exception, BUFSIZE, "0x%02x", tape_3590_print_mim_msg_f0() 1003 snprintf(service, BUFSIZE, "Reference Media maintenance " tape_3590_print_mim_msg_f0() 1007 snprintf(service, BUFSIZE, "0x%02x", tape_3590_print_mim_msg_f0() 1039 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); tape_3590_print_io_sim_msg_f1() 1042 snprintf(exception, BUFSIZE, "CU Exception - no performance " tape_3590_print_io_sim_msg_f1() 1046 snprintf(exception, BUFSIZE, "CU Exception on channel " tape_3590_print_io_sim_msg_f1() 1050 snprintf(exception, BUFSIZE, "CU Exception on device path " tape_3590_print_io_sim_msg_f1() 1054 snprintf(exception, BUFSIZE, "CU Exception on library path " tape_3590_print_io_sim_msg_f1() 1058 snprintf(exception, BUFSIZE, "CU Exception on node 0x%02x", tape_3590_print_io_sim_msg_f1() 1062 snprintf(exception, BUFSIZE, "CU Exception on partition " tape_3590_print_io_sim_msg_f1() 1066 snprintf(exception, BUFSIZE, "0x%02x", tape_3590_print_io_sim_msg_f1() 1072 snprintf(service, BUFSIZE, "Repair impact is unknown"); tape_3590_print_io_sim_msg_f1() 1075 snprintf(service, BUFSIZE, "Repair will not impact cu " tape_3590_print_io_sim_msg_f1() 1080 snprintf(service, BUFSIZE, "Repair will disable node " tape_3590_print_io_sim_msg_f1() 1083 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_io_sim_msg_f1() 1089 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_io_sim_msg_f1() 1093 snprintf(service, BUFSIZE, "Repair will disable channel" tape_3590_print_io_sim_msg_f1() 1099 snprintf(service, BUFSIZE, "Repair will disable device" tape_3590_print_io_sim_msg_f1() 1102 snprintf(service, BUFSIZE, "Repair will disable device" tape_3590_print_io_sim_msg_f1() 1108 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_io_sim_msg_f1() 1112 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_io_sim_msg_f1() 1117 snprintf(service, BUFSIZE, "Repair will disable access to CU"); tape_3590_print_io_sim_msg_f1() 1120 snprintf(service, BUFSIZE, "0x%02x", tape_3590_print_io_sim_msg_f1() 1150 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); tape_3590_print_dev_sim_msg_f2() 1153 snprintf(exception, BUFSIZE, "DV Exception - no performance" tape_3590_print_dev_sim_msg_f2() 1157 snprintf(exception, BUFSIZE, "DV Exception on channel " tape_3590_print_dev_sim_msg_f2() 1161 snprintf(exception, BUFSIZE, "DV Exception on loader 0x%02x", tape_3590_print_dev_sim_msg_f2() 1165 snprintf(exception, BUFSIZE, "DV Exception on message display" tape_3590_print_dev_sim_msg_f2() 1169 snprintf(exception, BUFSIZE, "DV Exception in tape path"); tape_3590_print_dev_sim_msg_f2() 1172 snprintf(exception, BUFSIZE, "DV Exception in drive"); tape_3590_print_dev_sim_msg_f2() 1175 snprintf(exception, BUFSIZE, "0x%02x", tape_3590_print_dev_sim_msg_f2() 1181 snprintf(service, BUFSIZE, "Repair impact is unknown"); tape_3590_print_dev_sim_msg_f2() 1184 snprintf(service, BUFSIZE, "Repair will not impact device " tape_3590_print_dev_sim_msg_f2() 1189 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1193 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1199 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1202 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1208 snprintf(service, BUFSIZE, "Repair will disable loader" tape_3590_print_dev_sim_msg_f2() 1211 snprintf(service, BUFSIZE, "Repair will disable loader" tape_3590_print_dev_sim_msg_f2() 1216 snprintf(service, BUFSIZE, "Repair will disable access to DV"); tape_3590_print_dev_sim_msg_f2() 1220 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1224 snprintf(service, BUFSIZE, "Repair will disable " tape_3590_print_dev_sim_msg_f2() 1229 snprintf(service, BUFSIZE, "Clean DV"); tape_3590_print_dev_sim_msg_f2() 1232 snprintf(service, BUFSIZE, "0x%02x", tape_3590_print_dev_sim_msg_f2()
|
H A D | sclp_ocf.c | 94 rc = snprintf(page, PAGE_SIZE, "%s\n", cpc_name); cpc_name_show() 108 rc = snprintf(page, PAGE_SIZE, "%s\n", hmc_network); hmc_network_show()
|
H A D | sclp_cpi_sys.c | 227 rc = snprintf(page, PAGE_SIZE, "%s\n", system_name); system_name_show() 259 rc = snprintf(page, PAGE_SIZE, "%s\n", sysplex_name); sysplex_name_show() 291 rc = snprintf(page, PAGE_SIZE, "%s\n", system_type); system_type_show() 325 return snprintf(page, PAGE_SIZE, "%#018llx\n", level); system_level_show()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | sysfs.c | 122 return snprintf(buf, PAGE_SIZE, "%llu\n", nilfs_snapshot_inodes_count_show() 130 return snprintf(buf, PAGE_SIZE, "%llu\n", nilfs_snapshot_blocks_count_show() 143 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); nilfs_snapshot_README_show() 244 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); nilfs_mounted_snapshots_README_show() 282 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); nilfs_checkpoints_checkpoints_number_show() 305 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); nilfs_checkpoints_snapshots_number_show() 319 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); nilfs_checkpoints_last_seg_checkpoint_show() 333 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); nilfs_checkpoints_next_checkpoint_show() 349 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); nilfs_checkpoints_README_show() 380 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_nsegments); nilfs_segments_segments_number_show() 388 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_blocks_per_segment); nilfs_segments_blocks_per_segment_show() 402 return snprintf(buf, PAGE_SIZE, "%lu\n", ncleansegs); nilfs_segments_clean_segments_show() 422 return snprintf(buf, PAGE_SIZE, "%llu\n", sustat.ss_ndirtysegs); nilfs_segments_dirty_segments_show() 438 return snprintf(buf, PAGE_SIZE, segments_readme_str); nilfs_segments_README_show() 475 return snprintf(buf, PAGE_SIZE, "%llu\n", nilfs_segctor_last_pseg_block_show() 490 return snprintf(buf, PAGE_SIZE, "%llu\n", last_seq); nilfs_segctor_last_seg_sequence_show() 504 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); nilfs_segctor_last_seg_checkpoint_show() 518 return snprintf(buf, PAGE_SIZE, "%llu\n", seg_seq); nilfs_segctor_current_seg_sequence_show() 532 return snprintf(buf, PAGE_SIZE, "%llu\n", segnum); nilfs_segctor_current_last_full_seg_show() 546 return snprintf(buf, PAGE_SIZE, "%llu\n", nextnum); nilfs_segctor_next_full_seg_show() 560 return snprintf(buf, PAGE_SIZE, "%lu\n", pseg_offset); nilfs_segctor_next_pseg_offset_show() 574 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); nilfs_segctor_next_checkpoint_show() 602 return snprintf(buf, PAGE_SIZE, "%llu\n", (unsigned long long)ctime); nilfs_segctor_last_seg_write_time_secs_show() 630 return snprintf(buf, PAGE_SIZE, "%llu\n", nilfs_segctor_last_nongc_write_time_secs_show() 645 return snprintf(buf, PAGE_SIZE, "%u\n", ndirtyblks); nilfs_segctor_dirty_data_blocks_count_show() 682 return snprintf(buf, PAGE_SIZE, segctor_readme_str); nilfs_segctor_README_show() 751 return snprintf(buf, PAGE_SIZE, "%llu\n", (unsigned long long)sbwtime); nilfs_superblock_sb_write_time_secs_show() 765 return snprintf(buf, PAGE_SIZE, "%u\n", sbwcount); nilfs_superblock_sb_write_count_show() 779 return snprintf(buf, PAGE_SIZE, "%u\n", sb_update_freq); nilfs_superblock_sb_update_frequency_show() 826 return snprintf(buf, PAGE_SIZE, sb_readme_str); nilfs_superblock_README_show() 861 return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor); nilfs_dev_revision_show() 869 return snprintf(buf, PAGE_SIZE, "%u\n", nilfs->ns_blocksize); nilfs_dev_blocksize_show() 880 return snprintf(buf, PAGE_SIZE, "%llu\n", dev_size); nilfs_dev_device_size_show() 891 return snprintf(buf, PAGE_SIZE, "%llu\n", nilfs_dev_free_blocks_show() 902 return snprintf(buf, PAGE_SIZE, "%pUb\n", sbp[0]->s_uuid); nilfs_dev_uuid_show() 930 return snprintf(buf, PAGE_SIZE, dev_readme_str); nilfs_dev_README_show() 1075 return snprintf(buf, PAGE_SIZE, "%d.%d\n", nilfs_feature_revision_show() 1088 return snprintf(buf, PAGE_SIZE, features_readme_str); nilfs_feature_README_show()
|
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/ |
H A D | adf_drv.c | 135 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); adf_dev_configure() 140 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, adf_dev_configure() 146 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); adf_dev_configure() 153 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); adf_dev_configure() 159 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); adf_dev_configure() 165 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); adf_dev_configure() 171 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_TX, i); adf_dev_configure() 177 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); adf_dev_configure() 183 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); adf_dev_configure() 189 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_RX, i); adf_dev_configure() 195 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); adf_dev_configure() 289 snprintf(name, sizeof(name), "%s%s_dev%d", ADF_DEVICE_NAME_PREFIX, adf_probe()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
H A D | qat_crypto.c | 178 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); qat_crypto_create_instances() 184 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); qat_crypto_create_instances() 191 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); qat_crypto_create_instances() 200 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); qat_crypto_create_instances() 205 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_TX, i); qat_crypto_create_instances() 211 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); qat_crypto_create_instances() 217 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); qat_crypto_create_instances() 223 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_RND_RX, i); qat_crypto_create_instances() 229 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); qat_crypto_create_instances()
|
/linux-4.1.27/block/partitions/ |
H A D | amiga.c | 78 snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); amiga_partition() 122 snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", amiga_partition() 126 snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", amiga_partition() 130 snprintf(tmp, sizeof(tmp), "(res %d spb %d)", amiga_partition()
|
H A D | sysv68.c | 77 snprintf(tmp, sizeof(tmp), "sysV68: %s(s%u)", state->name, slices); sysv68_partition() 87 snprintf(tmp, sizeof(tmp), "(s%u)", i); sysv68_partition()
|
H A D | check.h | 48 snprintf(tmp, sizeof(tmp), " %s%d", p->name, n); put_partition()
|
H A D | msdos.c | 103 snprintf(info->uuid, sizeof(info->uuid), "%08x-%02x", disksig, set_info() 234 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); parse_solaris_x86() 240 snprintf(tmp, sizeof(tmp), " cannot handle version %d vtoc>\n", parse_solaris_x86() 254 snprintf(tmp, sizeof(tmp), " [s%d]", i); parse_solaris_x86() 289 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); parse_bsd() 314 snprintf(tmp, sizeof(tmp), " (ignored %d more)", parse_bsd() 370 snprintf(tmp, sizeof(tmp), " %s%d: <unixware:", state->name, origin); parse_unixware() 417 snprintf(tmp, sizeof(tmp), " %s%d: <minix:", state->name, origin); parse_minix()
|
H A D | cmdline.c | 45 snprintf(tmp, sizeof(tmp), "(%s)", info->volname); add_part()
|
H A D | ibm.c | 147 snprintf(tmp, sizeof(tmp), "VOL1/%8s:", name); find_vol1_partitions() 207 snprintf(tmp, sizeof(tmp), "LNX1/%8s:", name); find_lnx1_partitions() 258 snprintf(tmp, sizeof(tmp), "CMS1/%8s(MDSK):", name); find_cms1_partitions() 264 snprintf(tmp, sizeof(tmp), "CMS1/%8s:", name); find_cms1_partitions()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | printk.c | 78 snprintf(obuf, sizeof(obuf), "[0x%08x]", nv_printk_() 86 snprintf(mfmt, sizeof(mfmt), "%snouveau %c[%8s][%s]%s %s", pfx, nv_printk_() 94 snprintf(mfmt, sizeof(mfmt), "%snouveau %c[%8s] %s", pfx, nv_printk_() 97 snprintf(mfmt, sizeof(mfmt), "%snouveau: %s", pfx, fmt); nv_printk_()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ", fb_cvt_print_name() 233 snprintf(buf+offset, cnt, "Not a CVT standard - %d.%03d Mega " fb_cvt_print_name() 237 read = snprintf(buf+offset, cnt, "%d", pixcount); fb_cvt_print_name() 242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod); fb_cvt_print_name() 247 read = snprintf(buf+offset, cnt, "3"); fb_cvt_print_name() 249 read = snprintf(buf+offset, cnt, "4"); fb_cvt_print_name() 251 read = snprintf(buf+offset, cnt, "9"); fb_cvt_print_name() 253 read = snprintf(buf+offset, cnt, "A"); fb_cvt_print_name() 260 read = snprintf(buf+offset, cnt, "-R"); fb_cvt_print_name()
|
H A D | fbsysfs.c | 123 return snprintf(&buf[offset], PAGE_SIZE - offset, "%c:%dx%d%c-%d\n", mode_string() 238 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.bits_per_pixel); show_bpp() 265 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.rotate); show_rotate() 293 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xres_virtual, show_virtual() 301 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->fix.line_length); show_stride() 388 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset, show_pan() 397 return snprintf(buf, PAGE_SIZE, "%s\n", fb_info->fix.id); show_name() 428 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->state); show_fbstate() 488 len += snprintf(&buf[len], PAGE_SIZE, "%8ph\n", show_bl_curve()
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_nat_ftp.c | 36 return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", nf_nat_ftp_fmt_cmd() 45 return snprintf(buffer, buflen, "|1|%pI4|%u|", nf_nat_ftp_fmt_cmd() 48 return snprintf(buffer, buflen, "|2|%pI6|%u|", nf_nat_ftp_fmt_cmd() 51 return snprintf(buffer, buflen, "|||%u|", port); nf_nat_ftp_fmt_cmd()
|
/linux-4.1.27/drivers/usb/mon/ |
H A D | mon_text.c | 350 snprintf(rp->slab_name, SLAB_NAME_SZ, "mon_text_%p", rp); mon_text_open() 398 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, mon_text_read_t() 434 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, mon_text_read_u() 488 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_head_t() 506 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_head_u() 517 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_statset() 525 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_statset() 528 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_statset() 536 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_intstat() 544 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_isostat() 547 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_isostat() 560 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_isodesc() 569 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_isodesc() 582 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_data() 588 p->cnt += snprintf(p->pbuf + p->cnt, mon_text_read_data() 592 p->cnt += snprintf(p->pbuf + p->cnt, mon_text_read_data() 596 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_data() 599 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, mon_text_read_data() 603 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, "\n"); mon_text_read_data() 678 rc = snprintf(name, NAMESZ, "%dt", busnum); mon_text_add() 688 rc = snprintf(name, NAMESZ, "%du", busnum); mon_text_add() 696 rc = snprintf(name, NAMESZ, "%ds", busnum); mon_text_add()
|
H A D | mon_stat.c | 36 sp->slen = snprintf(sp->str, STAT_BUF_SIZE, mon_stat_open()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_devmap.c | 723 return snprintf(buf, PAGE_SIZE, ff_flag ? "1\n" : "0\n"); dasd_ff_show() 768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); dasd_ro_show() 820 return snprintf(buf, PAGE_SIZE, erplog ? "1\n" : "0\n"); dasd_erplog_show() 1000 len = snprintf(buf, PAGE_SIZE, "%s\n", dasd_discipline_show() 1006 len = snprintf(buf, PAGE_SIZE, "none\n"); dasd_discipline_show() 1023 len = snprintf(buf, PAGE_SIZE, "new\n"); dasd_device_status_show() 1026 len = snprintf(buf, PAGE_SIZE, "detected\n"); dasd_device_status_show() 1029 len = snprintf(buf, PAGE_SIZE, "basic\n"); dasd_device_status_show() 1032 len = snprintf(buf, PAGE_SIZE, "unformatted\n"); dasd_device_status_show() 1035 len = snprintf(buf, PAGE_SIZE, "ready\n"); dasd_device_status_show() 1038 len = snprintf(buf, PAGE_SIZE, "online\n"); dasd_device_status_show() 1041 len = snprintf(buf, PAGE_SIZE, "no stat\n"); dasd_device_status_show() 1046 len = snprintf(buf, PAGE_SIZE, "unknown\n"); dasd_device_status_show() 1087 return snprintf(buf, PAGE_SIZE, "%s\n", vendor); dasd_vendor_show() 1095 return snprintf(buf, PAGE_SIZE, "%s\n", vendor); dasd_vendor_show() 1115 return snprintf(buf, PAGE_SIZE, "%s\n", uid_string); dasd_uid_show() 1121 snprintf(ua_string, sizeof(ua_string), "%02x", dasd_uid_show() 1125 snprintf(ua_string, sizeof(ua_string), "%02x", dasd_uid_show() 1129 snprintf(ua_string, sizeof(ua_string), "xx"); dasd_uid_show() 1133 snprintf(ua_string, sizeof(ua_string), "%02x", dasd_uid_show() 1139 snprintf(uid_string, sizeof(uid_string), dasd_uid_show() 1144 snprintf(uid_string, sizeof(uid_string), dasd_uid_show() 1150 return snprintf(buf, PAGE_SIZE, "%s\n", uid_string); dasd_uid_show() 1168 return snprintf(buf, PAGE_SIZE, eer_flag ? "1\n" : "0\n"); dasd_eer_show() 1212 len = snprintf(buf, PAGE_SIZE, "%lu\n", device->default_expires); dasd_expires_show() 1252 len = snprintf(buf, PAGE_SIZE, "%lu\n", device->default_retries); dasd_retries_show() 1293 len = snprintf(buf, PAGE_SIZE, "%lu\n", device->blk_timeout); dasd_timeout_show() 1347 rc = snprintf(buf, PAGE_SIZE, "ignore\n"); dasd_reservation_policy_show() 1351 rc = snprintf(buf, PAGE_SIZE, "fail\n"); dasd_reservation_policy_show() 1353 rc = snprintf(buf, PAGE_SIZE, "ignore\n"); dasd_reservation_policy_show() 1398 return snprintf(buf, PAGE_SIZE, "none\n"); dasd_reservation_state_show() 1401 rc = snprintf(buf, PAGE_SIZE, "reserved\n"); dasd_reservation_state_show() 1403 rc = snprintf(buf, PAGE_SIZE, "lost\n"); dasd_reservation_state_show() 1405 rc = snprintf(buf, PAGE_SIZE, "none\n"); dasd_reservation_state_show()
|
/linux-4.1.27/security/tomoyo/ |
H A D | audit.c | 36 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); tomoyo_print_bprm() 103 snprintf(buffer, tomoyo_buffer_len - 1, tomoyo_print_bprm() 161 pos = snprintf(buffer, tomoyo_buffer_len - 1, tomoyo_print_header() 193 pos += snprintf(buffer + pos, tomoyo_print_header() 203 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, tomoyo_print_header() 213 pos += snprintf(buffer + pos, tomoyo_print_header() 218 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, tomoyo_print_header() 274 pos = snprintf(buf, len, "%s", header); tomoyo_init_log() 277 pos += snprintf(buf + pos, len - pos, tomoyo_init_log() 281 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", tomoyo_init_log() 283 pos += snprintf(buf + pos, len - pos, "\n%s\n", domainname); tomoyo_init_log()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 722 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); bfad_im_serial_num_show() 736 return snprintf(buf, PAGE_SIZE, "%s\n", model); bfad_im_model_show() 754 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 757 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 760 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 763 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 766 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 769 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 772 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 775 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 778 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 781 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 784 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 787 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 790 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 794 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 797 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 800 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 803 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 807 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 810 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 813 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, bfad_im_model_desc_show() 816 return snprintf(buf, PAGE_SIZE, "%s\n", model_descr); bfad_im_model_desc_show() 830 return snprintf(buf, PAGE_SIZE, "0x%llx\n", cpu_to_be64(nwwn)); bfad_im_node_name_show() 847 return snprintf(buf, PAGE_SIZE, "%s\n", symname); bfad_im_symbolic_name_show() 861 return snprintf(buf, PAGE_SIZE, "%s\n", hw_ver); bfad_im_hw_version_show() 868 return snprintf(buf, PAGE_SIZE, "%s\n", BFAD_DRIVER_VERSION); bfad_im_drv_version_show() 882 return snprintf(buf, PAGE_SIZE, "%s\n", optrom_ver); bfad_im_optionrom_version_show() 896 return snprintf(buf, PAGE_SIZE, "%s\n", fw_ver); bfad_im_fw_version_show() 908 return snprintf(buf, PAGE_SIZE, "%d\n", bfad_im_num_of_ports_show() 916 return snprintf(buf, PAGE_SIZE, "%s\n", BFAD_DRIVER_NAME); bfad_im_drv_name_show() 935 return snprintf(buf, PAGE_SIZE, "Failed\n"); bfad_im_num_of_discovered_ports_show() 942 return snprintf(buf, PAGE_SIZE, "%d\n", nrports); bfad_im_num_of_discovered_ports_show()
|
/linux-4.1.27/arch/x86/platform/uv/ |
H A D | uv_sysfs.c | 31 return snprintf(buf, PAGE_SIZE, "%ld\n", sn_partition_id); partition_id_show() 37 return snprintf(buf, PAGE_SIZE, "%ld\n", partition_coherence_id()); coherence_id_show()
|
/linux-4.1.27/arch/tile/gxio/ |
H A D | usb_host.c | 36 snprintf(file, sizeof(file), "usb_host/%d/iorpc/ehci", gxio_usb_host_init() 39 snprintf(file, sizeof(file), "usb_host/%d/iorpc/ohci", gxio_usb_host_init()
|
H A D | trio.c | 33 snprintf(file, sizeof(file), "trio/%d/iorpc", trio_index); gxio_trio_init()
|
H A D | uart.c | 33 snprintf(file, sizeof(file), "uart/%d/iorpc", uart_index); gxio_uart_init()
|
/linux-4.1.27/tools/cgroup/ |
H A D | cgroup_event_listener.c | 37 ret = snprintf(event_control_path, PATH_MAX, "%s/cgroup.event_control", main() 50 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); main()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | sysfs.c | 89 count = snprintf(buf, PAGE_SIZE, "0 (No Interference" b43legacy_attr_interfmode_show() 93 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" b43legacy_attr_interfmode_show() 97 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference" b43legacy_attr_interfmode_show() 170 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble" b43legacy_attr_preamble_show() 173 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble" b43legacy_attr_preamble_show()
|
H A D | leds.c | 150 snprintf(name, sizeof(name), b43legacy_map_led() 155 snprintf(name, sizeof(name), b43legacy_map_led() 165 snprintf(name, sizeof(name), b43legacy_map_led() 176 snprintf(name, sizeof(name), b43legacy_map_led()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_sysfs.c | 83 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.log_recovery_delay); log_recovery_delay_show() 144 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); log_head_lsn_show() 158 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); log_tail_lsn_show() 172 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); reserve_grant_head_show() 186 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); write_grant_head_show()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 263 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_driver_version() 275 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_driver_posted_cmd() 287 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_driver_reset() 299 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_driver_abort() 311 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_model() 324 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_version() 337 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_request_len() 350 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_numbers_queue() 363 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_sdram_size() 376 return snprintf(buf, PAGE_SIZE, arcmsr_attr_host_fw_hd_channels()
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 43 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->rotation_type); show_rotate_type() 98 return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->mirror); show_mirror() 164 l += snprintf(buf + l, PAGE_SIZE - l, "%s%d", show_overlays() 168 l += snprintf(buf + l, PAGE_SIZE - l, "\n"); show_overlays() 347 l += snprintf(buf + l, PAGE_SIZE - l, "%s%d", show_overlays_rotate() 351 l += snprintf(buf + l, PAGE_SIZE - l, "\n"); show_overlays_rotate() 435 return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region->size); show_size() 513 return snprintf(buf, PAGE_SIZE, "%0x\n", ofbi->region->paddr); show_phys() 522 return snprintf(buf, PAGE_SIZE, "%p\n", ofbi->region->vaddr); show_virt() 537 return snprintf(buf, PAGE_SIZE, "%u\n", (unsigned)mode); show_upd_mode()
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
H A D | sysfs.c | 58 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); sysfs_is_cpu_online() 67 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); sysfs_is_cpu_online() 112 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_file_exists() 132 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_read_file() 167 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_write_file() 313 snprintf(value, SYSFS_PATH_MAX, "%u", disable); sysfs_idlestate_disable() 362 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); sysfs_get_idlestate_count() 366 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); sysfs_get_idlestate_count() 371 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU sysfs_get_idlestate_count() 390 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); sysfs_cpuidle_read_file()
|
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_spi.c | 142 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 145 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), FLAVOR); dbgfs_state() 147 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 149 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 151 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 153 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 155 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 157 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 159 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 161 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 163 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_state() 181 len += snprintf((buf + len), (size - len), print_frame() 187 len += snprintf((buf + len), (size - len), print_frame() 193 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), print_frame() 197 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), "\n"); print_frame() 215 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_frame() 218 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_frame() 225 len += snprintf((buf + len), (DEBUGFS_BUF_SIZE - len), dbgfs_frame()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 71 len += snprintf(buf + len, PAGE_SIZE - len, " From : To\n"); show_trans_table() 72 len += snprintf(buf + len, PAGE_SIZE - len, " : "); show_trans_table() 76 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ", show_trans_table() 82 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); show_trans_table() 88 len += snprintf(buf + len, PAGE_SIZE - len, "%9u: ", show_trans_table() 94 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ", show_trans_table() 99 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); show_trans_table()
|
/linux-4.1.27/net/sunrpc/ |
H A D | addr.c | 39 return snprintf(buf, buflen, "::"); rpc_ntop6_noscopeid() 47 return snprintf(buf, buflen, "::1"); rpc_ntop6_noscopeid() 56 return snprintf(buf, buflen, "::ffff:%pI4", rpc_ntop6_noscopeid() 62 return snprintf(buf, buflen, "%pI6c", addr); rpc_ntop6_noscopeid() 82 rc = snprintf(scopebuf, sizeof(scopebuf), "%c%u", rpc_ntop6() 116 return snprintf(buf, buflen, "%pI4", &sin->sin_addr); rpc_ntop4() 289 if (snprintf(portbuf, sizeof(portbuf), rpc_sockaddr2uaddr()
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoeblk.c | 40 return snprintf(page, PAGE_SIZE, aoedisk_show_state() 55 return snprintf(page, PAGE_SIZE, "none\n"); aoedisk_show_mac() 56 return snprintf(page, PAGE_SIZE, "%pm\n", t->addr); aoedisk_show_mac() 88 return snprintf(page, PAGE_SIZE, "none\n"); aoedisk_show_netif() 90 p += snprintf(p, PAGE_SIZE - (p-page), "%s%s", aoedisk_show_netif() 92 p += snprintf(p, PAGE_SIZE - (p-page), "\n"); aoedisk_show_netif() 102 return snprintf(page, PAGE_SIZE, "0x%04x\n", (unsigned int) d->fw_ver); aoedisk_show_fwver() 110 return snprintf(page, PAGE_SIZE, "%lu\n", d->maxbcnt); aoedisk_show_payload() 412 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", aoeblk_gdalloc()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | sysfs.c | 70 snprintf(buf, PAGE_SIZE, b43_attr_interfmode_show() 75 snprintf(buf, PAGE_SIZE, b43_attr_interfmode_show() 80 snprintf(buf, PAGE_SIZE, b43_attr_interfmode_show()
|
H A D | leds.c | 177 snprintf(name, sizeof(name), b43_map_led() 182 snprintf(name, sizeof(name), b43_map_led() 192 snprintf(name, sizeof(name), b43_map_led() 200 snprintf(name, sizeof(name), b43_map_led()
|
/linux-4.1.27/tools/thermal/tmon/ |
H A D | sysfs.c | 47 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_set_ulong() 71 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_get_ulong() 90 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_get_string() 139 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); get_trip_point_data() 225 snprintf(cdev_name, 256, "%s/%s", tz_name, nl->d_name); find_tzone_cdev() 238 snprintf(cdev_trip_name, 256, "%s%s", nl->d_name, find_tzone_cdev() 299 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); scan_tzones() 358 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); scan_cdevs() 507 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, update_thermal_data() 519 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, update_thermal_data() 557 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, set_ctrl_state() 587 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, get_ctrl_state()
|
H A D | tui.c | 428 snprintf(buf, 31, "Invalid Temp %d! %d-%d", val, handle_input_val() 434 snprintf(buf, 31, "Set New Target Temp %d", val); handle_input_val() 438 snprintf(path, 256, "%s/%s%d", THERMAL_SYSFS, handle_input_val() 462 snprintf(buf, sizeof(buf), "New Target Temp:"); handle_input_choice() 464 snprintf(buf, sizeof(buf), "New Value for %.10s-%2d: ", handle_input_choice() 470 snprintf(buf, sizeof(buf), "Invalid selection %d", ch); handle_input_choice()
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
H A D | oid_mgt.c | 795 return snprintf(str, PRIV_STR_SIZE, "%u\n", r->u); mgt_response_to_str() 798 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 805 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 816 k = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", list->nr); mgt_response_to_str() 818 k += snprintf(str + k, PRIV_STR_SIZE - k, mgt_response_to_str() 834 t = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", freq->nr); mgt_response_to_str() 836 t += snprintf(str + t, PRIV_STR_SIZE - t, mgt_response_to_str() 843 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 850 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 858 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 866 return snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 875 t = snprintf(str, PRIV_STR_SIZE, mgt_response_to_str() 879 t += snprintf(str + t, PRIV_STR_SIZE - t, mgt_response_to_str() 881 t += snprintf(str + t, PRIV_STR_SIZE - t, "\n"); mgt_response_to_str() 889 t = snprintf(str, PRIV_STR_SIZE, "hex data="); mgt_response_to_str() 891 t += snprintf(str + t, PRIV_STR_SIZE - t, mgt_response_to_str() 893 t += snprintf(str + t, PRIV_STR_SIZE - t, "\n"); mgt_response_to_str()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | sierra_ms.c | 100 result = snprintf(buf, PAGE_SIZE, "Forced Mass Storage\n"); show_truinst() 104 snprintf(buf, PAGE_SIZE, "Error\n"); show_truinst() 111 snprintf(buf, PAGE_SIZE, "Error\n"); show_truinst() 115 result = snprintf(buf, PAGE_SIZE, show_truinst()
|
/linux-4.1.27/tools/perf/ui/gtk/ |
H A D | progress.c | 35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total); gtk_ui_progress__update()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_hwmon.c | 49 return snprintf(buf, PAGE_SIZE, "%d\n", temp * 1000); nouveau_hwmon_show_temp() 58 return snprintf(buf, PAGE_SIZE, "%d\n", 100); nouveau_hwmon_show_temp1_auto_point1_pwm() 71 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_temp1_auto_point1_temp() 104 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_temp1_auto_point1_temp_hyst() 136 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_max_temp() 167 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_max_temp_hyst() 199 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_critical_temp() 232 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_critical_temp_hyst() 265 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_emergency_temp() 298 return snprintf(buf, PAGE_SIZE, "%d\n", nouveau_hwmon_emergency_temp_hyst() 351 return snprintf(buf, PAGE_SIZE, "%d\n", therm->fan_sense(therm)); nouveau_hwmon_show_fan1_input()
|
/linux-4.1.27/arch/mips/jz4740/ |
H A D | clock-debugfs.c | 80 snprintf(parent_path, 100, "../%s", clk->parent->name); jz4740_clock_debugfs_add_clk() 94 snprintf(parent_path, 100, "../%s", clk->parent->name); jz4740_clock_debugfs_update_parent()
|
/linux-4.1.27/sound/firewire/dice/ |
H A D | dice-midi.c | 99 snprintf(subs->name, sizeof(subs->name), set_midi_substream_names() 127 snprintf(rmidi->name, sizeof(rmidi->name), snd_dice_create_midi()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmutil/ |
H A D | utils.c | 270 snprintf(buf, BRCMU_BOARDREV_LEN, "%d.%d", brcmu_boardrev_str() 274 snprintf(buf, BRCMU_BOARDREV_LEN, "%c%03x", c, brev & 0xfff); brcmu_boardrev_str() 285 snprintf(buf, BRCMU_DOTREV_LEN, "unknown"); brcmu_dotrev_str() 294 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d.%d.%d", dotval[0], brcmu_dotrev_str() 297 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d.%d", dotval[0], brcmu_dotrev_str() 300 snprintf(buf, BRCMU_DOTREV_LEN, "%d.%d", dotval[0], brcmu_dotrev_str()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | sch5627.c | 211 return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME); show_name() 225 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp() 237 return snprintf(buf, PAGE_SIZE, "%d\n", data->temp[attr->index] == 0); show_temp_fault() 248 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp_max() 259 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp_crit() 276 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_fan() 288 return snprintf(buf, PAGE_SIZE, "%d\n", show_fan_fault() 301 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_fan_min() 317 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_in() 325 return snprintf(buf, PAGE_SIZE, "%s\n", show_in_label()
|
H A D | sch5636.c | 176 return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME); show_name() 192 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_in_value() 200 return snprintf(buf, PAGE_SIZE, "%s\n", show_in_label() 215 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp_value() 229 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp_fault() 243 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_temp_alarm() 260 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_fan_value() 274 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_fan_fault() 288 return snprintf(buf, PAGE_SIZE, "%d\n", val); show_fan_alarm()
|
H A D | vexpress.c | 37 return snprintf(buffer, PAGE_SIZE, "%s\n", label); vexpress_hwmon_label_show() 51 return snprintf(buffer, PAGE_SIZE, "%u\n", value / vexpress_hwmon_u32_show() 70 return snprintf(buffer, PAGE_SIZE, "%llu\n", vexpress_hwmon_u64_show()
|
H A D | lm95245.c | 232 return snprintf(buf, PAGE_SIZE - 1, "%d\n", temp); show_input() 241 return snprintf(buf, PAGE_SIZE - 1, "%d\n", show_limit() 278 return snprintf(buf, PAGE_SIZE - 1, "%d\n", hyst * 1000); show_crit_hyst() 314 return snprintf(buf, PAGE_SIZE - 1, show_type() 353 return snprintf(buf, PAGE_SIZE - 1, "%d\n", show_alarm() 362 return snprintf(buf, PAGE_SIZE - 1, "%lu\n", data->interval); show_interval()
|
H A D | ltc4215.c | 146 return snprintf(buf, PAGE_SIZE, "%d\n", voltage); ltc4215_show_voltage() 155 return snprintf(buf, PAGE_SIZE, "%u\n", curr); ltc4215_show_current() 168 return snprintf(buf, PAGE_SIZE, "%u\n", power); ltc4215_show_power() 180 return snprintf(buf, PAGE_SIZE, "%u\n", !!(reg & mask)); ltc4215_show_alarm()
|
H A D | ibmpowernv.c | 135 n = snprintf(sdata->label, sizeof(sdata->label), "%s", label); make_sensor_label() 150 n += snprintf(sdata->label + n, make_sensor_label() 154 n += snprintf(sdata->label + n, make_sensor_label() 162 n += snprintf(sdata->label + n, sizeof(sdata->label) - n, make_sensor_label() 332 snprintf(sdata->name, MAX_ATTR_LEN, "%s%d_%s", create_hwmon_attr()
|
H A D | lm95241.c | 146 return snprintf(buf, PAGE_SIZE - 1, "%d\n", show_input() 158 return snprintf(buf, PAGE_SIZE - 1, show_type() 205 return snprintf(buf, PAGE_SIZE - 1, show_min() 242 return snprintf(buf, PAGE_SIZE - 1, show_max() 279 return snprintf(buf, PAGE_SIZE - 1, "%lu\n", 1000 * data->interval show_interval()
|
H A D | s3c-hwmon.c | 107 return (ret < 0) ? ret : snprintf(buf, PAGE_SIZE, "%d\n", ret); s3c_hwmon_show_raw() 181 return snprintf(buf, PAGE_SIZE, "%d\n", ret); s3c_hwmon_ch_show() 202 return snprintf(buf, PAGE_SIZE, "%s\n", cfg->name); s3c_hwmon_label_show() 227 snprintf(attrs->in_name, sizeof(attrs->in_name), "in%d_input", channel); s3c_hwmon_create_attr() 244 snprintf(attrs->label_name, sizeof(attrs->label_name), s3c_hwmon_create_attr()
|
H A D | applesmc.c | 715 return snprintf(buf, PAGE_SIZE, "applesmc\n"); applesmc_name_show() 738 return snprintf(buf, PAGE_SIZE, "(%d,%d,%d)\n", x, y, z); applesmc_position_show() 776 return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", left, right); applesmc_light_show() 785 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", key); applesmc_show_sensor_label() 803 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", temp); applesmc_show_temperature() 822 return snprintf(sysfsbuf, PAGE_SIZE, "%u\n", speed); applesmc_show_fan_speed() 862 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", manual); applesmc_show_fan_manual() 914 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", buffer+4); applesmc_show_fan_position() 920 return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", rest_x, rest_y); applesmc_calibrate_show() 963 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", count); applesmc_key_count_show() 991 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", entry->len); applesmc_key_at_index_data_length_show() 1003 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", entry->type); applesmc_key_at_index_type_show() 1015 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", entry->key); applesmc_key_at_index_name_show() 1021 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", key_at_index); applesmc_key_at_index_show()
|
H A D | i5k_amb.c | 295 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init() 310 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init() 325 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init() 341 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init() 357 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init() 373 snprintf(iattr->name, AMB_SYSFS_NAME_LEN, i5k_amb_hwmon_init()
|
H A D | ltc4260.c | 91 return snprintf(buf, PAGE_SIZE, "%d\n", value); ltc4260_show_value() 110 return snprintf(buf, PAGE_SIZE, "%d\n", !!fault); ltc4260_show_bool()
|
/linux-4.1.27/fs/btrfs/ |
H A D | sysfs.c | 105 return snprintf(buf, PAGE_SIZE, "%d\n", val); btrfs_feature_attr_show() 232 return snprintf(buf, PAGE_SIZE, "%llu\n", val); btrfs_show_u64() 278 return snprintf(buf, PAGE_SIZE, "%llu\n", val); raid_bytes_show() 314 return snprintf(buf, PAGE_SIZE, "%lld\n", val); btrfs_space_info_show_total_bytes_pinned() 364 return snprintf(buf, PAGE_SIZE, label[0] ? "%s\n" : "%s", label); btrfs_label_show() 406 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); btrfs_nodesize_show() 416 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); btrfs_sectorsize_show() 426 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->sectorsize); btrfs_clone_alignment_show() 554 len += snprintf(str + len, bufsize - len, "%s%s", btrfs_printable_features() 594 snprintf(name, 13, "%s:%u", init_feature_attrs()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
H A D | router_proc.c | 140 len = snprintf(tmpstr, tmpsiz, __proc_lnet_stats() 195 s += snprintf(s, tmpstr + tmpsiz - s, "Routing %s\n", proc_lnet_routes() 199 s += snprintf(s, tmpstr + tmpsiz - s, "%-8s %4s %8s %7s %s\n", proc_lnet_routes() 260 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_routes() 319 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_routers() 387 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_routers() 394 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_routers() 460 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_peers() 556 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_peers() 616 s += snprintf(s, tmpstr + tmpsiz - s, __proc_lnet_buffers() 629 s += snprintf(s, tmpstr + tmpsiz - s, cfs_percpt_for_each() 681 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_nis() 743 s += snprintf(s, tmpstr + tmpsiz - s, proc_lnet_nis() 839 rc = snprintf(buf, buf_len, __proc_lnet_portal_rotor()
|
/linux-4.1.27/mm/ |
H A D | hugetlb_cgroup.c | 327 snprintf(buf, size, "%luGB", hsize >> 30); mem_fmt() 329 snprintf(buf, size, "%luMB", hsize >> 20); mem_fmt() 331 snprintf(buf, size, "%luKB", hsize >> 10); mem_fmt() 346 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.limit_in_bytes", buf); __hugetlb_cgroup_file_init() 353 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.usage_in_bytes", buf); __hugetlb_cgroup_file_init() 359 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.max_usage_in_bytes", buf); __hugetlb_cgroup_file_init() 366 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.failcnt", buf); __hugetlb_cgroup_file_init()
|
/linux-4.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 62 return snprintf(buf, PAGE_SIZE, "%d\n", pm8001_ctl_mpi_interface_rev_show() 65 return snprintf(buf, PAGE_SIZE, "%d\n", pm8001_ctl_mpi_interface_rev_show() 87 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", pm8001_ctl_fw_version_show() 93 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", pm8001_ctl_fw_version_show() 116 return snprintf(buf, PAGE_SIZE, "%d\n", pm8001_ctl_max_out_io_show() 119 return snprintf(buf, PAGE_SIZE, "%d\n", pm8001_ctl_max_out_io_show() 139 return snprintf(buf, PAGE_SIZE, "%04d\n", pm8001_ctl_max_devices_show() 143 return snprintf(buf, PAGE_SIZE, "%04d\n", pm8001_ctl_max_devices_show() 165 return snprintf(buf, PAGE_SIZE, "%04d\n", pm8001_ctl_max_sg_list_show() 169 return snprintf(buf, PAGE_SIZE, "%04d\n", pm8001_ctl_max_sg_list_show() 236 return snprintf(buf, PAGE_SIZE, "0x%016llx\n", pm8001_ctl_host_sas_address_show() 256 return snprintf(buf, PAGE_SIZE, "%08xh\n", pm8001_ha->logging_level); pm8001_ctl_logging_level_show() 727 return snprintf(buf, PAGE_SIZE, "status=%x %s\n", pm8001_show_update_fw()
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 79 n = snprintf(ptr, rem, "%%BUSY"); refill_buf() 85 n = snprintf(ptr, rem, "\t%s", perfcntr->name); refill_buf() 107 n = snprintf(ptr, rem, "%3d.%d%%", val / 10, val % 10); refill_buf() 114 n = snprintf(ptr, rem, "\t%5d.%02d", refill_buf() 121 n = snprintf(ptr, rem, "\n"); refill_buf()
|
/linux-4.1.27/net/mac80211/ |
H A D | led.c | 55 snprintf(local->rx_led_name, sizeof(local->rx_led_name), ieee80211_led_names() 57 snprintf(local->tx_led_name, sizeof(local->tx_led_name), ieee80211_led_names() 59 snprintf(local->assoc_led_name, sizeof(local->assoc_led_name), ieee80211_led_names() 61 snprintf(local->radio_led_name, sizeof(local->radio_led_name), ieee80211_led_names() 229 snprintf(tpt_trig->name, sizeof(tpt_trig->name), __ieee80211_create_tpt_led_trigger()
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 179 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); read_record() 309 snprintf(buff, sizeof(buff), "%u %d %u %u", usbip_vhci_attach_device2() 314 snprintf(attach_attr_path, sizeof(attach_attr_path), "%s/%s", usbip_vhci_attach_device2() 351 snprintf(buff, sizeof(buff), "%u", port); usbip_vhci_detach_device() 355 snprintf(detach_attr_path, sizeof(detach_attr_path), "%s/%s", usbip_vhci_detach_device()
|
H A D | usbip_common.c | 259 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); usbip_names_get_product() 268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); usbip_names_get_class() 284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); usbip_names_get_class()
|
H A D | usbip_host_driver.c | 47 snprintf(status_attr_path, SYSFS_PATH_MAX, "%s/usbip_status", read_attr_usbip_status() 247 snprintf(sockfd_attr_path, sizeof(sockfd_attr_path), "%s/%s", usbip_host_export_device() 250 snprintf(sockfd_buff, sizeof(sockfd_buff), "%d\n", sockfd); usbip_host_export_device()
|
/linux-4.1.27/drivers/iommu/ |
H A D | of_iommu.c | 57 snprintf(propname, sizeof(propname), "%sdma-window", prefix); of_get_dma_window() 58 snprintf(addrname, sizeof(addrname), "%s#dma-address-cells", prefix); of_get_dma_window() 59 snprintf(sizename, sizeof(sizename), "%s#dma-size-cells", prefix); of_get_dma_window()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | smsgiucv_app.c | 89 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); smsg_app_event_alloc() 90 snprintf(ev->envp[1], ENV_PREFIX_LEN, ENV_PREFIX_STR "%s", SMSG_PREFIX); smsg_app_event_alloc() 91 snprintf(ev->envp[2], ENV_TEXT_LEN(msg), ENV_TEXT_STR "%s", msg); smsg_app_event_alloc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
H A D | nidstrings.c | 92 snprintf(str, LNET_NIDSTR_SIZE, "%u.%u.%u.%u", libcfs_ip_addr2str() 119 snprintf(str, LNET_NIDSTR_SIZE, "%u", addr); libcfs_decnum_addr2str() 124 snprintf(str, LNET_NIDSTR_SIZE, "0x%x", addr); libcfs_hexnum_addr2str() 367 snprintf(str, LNET_NIDSTR_SIZE, "?%d?", lnd); libcfs_lnd2str() 393 snprintf(str, LNET_NIDSTR_SIZE, "<%d:%d>", lnd, num); libcfs_net2str() 395 snprintf(str, LNET_NIDSTR_SIZE, "%s", nf->nf_name); libcfs_net2str() 397 snprintf(str, LNET_NIDSTR_SIZE, "%s%d", nf->nf_name, num); libcfs_net2str() 421 snprintf(str, LNET_NIDSTR_SIZE, "%x@<%d:%d>", addr, lnd, nnum); libcfs_nid2str() 426 snprintf(str + nob, LNET_NIDSTR_SIZE - nob, "@%s", libcfs_nid2str() 429 snprintf(str + nob, LNET_NIDSTR_SIZE - nob, "@%s%d", libcfs_nid2str() 518 snprintf(str, LNET_NIDSTR_SIZE, libcfs_id2str() 523 snprintf(str, LNET_NIDSTR_SIZE, "%s%u-%s", libcfs_id2str()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | sysfs.c | 37 len = snprintf(buf, len, "%d\n\n0 - off\n1 - on\n", wl1271_sysfs_show_bt_coex_state() 98 len = snprintf(buf, len, "%d\n", wl->hw_pg_ver); wl1271_sysfs_show_hw_pg_ver() 100 len = snprintf(buf, len, "n/a\n"); wl1271_sysfs_show_hw_pg_ver()
|
/linux-4.1.27/arch/arm/mach-exynos/ |
H A D | pm_domains.c | 147 snprintf(clk_name, sizeof(clk_name), "asb%d", i); exynos4_pm_init_power_domain() 160 snprintf(clk_name, sizeof(clk_name), "clk%d", i); exynos4_pm_init_power_domain() 164 snprintf(clk_name, sizeof(clk_name), "pclk%d", i); exynos4_pm_init_power_domain()
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
H A D | stk1160-ac97.c | 107 snprintf(card->shortname, sizeof(card->shortname), stk1160_ac97_register() 109 snprintf(card->longname, sizeof(card->longname), stk1160_ac97_register()
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | debugfs.c | 62 snprintf(buf, 32, "card%i", adapter->adapter_num); cxl_debugfs_adapter_add() 91 snprintf(buf, 32, "psl%i.%i", afu->adapter->adapter_num, afu->slice); cxl_debugfs_afu_add()
|
/linux-4.1.27/drivers/firmware/efi/ |
H A D | runtime-map.c | 40 return snprintf(buf, PAGE_SIZE, "0x%x\n", entry->md.type); type_show() 48 return snprintf(buf, PAGE_SIZE, "0x%llx\n", EFI_RUNTIME_FIELD(name)); \
|
H A D | cper.c | 99 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); cper_print_bits() 101 len += snprintf(buf+len, sizeof(buf)-len, ", %s", str); cper_print_bits() 264 n = snprintf(msg, len, "DIMM location: %s %s ", bank, device); cper_dimm_err_location() 266 n = snprintf(msg, len, cper_dimm_err_location() 404 snprintf(newpfx, sizeof(newpfx), "%s%s", pfx, INDENT_SP); cper_estatus_print_section() 454 snprintf(newpfx, sizeof(newpfx), "%s%s", pfx, INDENT_SP); cper_estatus_print()
|
H A D | efi.c | 493 type_len = snprintf(pos, size, "[type=%u", md->type); efi_md_typeattr_format() 495 type_len = snprintf(pos, size, "[%-*s", efi_md_typeattr_format() 508 snprintf(pos, size, "|attr=0x%016llx]", efi_md_typeattr_format() 511 snprintf(pos, size, "|%3s|%2s|%2s|%2s|%3s|%2s|%2s|%2s|%2s]", efi_md_typeattr_format()
|
/linux-4.1.27/drivers/connector/ |
H A D | cn_queue.c | 53 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); cn_queue_alloc_callback_entry() 134 snprintf(dev->name, sizeof(dev->name), "%s", name); cn_queue_alloc_dev()
|
/linux-4.1.27/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 148 snprintf(name, sizeof(name), "dma%d", chan->chan); dma_create_sysfs_files() 163 snprintf(name, sizeof(name), "dma%d", chan->chan); dma_remove_sysfs_files()
|
/linux-4.1.27/sound/firewire/bebob/ |
H A D | bebob_midi.c | 119 snprintf(subs->name, sizeof(subs->name), set_midi_substream_names() 138 snprintf(rmidi->name, sizeof(rmidi->name), snd_bebob_create_midi_devices()
|
/linux-4.1.27/sound/firewire/fireworks/ |
H A D | fireworks_midi.c | 120 snprintf(subs->name, sizeof(subs->name), set_midi_substream_names() 138 snprintf(rmidi->name, sizeof(rmidi->name), snd_efw_create_midi_devices()
|
/linux-4.1.27/sound/firewire/oxfw/ |
H A D | oxfw-midi.c | 137 snprintf(subs->name, sizeof(subs->name), set_midi_substream_names() 177 snprintf(rmidi->name, sizeof(rmidi->name), snd_oxfw_create_midi()
|
/linux-4.1.27/tools/power/cpupower/lib/ |
H A D | sysfs.c | 55 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", sysfs_cpufreq_read_file() 70 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", sysfs_cpufreq_write_file() 565 snprintf(value, SYSFS_PATH_MAX, "%lu", max_freq); sysfs_modify_freq_policy_max() 576 snprintf(value, SYSFS_PATH_MAX, "%lu", min_freq); sysfs_modify_freq_policy_min() 601 snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); sysfs_set_freq_policy() 602 snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max); sysfs_set_freq_policy() 650 snprintf(freq, SYSFS_PATH_MAX, "%lu", target_frequency); sysfs_set_frequency() 664 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/", cpu); sysfs_cpu_exists()
|
/linux-4.1.27/drivers/ntb/ |
H A D | ntb_transport.c | 410 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 412 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 414 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 416 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 418 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 420 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 422 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 424 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 426 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 428 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 430 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 432 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 435 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 437 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 439 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 441 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 443 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 445 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 447 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 449 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 451 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 454 out_offset += snprintf(buf + out_offset, out_count - out_offset, debugfs_read() 897 snprintf(debugfs_name, 4, "qp%d", qp_num); ntb_transport_init_queue()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 103 return snprintf(buf, PAGE_SIZE, "%x\n", intel_enable_rc6(dminor->dev)); show_rc6_mask() 111 return snprintf(buf, PAGE_SIZE, "%u\n", rc6_residency); show_rc6_ms() 119 return snprintf(buf, PAGE_SIZE, "%u\n", rc6p_residency); show_rc6p_ms() 127 return snprintf(buf, PAGE_SIZE, "%u\n", rc6pp_residency); show_rc6pp_ms() 135 return snprintf(buf, PAGE_SIZE, "%u\n", rc6_residency); show_media_rc6_ms() 334 return snprintf(buf, PAGE_SIZE, "%d\n", ret); gt_act_freq_mhz_show() 355 return snprintf(buf, PAGE_SIZE, "%d\n", ret); gt_cur_freq_mhz_show() 365 return snprintf(buf, PAGE_SIZE, vlv_rpe_freq_mhz_show() 383 return snprintf(buf, PAGE_SIZE, "%d\n", ret); gt_max_freq_mhz_show() 446 return snprintf(buf, PAGE_SIZE, "%d\n", ret); gt_min_freq_mhz_show() 522 return snprintf(buf, PAGE_SIZE, "%d\n", val); gt_rp_mhz_show()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_sysfs.c | 132 return snprintf (buf, 20, format_string, shost->field); \ 197 return snprintf(buf, 20, "%s\n", name); show_shost_state() 243 return snprintf(buf, 20, "unknown\n"); show_shost_active_mode() 291 return snprintf(buf, strlen("off") + 2, "off\n"); show_shost_eh_deadline() 351 return snprintf(buf, 20, "%d\n", atomic_read(&shost->host_busy)); show_host_busy() 513 return snprintf (buf, 20, format_string, sdev->field); \ 600 return snprintf(buf, 20, "%d\n", atomic_read(&sdev->device_busy)); sdev_show_device_busy() 609 return snprintf(buf, 20, "%d\n", atomic_read(&sdev->device_blocked)); sdev_show_device_blocked() 621 return snprintf(buf, 20, "%d\n", sdev->request_queue->rq_timeout / HZ); sdev_show_timeout() 642 return snprintf(buf, 20, "%u\n", sdev->eh_timeout / HZ); sdev_show_eh_timeout() 718 return snprintf(buf, 20, "%s\n", name); show_state_field() 733 return snprintf(buf, 20, "%s\n", name); show_queue_type_field() 780 return snprintf(buf, 20, "%d\n", (int)sizeof(atomic_t) * 8); show_iostat_counterbits() 792 return snprintf(buf, 20, "0x%llx\n", count); \ 805 return snprintf (buf, 20, SCSI_DEVICE_MODALIAS_FMT "\n", sdev->type); sdev_show_modalias() 816 return snprintf(buf, 20, "%d\n", val); \ 885 return snprintf(buf, 20, "%u\n", sdev_show_queue_ramp_up_period()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | super.c | 238 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 243 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 247 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 251 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 257 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 262 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 273 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 282 out += snprintf(buf + out, len - out, "%10s => Pid: %d Nodes:", ocfs2_osb_dump() 287 out += snprintf(buf + out, len - out, " None\n"); ocfs2_osb_dump() 290 out += snprintf(buf + out, len - out, " %d", ocfs2_osb_dump() 292 out += snprintf(buf + out, len - out, "\n"); ocfs2_osb_dump() 296 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 301 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 307 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 317 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 325 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 334 out += snprintf(buf + out, len - out, "OrphanScan => "); ocfs2_osb_dump() 335 out += snprintf(buf + out, len - out, "Local: %u Global: %u ", ocfs2_osb_dump() 337 out += snprintf(buf + out, len - out, " Last Scan: "); ocfs2_osb_dump() 339 out += snprintf(buf + out, len - out, "Disabled\n"); ocfs2_osb_dump() 341 out += snprintf(buf + out, len - out, "%lu seconds ago\n", ocfs2_osb_dump() 344 out += snprintf(buf + out, len - out, "%10s => %3s %10s\n", ocfs2_osb_dump() 347 out += snprintf(buf + out, len - out, ocfs2_osb_dump() 1168 snprintf(nodestr, sizeof(nodestr), "local"); ocfs2_fill_super() 1170 snprintf(nodestr, sizeof(nodestr), "%u", osb->node_num); ocfs2_fill_super() 1971 snprintf(nodestr, sizeof(nodestr), "local"); ocfs2_dismount_volume() 1973 snprintf(nodestr, sizeof(nodestr), "%u", osb->node_num); ocfs2_dismount_volume() 1998 ret = snprintf(ptr, 3, "%02X", uuid[i]); ocfs2_setup_osb_uuid() 2109 snprintf(osb->dev_str, sizeof(osb->dev_str), "%u,%u", ocfs2_initialize_super()
|
H A D | stackglue.c | 490 ret = snprintf(buf, PAGE_SIZE, "%u.%u\n", ocfs2_max_locking_protocol_show() 511 ret = snprintf(buf, remain, "%s\n", ocfs2_loaded_cluster_plugins_show() 518 /* snprintf() didn't fit */ ocfs2_loaded_cluster_plugins_show() 542 ret = snprintf(buf, PAGE_SIZE, "%s\n", ocfs2_active_cluster_plugin_show() 562 ret = snprintf(buf, PAGE_SIZE, "%s\n", cluster_stack_name); ocfs2_cluster_stack_show() 612 return snprintf(buf, PAGE_SIZE, "1\n"); ocfs2_dlm_recover_show()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdcore.c | 142 return snprintf(buf, PAGE_SIZE, "%s\n", type); mtd_type_show() 151 return snprintf(buf, PAGE_SIZE, "0x%lx\n", (unsigned long)mtd->flags); mtd_flags_show() 161 return snprintf(buf, PAGE_SIZE, "%llu\n", mtd_size_show() 172 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->erasesize); mtd_erasesize_show() 182 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->writesize); mtd_writesize_show() 193 return snprintf(buf, PAGE_SIZE, "%u\n", subpagesize); mtd_subpagesize_show() 203 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->oobsize); mtd_oobsize_show() 213 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions); mtd_numeraseregions_show() 224 return snprintf(buf, PAGE_SIZE, "%s\n", mtd->name); mtd_name_show() 234 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_strength); mtd_ecc_strength_show() 244 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->bitflip_threshold); mtd_bitflip_threshold_show() 271 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_step_size); mtd_ecc_step_size_show() 282 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->corrected); mtd_ecc_stats_corrected_show() 293 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->failed); mtd_ecc_stats_errors_show() 303 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->badblocks); mtd_badblocks_show() 313 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->bbtblocks); mtd_bbtblocks_show()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
H A D | igb_hwmon.c | 122 snprintf(igb_attr->name, sizeof(igb_attr->name), igb_add_hwmon_attr() 127 snprintf(igb_attr->name, sizeof(igb_attr->name), igb_add_hwmon_attr() 132 snprintf(igb_attr->name, sizeof(igb_attr->name), igb_add_hwmon_attr() 137 snprintf(igb_attr->name, sizeof(igb_attr->name), igb_add_hwmon_attr()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 121 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), ixgbe_add_hwmon_attr() 126 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), ixgbe_add_hwmon_attr() 131 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), ixgbe_add_hwmon_attr() 136 snprintf(ixgbe_attr->name, sizeof(ixgbe_attr->name), ixgbe_add_hwmon_attr()
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-ethtool.h | 44 snprintf(buf + *size, ETH_GSTRING_LEN, fmt, __VA_ARGS__); \
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | common.c | 46 snprintf(cap->bus_info, sizeof(cap->bus_info), __fimc_vidioc_querycap()
|
/linux-4.1.27/drivers/ptp/ |
H A D | ptp_sysfs.c | 29 return snprintf(page, PAGE_SIZE-1, "%s\n", ptp->info->name); 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", extts_fifo_show() 210 return snprintf(page, PAGE_SIZE, "%u %u\n", func, chan); ptp_pin_show()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/ |
H A D | linux-sysctl.c | 107 len = snprintf(buf, sizeof(buf), "%llu\n", obd_memory_sum()); proc_memory_alloc() 131 len = snprintf(buf, sizeof(buf), "%llu\n", obd_pages_sum()); proc_pages_alloc() 155 len = snprintf(buf, sizeof(buf), "%llu\n", obd_memory_max()); proc_mem_max() 179 len = snprintf(buf, sizeof(buf), "%llu\n", obd_pages_max()); proc_pages_max()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 97 bytes_written += snprintf(&command[bytes_written], total_len, rtw_android_get_rssi() 112 return snprintf(command, total_len, "LinkSpeed %d", rtw_android_get_link_speed() 119 return snprintf(command, total_len, "Macaddr = %pM", rtw_android_get_macaddr() 242 snprintf(command, 3, "OK"); rtw_android_priv_cmd()
|
/linux-4.1.27/drivers/oprofile/ |
H A D | oprofile_stats.c | 55 snprintf(buf, 10, "cpu%d", i); for_each_possible_cpu()
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-sun4i-usb.c | 267 snprintf(name, sizeof(name), "usb%d_vbus", i); sun4i_usb_phy_probe() 276 snprintf(name, sizeof(name), "usb%d_phy", i); sun4i_usb_phy_probe() 286 snprintf(name, sizeof(name), "usb%d_reset", i); sun4i_usb_phy_probe() 294 snprintf(name, sizeof(name), "pmu%d", i); sun4i_usb_phy_probe()
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | umid.c | 139 n = snprintf(file, sizeof(file), "%s/pid", dir); is_umdir_used() 224 snprintf(pid, sizeof(pid), "%d\n", getpid()); create_pid_file() 282 snprintf(tmp, sizeof(tmp), "%s%s", uml_dir, umid); make_umid() 337 n = snprintf(buf, len, "%s%s/%s", uml_dir, umid, name); umid_file_name()
|
/linux-4.1.27/drivers/usb/atm/ |
H A D | cxacru.c | 250 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_showattr_u32() 255 return snprintf(buf, PAGE_SIZE, "%d\n", value); cxacru_sysfs_showattr_s8() 261 return snprintf(buf, PAGE_SIZE, "%u.%02u\n", cxacru_sysfs_showattr_dB() 265 return snprintf(buf, PAGE_SIZE, "-%u.%02u\n", cxacru_sysfs_showattr_dB() 274 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_showattr_bool() 275 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); cxacru_sysfs_showattr_bool() 282 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_showattr_LINK() 283 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); cxacru_sysfs_showattr_LINK() 293 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_showattr_LINE() 294 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); cxacru_sysfs_showattr_LINE() 306 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_showattr_MODU() 307 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); cxacru_sysfs_showattr_MODU() 327 return snprintf(buf, PAGE_SIZE, "%pM\n", cxacru_sysfs_show_mac_address() 344 return snprintf(buf, PAGE_SIZE, "%u\n", value); cxacru_sysfs_show_adsl_state() 345 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); cxacru_sysfs_show_adsl_state() 503 snprintf(log + tmp*12, 13, " %02x=%08x", cxacru_sysfs_store_adsl_config()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | sys.c | 41 return snprintf(buf, PAGE_SIZE, "%u\n", O2NM_API_VERSION); version_show()
|
/linux-4.1.27/include/media/ |
H A D | v4l2-clk.h | 68 #define v4l2_clk_name_i2c(name, size, adap, client) snprintf(name, size, \
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | serial.c | 141 snprintf(rx_pad_name, OMAP_UART_DEFAULT_PAD_NAME_LEN, rx_fmt, omap_serial_check_wakeup() 143 snprintf(tx_pad_name, OMAP_UART_DEFAULT_PAD_NAME_LEN, tx_fmt, omap_serial_check_wakeup() 187 snprintf(oh_name, MAX_UART_HWMOD_NAME_LEN, omap_serial_early_init() 200 snprintf(uart_name, MAX_UART_HWMOD_NAME_LEN, omap_serial_early_init()
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | simtec-audio.c | 64 snprintf(our_name, sizeof(our_name)-1, "s3c24xx-simtec-%s", name); simtec_audio_add()
|
/linux-4.1.27/net/caif/ |
H A D | cfdbgl.c | 29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ - 1, "dbg%d", channel_id); cfdbgl_create()
|
H A D | cfvidl.c | 32 snprintf(vid->layer.name, CAIF_LAYER_NAME_SZ - 1, "vid1"); cfvidl_create()
|
/linux-4.1.27/kernel/ |
H A D | stacktrace.c | 41 generated = snprintf(buf, size, "%*c[<%p>] %pS\n", snprint_stack_trace()
|
/linux-4.1.27/net/wimax/ |
H A D | debugfs.c | 47 snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name); wimax_debugfs_add()
|
/linux-4.1.27/sound/core/ |
H A D | ctljack.c | 41 snprintf(kctl->id.name, sizeof(kctl->id.name), "%s Jack", name); snd_kctl_jack_new()
|
/linux-4.1.27/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 35 return snprintf(NULL, 0, "%x", max_val); regmap_calc_reg_len() 50 ret = snprintf(buf, PAGE_SIZE, "%s\n", map->dev->driver->name); regmap_name_read_file() 221 snprintf(buf + buf_pos, count - buf_pos, "%.*x: ", regmap_read_debugfs() 228 snprintf(buf + buf_pos, count - buf_pos, regmap_read_debugfs() 368 snprintf(entry, PAGE_SIZE, "%x-%x", regmap_reg_ranges_read_file() 373 snprintf(buf + buf_pos, count - buf_pos, regmap_reg_ranges_read_file() 438 snprintf(buf + buf_pos, count - buf_pos, regmap_access_read_file()
|
/linux-4.1.27/fs/gfs2/ |
H A D | sys.c | 64 return snprintf(buf, PAGE_SIZE, "%u:%u\n", id_show() 70 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); fsname_show() 91 return snprintf(buf, PAGE_SIZE, "%pUB\n", uuid); uuid_show() 99 return snprintf(buf, PAGE_SIZE, "%d\n", frozen); freeze_show() 132 return snprintf(buf, PAGE_SIZE, "%u\n", b); withdraw_show() 527 return snprintf(buf, PAGE_SIZE, "%u %u\n", quota_scale_show() 577 return snprintf(buf, PAGE_SIZE, "%u\n", sdp->sd_tune.gt_##name); \
|
/linux-4.1.27/kernel/locking/ |
H A D | lockdep_proc.c | 407 snprintf(buf, bufsiz, "%lld.%02d", (long long)div, (int)rem/10); snprint_time() 458 snprintf(name, namelen, "%s", key_name); seq_stats() 460 snprintf(name, namelen, "%s", cname); seq_stats() 466 snprintf(name+namelen, 3, "#%d", class->name_version); seq_stats() 470 snprintf(name+namelen, 3, "/%d", class->subclass); seq_stats() 511 snprintf(ip, sizeof(ip), "[<%p>]", seq_stats() 526 snprintf(ip, sizeof(ip), "[<%p>]", seq_stats()
|
/linux-4.1.27/drivers/misc/ |
H A D | enclosure.c | 321 snprintf(newname, COMPONENT_NAME_SIZE, enclosure_component_alloc() 324 snprintf(newname, COMPONENT_NAME_SIZE, enclosure_component_alloc() 435 return snprintf(buf, 40, "%d\n", edev->components); components_show() 490 return snprintf(buf, 40, "%d\n", ecomp->fault); get_component_fault() 514 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); get_component_status() 548 return snprintf(buf, 40, "%d\n", ecomp->active); get_component_active() 572 return snprintf(buf, 40, "%d\n", ecomp->locate); get_component_locate() 597 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); get_component_power_status() 627 return snprintf(buf, 40, "%s\n", enclosure_type[ecomp->type]); get_component_type() 642 return snprintf(buf, 40, "%d\n", slot); get_component_slot()
|
/linux-4.1.27/drivers/net/ |
H A D | netconsole.c | 258 return snprintf(buf, PAGE_SIZE, "%d\n", nt->enabled); show_enabled() 263 return snprintf(buf, PAGE_SIZE, "%s\n", nt->np.dev_name); show_dev_name() 268 return snprintf(buf, PAGE_SIZE, "%d\n", nt->np.local_port); show_local_port() 273 return snprintf(buf, PAGE_SIZE, "%d\n", nt->np.remote_port); show_remote_port() 279 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); show_local_ip() 281 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.local_ip); show_local_ip() 287 return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.remote_ip.in6); show_remote_ip() 289 return snprintf(buf, PAGE_SIZE, "%pI4\n", &nt->np.remote_ip); show_remote_ip() 297 return snprintf(buf, PAGE_SIZE, "%pM\n", dev ? dev->dev_addr : bcast); show_local_mac() 302 return snprintf(buf, PAGE_SIZE, "%pM\n", nt->np.remote_mac); show_remote_mac()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | linit.c | 502 return snprintf(buf, PAGE_SIZE, sdev->no_uld_attach aac_show_raid_level() 505 return snprintf(buf, PAGE_SIZE, "%s\n", aac_show_raid_level() 785 len = snprintf(buf, PAGE_SIZE, "%s\n", cp); aac_show_model() 787 len = snprintf(buf, PAGE_SIZE, "%s\n", aac_show_model() 802 len = snprintf(buf, PAGE_SIZE, "%.*s\n", aac_show_vendor() 806 len = snprintf(buf, PAGE_SIZE, "%s\n", aac_show_vendor() 818 len = snprintf(buf, PAGE_SIZE, "dprintk\n"); aac_show_flags() 820 len += snprintf(buf + len, PAGE_SIZE - len, aac_show_flags() 824 len += snprintf(buf + len, PAGE_SIZE - len, aac_show_flags() 827 len += snprintf(buf + len, PAGE_SIZE - len, "SUPPORTED_JBOD\n"); aac_show_flags() 830 len += snprintf(buf + len, PAGE_SIZE - len, aac_show_flags() 833 len += snprintf(buf + len, PAGE_SIZE - len, "PCI_HAS_MSI\n"); aac_show_flags() 845 len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", aac_show_kernel_version() 859 len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", aac_show_monitor_version() 873 len = snprintf(buf, PAGE_SIZE, "%d.%d-%d[%d]\n", aac_show_bios_version() 886 len = snprintf(buf, 16, "%06X\n", aac_show_serial_number() 892 len = snprintf(buf, 16, "%.*s\n", aac_show_serial_number() 902 return snprintf(buf, PAGE_SIZE, "%d\n", aac_show_max_channel() 909 return snprintf(buf, PAGE_SIZE, "%d\n", aac_show_max_id() 937 len = snprintf(buf, PAGE_SIZE, "0x%x\n", tmp); aac_show_reset_adapter()
|
/linux-4.1.27/fs/ceph/ |
H A D | xattr.c | 82 ret = snprintf(buf, sizeof(buf), ceph_vxattrcb_layout() 97 ret = snprintf(buf, sizeof(buf), ceph_vxattrcb_layout() 117 return snprintf(val, size, "%lld", ceph_vxattrcb_layout_stripe_unit() 124 return snprintf(val, size, "%lld", ceph_vxattrcb_layout_stripe_count() 131 return snprintf(val, size, "%lld", ceph_vxattrcb_layout_object_size() 147 ret = snprintf(val, size, "%s", pool_name); ceph_vxattrcb_layout_pool() 149 ret = snprintf(val, size, "%lld", (unsigned long long)pool); ceph_vxattrcb_layout_pool() 159 return snprintf(val, size, "%lld", ci->i_files + ci->i_subdirs); ceph_vxattrcb_dir_entries() 165 return snprintf(val, size, "%lld", ci->i_files); ceph_vxattrcb_dir_files() 171 return snprintf(val, size, "%lld", ci->i_subdirs); ceph_vxattrcb_dir_subdirs() 177 return snprintf(val, size, "%lld", ci->i_rfiles + ci->i_rsubdirs); ceph_vxattrcb_dir_rentries() 183 return snprintf(val, size, "%lld", ci->i_rfiles); ceph_vxattrcb_dir_rfiles() 189 return snprintf(val, size, "%lld", ci->i_rsubdirs); ceph_vxattrcb_dir_rsubdirs() 195 return snprintf(val, size, "%lld", ci->i_rbytes); ceph_vxattrcb_dir_rbytes() 201 return snprintf(val, size, "%ld.09%ld", (long)ci->i_rctime.tv_sec, ceph_vxattrcb_dir_rctime()
|
/linux-4.1.27/tools/hv/ |
H A D | hv_kvp_daemon.c | 614 snprintf(dev_id, sizeof(dev_id), "%s", kvp_net_dir); kvp_get_if_name() 665 snprintf(addr_file, sizeof(addr_file), "%s%s%s", "/sys/class/net/", kvp_if_name_to_mac() 707 snprintf(dev_id, sizeof(dev_id), kvp_net_dir); kvp_mac_to_if_name() 1164 snprintf(str, sizeof(str), "%s", "IPADDR"); process_ip_string() 1167 snprintf(str, sizeof(str), "%s", "NETMASK"); process_ip_string() 1170 snprintf(str, sizeof(str), "%s", "GATEWAY"); process_ip_string() 1173 snprintf(str, sizeof(str), "%s", "DNS"); process_ip_string() 1178 snprintf(sub_str, sizeof(sub_str), "%d", ++i); process_ip_string() 1182 snprintf(sub_str, sizeof(sub_str), "%d", i++); process_ip_string() 1189 snprintf(str, sizeof(str), "%s", "IPV6ADDR"); process_ip_string() 1192 snprintf(str, sizeof(str), "%s", "IPV6NETMASK"); process_ip_string() 1195 snprintf(str, sizeof(str), "%s", process_ip_string() 1199 snprintf(str, sizeof(str), "%s", "DNS"); process_ip_string() 1204 snprintf(sub_str, sizeof(sub_str), "%d", ++i); process_ip_string() 1208 snprintf(sub_str, sizeof(sub_str), "_%d", j++); process_ip_string() 1278 snprintf(if_file, sizeof(if_file), "%s%s%s", KVP_CONFIG_LOC, kvp_set_ip_info() 1353 snprintf(cmd, sizeof(cmd), "%s %s", "hv_set_ifconfig", if_file); kvp_set_ip_info() 1382 snprintf(buffer, length, "getaddrinfo failed: 0x%x %s", kvp_get_domain_name() 1386 snprintf(buffer, length, "%s", info->ai_canonname); kvp_get_domain_name()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A 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); show_fcf_state() 280 return snprintf(buf, FCOE_MAX_MODENAME_LEN, show_ctlr_mode() 380 return snprintf(buf, FCOE_CTLR_ENABLED_MAX_NAMELEN, show_ctlr_enabled_state() 699 snprintf(ctlr->work_q_name, sizeof(ctlr->work_q_name), fcoe_ctlr_device_add() 706 snprintf(ctlr->devloss_work_q_name, fcoe_ctlr_device_add()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | mcdi_mon.c | 461 snprintf(name, sizeof(name), "%s%u_input", efx_mcdi_mon_probe() 467 snprintf(name, sizeof(name), "%s%u_min", efx_mcdi_mon_probe() 474 snprintf(name, sizeof(name), "%s%u_max", efx_mcdi_mon_probe() 484 snprintf(name, sizeof(name), "%s%u_crit", efx_mcdi_mon_probe() 492 snprintf(name, sizeof(name), "%s%u_alarm", efx_mcdi_mon_probe() 499 snprintf(name, sizeof(name), "%s%u_label", efx_mcdi_mon_probe()
|
/linux-4.1.27/drivers/regulator/ |
H A D | wm831x-ldo.c | 251 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); wm831x_gp_ldo_probe() 254 snprintf(ldo->supply_name, sizeof(ldo->supply_name), wm831x_gp_ldo_probe() 460 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); wm831x_aldo_probe() 463 snprintf(ldo->supply_name, sizeof(ldo->supply_name), wm831x_aldo_probe() 604 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); wm831x_alive_ldo_probe() 607 snprintf(ldo->supply_name, sizeof(ldo->supply_name), wm831x_alive_ldo_probe()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | class_obd.c | 123 snprintf(jobid, JOBSTATS_JOBID_SIZE, "%s.%u", lustre_get_jobid() 365 snprintf(str, len - sizeof(*data), "%3d %s %s %s %s %d", class_handle_ioctl() 458 len = snprintf(buf, sizeof(buf), "%#llx", u64val); obd_init_checks() 485 len = snprintf(buf, sizeof(buf), "%#llx", u64val); obd_init_checks() 490 len = snprintf(buf, sizeof(buf), "%llu", u64val); obd_init_checks() 495 len = snprintf(buf, sizeof(buf), "%lld", u64val); obd_init_checks()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 229 return snprintf(buf, PAGE_SIZE, "%s\n", status_show() 242 return snprintf(buf, PAGE_SIZE, "%s\n", dpms_show() 252 return snprintf(buf, PAGE_SIZE, "%s\n", connector->encoder ? "enabled" : enabled_show() 292 written += snprintf(buf + written, PAGE_SIZE - written, "%s\n", modes_show() 335 return snprintf(buf, PAGE_SIZE, "%s", is_tv ? subconnector_show() 376 return snprintf(buf, PAGE_SIZE, "%s", is_tv ? select_subconnector_show()
|
/linux-4.1.27/drivers/power/ |
H A D | wm831x_power.c | 510 snprintf(power->wall_name, sizeof(power->wall_name), wm831x_power_probe() 512 snprintf(power->battery_name, sizeof(power->wall_name), wm831x_power_probe() 514 snprintf(power->usb_name, sizeof(power->wall_name), wm831x_power_probe() 517 snprintf(power->wall_name, sizeof(power->wall_name), wm831x_power_probe() 519 snprintf(power->battery_name, sizeof(power->wall_name), wm831x_power_probe() 521 snprintf(power->usb_name, sizeof(power->wall_name), wm831x_power_probe()
|
H A D | wm831x_backup.c | 186 snprintf(devdata->name, sizeof(devdata->name), wm831x_backup_probe() 189 snprintf(devdata->name, sizeof(devdata->name), wm831x_backup_probe()
|
/linux-4.1.27/drivers/input/tablet/ |
H A D | aiptek.c | 1056 return snprintf(buf, PAGE_SIZE, "%dx%d\n", show_tabletSize() 1084 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletPointerMode() 1121 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletCoordinateMode() 1163 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletToolMode() 1194 return snprintf(buf, PAGE_SIZE, "disable\n"); show_tabletXtilt() 1196 return snprintf(buf, PAGE_SIZE, "%d\n", show_tabletXtilt() 1236 return snprintf(buf, PAGE_SIZE, "disable\n"); show_tabletYtilt() 1238 return snprintf(buf, PAGE_SIZE, "%d\n", show_tabletYtilt() 1277 return snprintf(buf, PAGE_SIZE, "%d\n", aiptek->curSetting.jitterDelay); show_tabletJitterDelay() 1306 return snprintf(buf, PAGE_SIZE, "%d\n", show_tabletProgrammableDelay() 1336 return snprintf(buf, PAGE_SIZE, "%ld\n", aiptek->eventCount); show_tabletEventsReceived() 1375 return snprintf(buf, PAGE_SIZE, retMsg); show_tabletDiagnosticMessage() 1395 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletStylusUpper() 1426 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletStylusLower() 1464 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletMouseLeft() 1494 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletMouseMiddle() 1524 return snprintf(buf, PAGE_SIZE, "%s\n", show_tabletMouseRight() 1555 return snprintf(buf, PAGE_SIZE, "disable\n"); show_tabletWheel() 1557 return snprintf(buf, PAGE_SIZE, "%d\n", show_tabletWheel() 1588 return snprintf(buf, PAGE_SIZE, show_tabletExecute() 1620 return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.odmCode); show_tabletODMCode() 1633 return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.modelCode); show_tabletModelCode() 1646 return snprintf(buf, PAGE_SIZE, "%04x\n", show_firmwareCode()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | debug.c | 190 i->bytes = snprintf(i->buf, PAGE_SIZE, "%s\n", kbuf); bch_dump_read() 231 snprintf(name, 50, "bcache-%pU", c->sb.set_uuid); bch_debug_init_cache_set()
|
H A D | sysfs.h | 53 return snprintf(buf, PAGE_SIZE, fmt "\n", __VA_ARGS__); \
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zoran_procfs.c | 198 snprintf(name, 7, "zoran%d", zr->id); zoran_proc_init() 220 snprintf(name, 7, "zoran%d", zr->id); zoran_proc_cleanup()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | debugfs.c | 43 pos += snprintf(buf+pos, len-pos, "state = %s\n", lbs_dev_info() 45 pos += snprintf(buf+pos, len-pos, "region_code = %02x\n", lbs_dev_info() 111 pos += snprintf(buf, len, "%d %d %d %d %d %d\n", sp.sp_error, lbs_sleepparams_read() 180 pos += snprintf(buf, len, "%d\n", priv->is_host_sleep_activated); lbs_host_sleep_read() 261 pos += snprintf(buf, len, "%d %d %d\n", value, freq, lbs_threshold_read() 462 pos = snprintf(buf, len, "MAC[0x%x] = 0x%08x\n", lbs_rdmac_read() 543 pos = snprintf(buf, len, "BBP[0x%x] = 0x%08x\n", lbs_rdbbp_read() 625 pos = snprintf(buf, len, "RF[0x%x] = 0x%08x\n", lbs_rdrf_read()
|
H A D | ethtool.c | 16 snprintf(info->fw_version, sizeof(info->fw_version), lbs_ethtool_get_drvinfo()
|
/linux-4.1.27/drivers/ssb/ |
H A D | sprom.c | 29 pos += snprintf(buf + pos, buf_len - pos - 1, sprom2hex() 31 pos += snprintf(buf + pos, buf_len - pos - 1, "\n"); sprom2hex()
|
/linux-4.1.27/drivers/staging/android/ |
H A D | sw_sync.c | 93 snprintf(str, size, "%d", timeline->value); sw_sync_timeline_value_str() 101 snprintf(str, size, "%d", pt->value); sw_sync_pt_value_str()
|
/linux-4.1.27/drivers/input/serio/ |
H A D | arc_ps2.c | 169 snprintf(io->name, sizeof(io->name), "ARC PS/2 port%d", index); arc_ps2_create_port() 170 snprintf(io->phys, sizeof(io->phys), "arc/serio%d", index); arc_ps2_create_port()
|
H A D | maceps2.c | 129 snprintf(serio->name, sizeof(serio->name), "MACE PS/2 port%d", idx); maceps2_allocate_port() 130 snprintf(serio->phys, sizeof(serio->phys), "mace/serio%d", idx); maceps2_allocate_port()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 123 snprintf(args->v0.name, sizeof(args->v0.name), "%s", domain->mname); nvkm_control_mthd_pstate_attr() 124 snprintf(args->v0.unit, sizeof(args->v0.unit), "MHz"); nvkm_control_mthd_pstate_attr()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
H A D | nvram.c | 198 return snprintf(val, val_len, "%s", value); bcm47xx_nvram_getenv() 212 err = snprintf(nvram_var, sizeof(nvram_var), "gpio%i", i); bcm47xx_nvram_gpio_pin()
|
/linux-4.1.27/drivers/pps/clients/ |
H A D | pps-ldisc.c | 67 snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index); pps_tty_open() 68 snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index); pps_tty_open()
|
/linux-4.1.27/fs/exofs/ |
H A D | sys.c | 64 return snprintf(buf, odi->osdname_len + 1, "%s", odi->osdname); osdname_show() 78 return snprintf(buf, edp->urilen, "%s", edp->uri); uri_show()
|
/linux-4.1.27/lib/ |
H A D | oid_registry.c | 122 ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); sprint_oid() 143 ret += count = snprintf(buffer, bufsize, ".%lu", num); sprint_oid()
|
/linux-4.1.27/sound/arm/ |
H A D | pxa2xx-ac97.c | 205 snprintf(card->shortname, sizeof(card->shortname), pxa2xx_ac97_probe() 207 snprintf(card->longname, sizeof(card->longname), pxa2xx_ac97_probe()
|
/linux-4.1.27/tools/power/cpupower/bench/ |
H A D | parse.c | 94 snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log", prepare_output() 97 snprintf(filename, len - 1, "%s/benchmark_%li.log", prepare_output()
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 124 ret = snprintf(buf, PATH_MAX, WRITE_PATH_FMT, cpu_num); make_path() 127 ret = snprintf(buf, PATH_MAX, READ_PATH_FMT, cpu_num); make_path()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 209 len = snprintf(str, sizeof(str), "vdev-%d", devid); xen_pcibk_publish_pci_dev() 318 len = snprintf(str, sizeof(str), "root-%d", i); xen_pcibk_publish_pci_root() 339 len = snprintf(str, sizeof(str), "root-%d", root_num); xen_pcibk_publish_pci_root() 390 len = snprintf(state_str, sizeof(state_str), "state-%d", i); xen_pcibk_reconfigure() 407 len = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); xen_pcibk_reconfigure() 461 len = snprintf(dev_str, sizeof(dev_str), "vdev-%d", i); xen_pcibk_reconfigure() 589 int l = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); xen_pcibk_setup_backend() 618 l = snprintf(state_str, sizeof(state_str), "state-%d", i); xen_pcibk_setup_backend()
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-dac124s085.c | 83 snprintf(led->name, sizeof(led->name), "dac124s085-%d", i); dac124s085_probe()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | led.c | 104 snprintf(wl->radio_led.name, sizeof(wl->radio_led.name), brcms_led_register()
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 391 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", def->name); ccp_register_hmac_alg() 392 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "hmac-%s", ccp_register_hmac_alg() 441 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); ccp_register_sha_alg() 442 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", ccp_register_sha_alg()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | base.c | 51 snprintf(path, sizeof(path), "/%s/%02x", dom->name, i); nvkm_perfsig_find_() 141 snprintf(args->v0.name, sizeof(args->v0.name), nvkm_perfctr_query() 403 snprintf(dom->name, sizeof(dom->name), nvkm_perfdom_new() 407 snprintf(dom->name, sizeof(dom->name), nvkm_perfdom_new()
|
/linux-4.1.27/arch/mips/bcm63xx/ |
H A D | setup.c | 136 snprintf(buf, sizeof(buf), "bcm63xx/%s (0x%04x/0x%02X)", get_system_type()
|
/linux-4.1.27/drivers/base/ |
H A D | cpu.c | 230 int n = snprintf(buf, PAGE_SIZE-2, "%d\n", NR_CPUS - 1); print_cpus_kernel_max() 257 n += snprintf(&buf[n], len - n, "%d", nr_cpu_ids); print_cpus_offline() 259 n += snprintf(&buf[n], len - n, "%d-%d", print_cpus_offline() 263 n += snprintf(&buf[n], len - n, "\n"); print_cpus_offline()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | imx21-dbg.c | 177 snprintf(buf, bufsize, "ep_%02x (type:%02X kaddr:%p)", format_ep() 182 snprintf(buf, bufsize, "none"); format_ep() 188 snprintf(buf, bufsize, format_etd_dword0() 329 snprintf(buf, sizeof(buf), debug_etd_show()
|