Lines Matching refs:sprintf
155 sprintf(pg_result, "No such netdevice: \"%s\"", pg_outdev); in pg_setup_inject()
160 sprintf(pg_result, "Not ethernet device: \"%s\"", pg_outdev); in pg_setup_inject()
165 sprintf(pg_result, "Device is down: \"%s\"", pg_outdev); in pg_setup_inject()
249 sprintf(pg_result, "No memory"); in fill_packet()
436 p += sprintf(p, "OK: %u(c%u+d%u) usec, %u (%dbyte,%dfrags) %upps %uMB/sec", in pg_inject()
451 sprintf(pg_result, "Interrupted"); in pg_inject()
466 p += sprintf(p, "%d\n", pg_busy); in proc_pg_busy_read()
479 p += sprintf(p, "Params: count=%u pkt_size=%u frags %d ipg %u odev \"%s\" dst %s dstmac ", in proc_pg_read()
483 p += sprintf(p, "%02X%s", pg_dstmac[i], i == 5 ? "\n" : ":"); in proc_pg_read()
486 p += sprintf(p, "Result: %s\n", pg_result); in proc_pg_read()
488 p += sprintf(p, "Result: Idle\n"); in proc_pg_read()
557 sprintf(pg_result, "Wrong command format"); in proc_pg_write()
598 sprintf(pg_result, "OK: pkt_size=%u", pkt_size); in proc_pg_write()
605 sprintf(pg_result, "OK: frags=%u", nfrags); in proc_pg_write()
612 sprintf(pg_result, "OK: ipg=%u", pg_ipg); in proc_pg_write()
619 sprintf(pg_result, "OK: count=%u", pg_count); in proc_pg_write()
627 sprintf(pg_result, "OK: odev=%s", pg_outdev); in proc_pg_write()
637 sprintf(pg_result, "OK: dst=%s", pg_dst); in proc_pg_write()
667 sprintf(pg_result, "OK: dstmac"); in proc_pg_write()
681 sprintf(pg_result, "No such parameter \"%s\"", name); in proc_pg_write()