Lines Matching refs:sprintf
129 return sprintf(buf, "%d\n", UBI_VERSION); in ubi_version_show()
393 ret = sprintf(buf, "%d\n", ubi->leb_size); in dev_attribute_show()
395 ret = sprintf(buf, "%d\n", ubi->avail_pebs); in dev_attribute_show()
397 ret = sprintf(buf, "%d\n", ubi->good_peb_count); in dev_attribute_show()
399 ret = sprintf(buf, "%d\n", ubi->vol_count - UBI_INT_VOL_COUNT); in dev_attribute_show()
401 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
403 ret = sprintf(buf, "%d\n", ubi->beb_rsvd_pebs); in dev_attribute_show()
405 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()
407 ret = sprintf(buf, "%d\n", ubi->vtbl_slots); in dev_attribute_show()
409 ret = sprintf(buf, "%d\n", ubi->min_io_size); in dev_attribute_show()
411 ret = sprintf(buf, "%d\n", ubi->thread_enabled); in dev_attribute_show()
413 ret = sprintf(buf, "%d\n", ubi->mtd->index); in dev_attribute_show()
519 sprintf(ubi->ubi_name, UBI_NAME_STR "%d", ubi->ubi_num); in uif_init()