Lines Matching refs:sprintf
392 return sprintf(buf, "%d\n", region->range_index); in range_index_show()
499 return sprintf(buf, "%#x\n", dimm->handle); in handle_show()
508 return sprintf(buf, "%#x\n", dimm->fail_cmd); in fail_cmd_show()
533 return sprintf(buf, "%d\n", dimm->fail_cmd_code); in fail_cmd_code_show()
574 return sprintf(buf, "%#x\n", dimm->physical_id); in phys_id_show()
581 return sprintf(buf, "0x1234567\n"); in vendor_show()
591 return sprintf(buf, "%04x-%02x-%04x-%08x", 0xabcd, in id_show()
602 return sprintf(buf, "%#x\n", dimm->handle); in nvdimm_handle_show()
613 return sprintf(buf, "0x%04x\n", 0); in subsystem_vendor_show()
620 return sprintf(buf, "%d\n", 42); in dirty_shutdown_show()
630 return sprintf(buf, "%d\n", dimm->num_formats); in formats_show()
641 return sprintf(buf, "0x201\n"); in format_show()
643 return sprintf(buf, "0x101\n"); in format_show()
650 return sprintf(buf, "0x301\n"); in format1_show()
772 sprintf(d->label_area, "label%d", id); in ndtest_nvdimm_init()
798 return sprintf(buf, "nvdimm_test"); in compatible_show()