Searched refs:disk_id (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/fs/squashfs/ |
H A D | id.c | 52 __le32 disk_id; squashfs_get_id() local 55 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, squashfs_get_id() 56 sizeof(disk_id)); squashfs_get_id() 60 *id = le32_to_cpu(disk_id); squashfs_get_id()
|
/linux-4.1.27/block/partitions/ |
H A D | ldm.h | 124 u8 disk_id[GUID_SIZE]; member in struct:privhead 153 u8 disk_id[64]; member in struct:vblk_dgrp 157 u8 disk_id[GUID_SIZE]; member in struct:vblk_disk 166 u64 disk_id; member in struct:vblk_part
|
H A D | ldm.c | 170 if (!ldm_parse_guid(data + 0x0030, ph->disk_id)) { ldm_parse_privhead() 289 !memcmp (ph1->disk_id, ph2->disk_id, GUID_SIZE)); ldm_compare_privheads() 612 if (!memcmp (v->vblk.disk.disk_id, ldb->ph.disk_id, GUID_SIZE)) ldm_get_disk_objid() 660 if (part->disk_id != disk->obj_id) ldm_create_data_partitions() 865 ldm_get_vstr (buffer + 0x18 + r_name, dgrp->disk_id, ldm_parse_dgr3() 866 sizeof (dgrp->disk_id)); ldm_parse_dgr3() 947 if (!ldm_parse_guid (buffer + 0x19 + r_name, disk->disk_id)) ldm_parse_dsk3() 982 memcpy (disk->disk_id, buffer + 0x18 + r_name, GUID_SIZE); ldm_parse_dsk4() 1054 part->disk_id = ldm_get_vnum(buffer + 0x34 + r_parent); ldm_parse_prt3() 1272 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && ldm_ldmdb_add()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | mspro_block.c | 210 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; mspro_block_disk_release() local 221 idr_remove(&mspro_block_disk_idr, disk_id); mspro_block_disk_release() 1189 int rc, disk_id; mspro_block_init_disk() local 1215 disk_id = idr_alloc(&mspro_block_disk_idr, card, 0, 256, GFP_KERNEL); mspro_block_init_disk() 1217 if (disk_id < 0) mspro_block_init_disk() 1218 return disk_id; mspro_block_init_disk() 1242 msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; mspro_block_init_disk() 1249 sprintf(msb->disk->disk_name, "mspblk%d", disk_id); mspro_block_init_disk() 1267 idr_remove(&mspro_block_disk_idr, disk_id); mspro_block_init_disk()
|
H A D | ms_block.h | 159 int disk_id; member in struct:msb_data
|
H A D | ms_block.c | 1981 idr_remove(&msb_disk_idr, msb->disk_id); msb_disk_release() 2117 msb->disk_id = idr_alloc(&msb_disk_idr, card, 0, 256, GFP_KERNEL); msb_init_disk() 2120 if (msb->disk_id < 0) msb_init_disk() 2121 return msb->disk_id; msb_init_disk() 2145 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); msb_init_disk() 2174 idr_remove(&msb_disk_idr, msb->disk_id); msb_init_disk()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 302 "rsxx%d", card->disk_id); rsxx_setup_dev()
|
H A D | rsxx_priv.h | 170 int disk_id; member in struct:rsxx_cardinfo
|
H A D | core.c | 784 st = ida_get_new(&rsxx_disk_ida, &card->disk_id); rsxx_pci_probe() 991 ida_remove(&rsxx_disk_ida, card->disk_id); rsxx_pci_probe()
|
Completed in 328 milliseconds