Searched refs:fake_major (Results 1 – 1 of 1) sorted by relevance
106 static int fake_major = UBD_MAJOR; variable291 if (fake_major != UBD_MAJOR) { in ubd_setup_common()296 fake_major = major; in ubd_setup_common()878 if (fake_major != UBD_MAJOR) in ubd_add()879 ubd_disk_register(fake_major, ubd_dev->size, n, in ubd_add()1063 if (fake_major != UBD_MAJOR) { in ubd_init()1066 snprintf(name, sizeof(name), "ubd_%d", fake_major); in ubd_init()1067 if (register_blkdev(fake_major, "ubd")) in ubd_init()