Searched refs:disk_id (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/squashfs/ |
D | id.c | 39 __le32 disk_id; in squashfs_get_id() local 42 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id() 43 sizeof(disk_id)); in squashfs_get_id() 47 *id = le32_to_cpu(disk_id); in squashfs_get_id()
|
/Linux-v5.4/block/partitions/ |
D | ldm.h | 108 uuid_t disk_id; member 137 u8 disk_id[64]; member 141 uuid_t disk_id; member 150 u64 disk_id; member
|
D | ldm.c | 104 if (uuid_parse(data + 0x0030, &ph->disk_id)) { in ldm_parse_privhead() 223 uuid_equal(&ph1->disk_id, &ph2->disk_id)); in ldm_compare_privheads() 546 if (uuid_equal(&v->vblk.disk.disk_id, &ldb->ph.disk_id)) in ldm_get_disk_objid() 594 if (part->disk_id != disk->obj_id) in ldm_create_data_partitions() 799 ldm_get_vstr (buffer + 0x18 + r_name, dgrp->disk_id, in ldm_parse_dgr3() 800 sizeof (dgrp->disk_id)); in ldm_parse_dgr3() 878 if (uuid_parse(buffer + 0x19 + r_name, &disk->disk_id)) in ldm_parse_dsk3() 913 uuid_copy(&disk->disk_id, (uuid_t *)(buffer + 0x18 + r_name)); in ldm_parse_dsk4() 985 part->disk_id = ldm_get_vnum(buffer + 0x34 + r_parent); in ldm_parse_prt3() 1203 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && in ldm_ldmdb_add()
|
/Linux-v5.4/drivers/memstick/core/ |
D | mspro_block.c | 206 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release() local 217 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_disk_release() 1181 int rc, disk_id; in mspro_block_init_disk() local 1203 disk_id = idr_alloc(&mspro_block_disk_idr, card, 0, 256, GFP_KERNEL); in mspro_block_init_disk() 1205 if (disk_id < 0) in mspro_block_init_disk() 1206 return disk_id; in mspro_block_init_disk() 1230 msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; in mspro_block_init_disk() 1236 sprintf(msb->disk->disk_name, "mspblk%d", disk_id); in mspro_block_init_disk() 1254 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_init_disk()
|
D | ms_block.h | 156 int disk_id; member
|
D | ms_block.c | 1975 idr_remove(&msb_disk_idr, msb->disk_id); in msb_disk_release() 2107 msb->disk_id = idr_alloc(&msb_disk_idr, card, 0, 256, GFP_KERNEL); in msb_init_disk() 2110 if (msb->disk_id < 0) in msb_init_disk() 2111 return msb->disk_id; in msb_init_disk() 2135 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); in msb_init_disk() 2163 idr_remove(&msb_disk_idr, msb->disk_id); in msb_init_disk()
|
/Linux-v5.4/drivers/block/rsxx/ |
D | core.c | 763 card->disk_id = st; in rsxx_pci_probe() 964 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_probe() 1029 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_remove()
|
D | rsxx_priv.h | 156 int disk_id; member
|
D | dev.c | 289 "rsxx%d", card->disk_id); in rsxx_setup_dev()
|