Lines Matching refs:written
494 int written; member
504 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering()
507 arg->written += get_ata_err_names(ent->err_mask, in ata_show_ering()
508 arg->buf + arg->written); in ata_show_ering()
520 return arg.written; in show_ata_dev_ering()
531 int written = 0, i = 0; in show_ata_dev_id() local
536 written += scnprintf(buf+written, 20, "%04x%c", in show_ata_dev_id()
540 return written; in show_ata_dev_id()
550 int written = 0, i = 0; in show_ata_dev_gscr() local
555 written += scnprintf(buf+written, 20, "%08x%c", in show_ata_dev_gscr()
560 buf[written-1] = '\n'; in show_ata_dev_gscr()
561 return written; in show_ata_dev_gscr()