Home
last modified time | relevance | path

Searched refs:disk_id (Results 1 – 9 of 9) sorted by relevance

/linux/fs/squashfs/
A Did.c39 __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()
/linux/block/partitions/
A Dldm.h105 uuid_t disk_id; member
134 u8 disk_id[64]; member
138 uuid_t disk_id; member
147 u64 disk_id; member
A Dldm.c104 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 import_uuid(&disk->disk_id, 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/drivers/memstick/core/
A Dmspro_block.c206 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()
1226 msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; in mspro_block_init_disk()
1232 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()
A Dms_block.h156 int disk_id; member
A Dms_block.c1984 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()
2141 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); in msb_init_disk()
2171 idr_remove(&msb_disk_idr, msb->disk_id); in msb_init_disk()
/linux/drivers/block/rsxx/
A Dcore.c767 card->disk_id = st; in rsxx_pci_probe()
971 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_probe()
1036 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_remove()
A Ddev.c273 "rsxx%d", card->disk_id); in rsxx_setup_dev()
A Drsxx_priv.h155 int disk_id; member

Completed in 26 milliseconds