Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/squashfs/
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()
/kernel/linux/linux-5.10/block/partitions/
Dldm.h105 uuid_t disk_id; member
134 u8 disk_id[64]; member
138 uuid_t disk_id; member
147 u64 disk_id; member
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()
/kernel/liteos_a/drivers/block/disk/src/
Ddisk.c252 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/
Ddisk.h177 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/
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()
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()
Dms_block.h156 int disk_id; member
Dms_block.c1976 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/
Dlos_bootargs.c64 ret = los_disk_read(emmcDisk->disk_id, g_cmdLine, COMMAND_LINE_ADDR / EMMC_SEC_SIZE, in LOS_GetCmdLine()
Dlos_rootfs.c68 if (los_disk_deinit(emmcDisk->disk_id) != ENOERR) { in AddEmmcParts()
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c202 (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/
Dcore.c767 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()
Ddev.c274 "rsxx%d", card->disk_id); in rsxx_setup_dev()
Drsxx_priv.h156 int disk_id; member
/kernel/liteos_a/fs/fat/virpart/src/
Dvirpart.c386 ret = OsSdSync(part->disk_id); in FatFsBindVirPart()