Lines Matching refs:sprintf
63 return sprintf(buf, format_string, dev->field); \
121 return sprintf(buf, fmt_dec, dev_get_iflink(ndev)); in iflink_show()
127 return sprintf(buf, fmt_dec, dev->name_assign_type); in format_name_assign_type()
187 return sprintf(buf, fmt_dec, !!netif_carrier_ok(netdev)); in carrier_show()
205 ret = sprintf(buf, fmt_udec, ethtool_cmd_speed(&cmd)); in speed_show()
236 ret = sprintf(buf, "%s\n", duplex); in duplex_show()
250 return sprintf(buf, fmt_dec, !!netif_dormant(netdev)); in dormant_show()
281 return sprintf(buf, "%s\n", operstates[operstate]); in operstate_show()
290 return sprintf(buf, fmt_dec, in carrier_changes_show()
387 ret = sprintf(buf, "%s\n", netdev->ifalias); in ifalias_show()
421 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show()
443 ret = sprintf(buf, "%s\n", name); in phys_port_name_show()
465 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
520 ret = sprintf(buf, fmt_u64, *(u64 *)(((u8 *) stats) + offset)); in netstat_show()
736 return sprintf(buf, "%lu\n", val); in show_rps_dev_flow_table_cnt()
982 return sprintf(buf, "%lu", trans_timeout); in show_trans_timeout()
1004 return sprintf(buf, "%lu\n", queue->tx_maxrate); in show_tx_maxrate()
1048 return sprintf(buf, "%u\n", value); in bql_show()
1078 return sprintf(buf, "%u\n", jiffies_to_msecs(dql->slack_hold_time)); in bql_show_hold_time()
1108 return sprintf(buf, "%u\n", dql->num_queued - dql->num_completed); in bql_show_inflight()