Searched refs:devindex (Results 1 – 7 of 7) sorted by relevance
37 if (base->devindex >= DASD_PER_MAJOR) in dasd_gendisk_alloc()46 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()57 if (base->devindex > 25) { in dasd_gendisk_alloc()58 if (base->devindex > 701) { in dasd_gendisk_alloc()59 if (base->devindex > 18277) in dasd_gendisk_alloc()61 'a'+(((base->devindex-18278) in dasd_gendisk_alloc()64 'a'+(((base->devindex-702)/676)%26)); in dasd_gendisk_alloc()67 'a'+(((base->devindex-26)/26)%26)); in dasd_gendisk_alloc()69 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
476 unsigned int devindex, nr_max_blk; in scm_blk_dev_setup() local478 devindex = atomic_inc_return(&nr_devices) - 1; in scm_blk_dev_setup()480 if (devindex > 701) { in scm_blk_dev_setup()519 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()522 if (devindex > 25) { in scm_blk_dev_setup()525 'a' + (devindex / 26) - 1); in scm_blk_dev_setup()526 devindex = devindex % 26; in scm_blk_dev_setup()529 'a' + devindex); in scm_blk_dev_setup()
48 unsigned int devindex; member424 new->devindex = dasd_max_devindex++; in dasd_add_busid()493 dasd_device_from_devindex(int devindex) in dasd_device_from_devindex() argument503 if (tmp->devindex == devindex) { in dasd_device_from_devindex()556 device->devindex = devmap->devindex; in dasd_create_device()
450 unsigned int devindex; member
274 extern struct tape_device *tape_find_device(int devindex);
594 tape_find_device(int devindex) in tape_find_device() argument601 if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { in tape_find_device()
1162 u32 devindex, index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in prism54_get_encode() local1188 devindex = r.u; in prism54_get_encode()1192 index = devindex; in prism54_get_encode()1199 dwrq->flags |= devindex + 1; in prism54_get_encode()