Searched refs:disk_id (Results 1 – 6 of 6) sorted by relevance
/drivers/memstick/core/ |
D | mspro_block.c | 210 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release() local 221 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_disk_release() 1189 int rc, disk_id; in mspro_block_init_disk() local 1215 disk_id = idr_alloc(&mspro_block_disk_idr, card, 0, 256, GFP_KERNEL); in mspro_block_init_disk() 1217 if (disk_id < 0) in mspro_block_init_disk() 1218 return disk_id; in mspro_block_init_disk() 1242 msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; in mspro_block_init_disk() 1249 sprintf(msb->disk->disk_name, "mspblk%d", disk_id); in mspro_block_init_disk() 1267 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_init_disk()
|
D | ms_block.h | 159 int disk_id; member
|
D | ms_block.c | 1981 idr_remove(&msb_disk_idr, msb->disk_id); in msb_disk_release() 2117 msb->disk_id = idr_alloc(&msb_disk_idr, card, 0, 256, GFP_KERNEL); in msb_init_disk() 2120 if (msb->disk_id < 0) in msb_init_disk() 2121 return msb->disk_id; in msb_init_disk() 2145 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); in msb_init_disk() 2174 idr_remove(&msb_disk_idr, msb->disk_id); in msb_init_disk()
|
/drivers/block/rsxx/ |
D | rsxx_priv.h | 170 int disk_id; member
|
D | dev.c | 323 "rsxx%d", card->disk_id); in rsxx_setup_dev()
|
D | core.c | 784 st = ida_get_new(&rsxx_disk_ida, &card->disk_id); in rsxx_pci_probe() 991 ida_remove(&rsxx_disk_ida, card->disk_id); in rsxx_pci_probe()
|