/kernel/linux/linux-5.10/fs/squashfs/ |
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()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | ldm.h | 105 uuid_t disk_id; member 134 u8 disk_id[64]; member 138 uuid_t disk_id; member 147 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 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()
|
/kernel/liteos_a/drivers/block/disk/src/ |
D | disk.c | 252 los_disk *disk = get_disk((INT32)part->disk_id); in GetFirstPartStart() 259 part->disk_id = disk->disk_id; in DiskPartAddToDisk() 1055 disk = get_disk((INT32)part->disk_id); in los_part_read() 1088 ret = los_disk_read((INT32)part->disk_id, buf, sector, count, useRead); in los_part_read() 1111 disk = get_disk((INT32)part->disk_id); in los_part_write() 1143 ret = los_disk_write((INT32)part->disk_id, buf, sector, count); in los_part_write() 1168 disk = get_disk((INT32)part->disk_id); in los_part_ioctl() 1229 result = OsSdSync(part->disk_id); in los_disk_cache_clear() 1235 disk = get_disk(part->disk_id); in los_disk_cache_clear() 1293 UINT32 diskID = disk->disk_id; in DiskCacheDeinit() [all …]
|
/kernel/liteos_a/drivers/block/disk/include/ |
D | disk.h | 177 UINT32 disk_id : 8; /* physics disk number */ member 198 UINT32 disk_id : 8; /* physics disk number */ member
|
/kernel/linux/linux-5.10/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 | 1976 idr_remove(&msb_disk_idr, msb->disk_id); in msb_disk_release() 2108 msb->disk_id = idr_alloc(&msb_disk_idr, card, 0, 256, GFP_KERNEL); in msb_init_disk() 2111 if (msb->disk_id < 0) in msb_init_disk() 2112 return msb->disk_id; in msb_init_disk() 2136 sprintf(msb->disk->disk_name, "msblk%d", msb->disk_id); in msb_init_disk() 2164 idr_remove(&msb_disk_idr, msb->disk_id); in msb_init_disk()
|
/kernel/liteos_a/fs/rootfs/ |
D | los_bootargs.c | 64 ret = los_disk_read(emmcDisk->disk_id, g_cmdLine, COMMAND_LINE_ADDR / EMMC_SEC_SIZE, in LOS_GetCmdLine()
|
D | los_rootfs.c | 68 if (los_disk_deinit(emmcDisk->disk_id) != ENOERR) { in AddEmmcParts()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
D | fatfs.c | 202 (void)OsSdSync(part->disk_id); in fatfs_sync() 1257 ret = OsSdSync(part->disk_id); in fatfs_umount() 1314 ret = OsSdSync(part->disk_id); in fatfs_sync_adapt() 1781 if (EraseDiskByID(part->disk_id, part->sector_start, part->sector_count) != LOS_OK) { in fatfs_erase() 1802 disk = get_disk(part->disk_id); in fatfs_set_part_info() 1811 ret = los_disk_read(part->disk_id, buf, 0, 1, TRUE); /* TRUE when not reading large data */ in fatfs_set_part_info() 1906 ret = OsSdSync(part->disk_id); in fatfs_mkfs() 2149 (void)OsSdSync(part->disk_id); in fatfs_fscheck()
|
/kernel/linux/linux-5.10/drivers/block/rsxx/ |
D | core.c | 767 card->disk_id = st; in rsxx_pci_probe() 969 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_probe() 1034 ida_free(&rsxx_disk_ida, card->disk_id); in rsxx_pci_remove()
|
D | dev.c | 274 "rsxx%d", card->disk_id); in rsxx_setup_dev()
|
D | rsxx_priv.h | 156 int disk_id; member
|
/kernel/liteos_a/fs/fat/virpart/src/ |
D | virpart.c | 386 ret = OsSdSync(part->disk_id); in FatFsBindVirPart()
|