Home
last modified time | relevance | path

Searched refs:devindex (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/s390/block/
Ddasd_genhd.c48 if (base->devindex >= DASD_PER_MAJOR) in dasd_gendisk_alloc()
69 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
81 if (base->devindex > 25) { in dasd_gendisk_alloc()
82 if (base->devindex > 701) { in dasd_gendisk_alloc()
83 if (base->devindex > 18277) in dasd_gendisk_alloc()
85 'a'+(((base->devindex-18278) in dasd_gendisk_alloc()
88 'a'+(((base->devindex-702)/676)%26)); in dasd_gendisk_alloc()
91 'a'+(((base->devindex-26)/26)%26)); in dasd_gendisk_alloc()
93 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
Dscm_blk.c437 unsigned int devindex, nr_max_blk; in scm_blk_dev_setup() local
441 devindex = atomic_inc_return(&nr_devices) - 1; in scm_blk_dev_setup()
443 if (devindex > 701) { in scm_blk_dev_setup()
482 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
486 if (devindex > 25) { in scm_blk_dev_setup()
489 'a' + (devindex / 26) - 1); in scm_blk_dev_setup()
490 devindex = devindex % 26; in scm_blk_dev_setup()
493 'a' + devindex); in scm_blk_dev_setup()
Ddasd_devmap.c49 unsigned int devindex; member
428 new->devindex = dasd_max_devindex++; in dasd_add_busid()
506 dasd_device_from_devindex(int devindex) in dasd_device_from_devindex() argument
516 if (tmp->devindex == devindex) { in dasd_device_from_devindex()
569 device->devindex = devmap->devindex; in dasd_create_device()
Ddasd_int.h577 unsigned int devindex; member
/linux-6.1.9/drivers/s390/char/
Dtape.h272 extern struct tape_device *tape_find_device(int devindex);
Dtape_core.c545 tape_find_device(int devindex) in tape_find_device() argument
552 if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { in tape_find_device()