Searched refs:UBD_MAJOR (Results 1 – 2 of 2) sorted by relevance
122 static int fake_major = UBD_MAJOR;307 if (fake_major != UBD_MAJOR) { in ubd_setup_common()805 if (major == UBD_MAJOR) in ubd_disk_register()811 if (major == UBD_MAJOR) { in ubd_disk_register()858 err = ubd_disk_register(UBD_MAJOR, ubd_dev->size, n, &ubd_gendisk[n]); in ubd_add()864 if (fake_major != UBD_MAJOR) in ubd_add()1046 if (register_blkdev(UBD_MAJOR, "ubd")) in ubd_init()1049 if (fake_major != UBD_MAJOR) { in ubd_init()
114 #define UBD_MAJOR 98 macro