Lines Matching refs:base
43 struct dasd_device *base;
47 base = block->base;
48 if (base->devindex >= DASD_PER_MAJOR)
69 gdp->first_minor = base->devindex << DASD_PARTN_BITS;
81 if (base->devindex > 25) {
82 if (base->devindex > 701) {
83 if (base->devindex > 18277)
85 'a'+(((base->devindex-18278)
88 'a'+(((base->devindex-702)/676)%26));
91 'a'+(((base->devindex-26)/26)%26));
93 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26));
95 if (base->features & DASD_FEATURE_READONLY ||
96 test_bit(DASD_FLAG_DEVICE_RO, &base->flags))
98 dasd_add_link_to_gendisk(gdp, base);
102 rc = device_add_disk(&base->cdev->dev, block->gdp, NULL);
136 DBF_DEV_EVENT(DBF_ERR, block->base,
146 DBF_DEV_EVENT(DBF_ERR, block->base,