Searched refs:disk_id (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/squashfs/ |
H A D | id.c | 39 __le32 disk_id; in squashfs_get_id() local 47 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id() 48 sizeof(disk_id)); in squashfs_get_id() 52 *id = le32_to_cpu(disk_id); in squashfs_get_id()
|
/openbmc/linux/block/partitions/ |
H A D | ldm.h | 104 uuid_t disk_id; member 133 u8 disk_id[64]; member 137 uuid_t disk_id; member 146 u64 disk_id; member
|
H A 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() 795 ldm_get_vstr (buffer + 0x18 + r_name, dgrp->disk_id, in ldm_parse_dgr3() 796 sizeof (dgrp->disk_id)); in ldm_parse_dgr3() 871 if (uuid_parse(buffer + 0x19 + r_name, &disk->disk_id)) in ldm_parse_dsk3() 906 import_uuid(&disk->disk_id, buffer + 0x18 + r_name); in ldm_parse_dsk4() 976 part->disk_id = ldm_get_vnum(buffer + 0x34 + r_parent); in ldm_parse_prt3() 1194 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && in ldm_ldmdb_add()
|
/openbmc/linux/drivers/memstick/core/ |
H A D | mspro_block.c | 183 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_bd_free_disk() local 186 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_bd_free_disk() 1109 int rc, disk_id; in mspro_block_init_disk() local 1131 disk_id = idr_alloc(&mspro_block_disk_idr, card, 0, 256, GFP_KERNEL); in mspro_block_init_disk() 1133 if (disk_id < 0) in mspro_block_init_disk() 1134 return disk_id; in mspro_block_init_disk() 1154 msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; in mspro_block_init_disk() 1159 sprintf(msb->disk->disk_name, "mspblk%d", disk_id); in mspro_block_init_disk() 1184 idr_remove(&mspro_block_disk_idr, disk_id); in mspro_block_init_disk()
|
H A D | ms_block.h | 155 int disk_id; member
|
H A D | ms_block.c | 1969 idr_remove(&msb_disk_idr, msb->disk_id); in msb_bd_free_disk() 2085 msb->disk_id = idr_alloc(&msb_disk_idr, card, 0, 256, GFP_KERNEL); in msb_init_disk() 2088 if (msb->disk_id < 0) in msb_init_disk() 2089 return msb->disk_id; in msb_init_disk() 2109 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); in msb_init_disk() 2145 idr_remove(&msb_disk_idr, msb->disk_id); in msb_init_disk()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 296 | 140 def addImageUser(self, vm, id, disk_id, share_rw=False): argument 144 'drive': disk_id,
|