Lines Matching defs:disk
2 * Xpram.c -- the S/390 expanded memory RAM-disk
25 * generic hard disk support to replace ad-hoc partitioning
363 struct gendisk *disk = xpram_disks[i];
368 disk->major = XPRAM_MAJOR;
369 disk->first_minor = i;
370 disk->fops = &xpram_devops;
371 disk->private_data = &xpram_devices[i];
372 disk->queue = xpram_queues[i];
373 sprintf(disk->disk_name, "slram%d", i);
374 set_capacity(disk, xpram_sizes[i] << 1);
375 add_disk(disk);