Home
last modified time | relevance | path

Searched refs:sectorStart (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/drivers/block/disk/src/
Ddisk.c317 static INT32 DiskAddPart(los_disk *disk, UINT64 sectorStart, UINT64 sectorCount, BOOL IsValidPart) in DiskAddPart() argument
330 if ((sectorCount > disk->sector_count) || ((disk->sector_count - sectorCount) < sectorStart)) { in DiskAddPart()
331 …PRINT_ERR("DiskAddPart failed: sector start is %llu, sector count is %llu\n", sectorStart, sectorC… in DiskAddPart()
352 part = DiskPartAllocate(partDev, sectorStart, sectorCount); in DiskAddPart()
359 part = DiskPartAllocate(diskDev, sectorStart, sectorCount); in DiskAddPart()
1735 INT32 add_mmc_partition(struct disk_divide_info *info, size_t sectorStart, size_t sectorCount) in add_mmc_partition() argument
1747 if ((sectorCount > info->sector_count) || ((info->sector_count - sectorCount) < sectorStart)) { in add_mmc_partition()
1753 if (sectorStart < (info->part[i].sector_start + info->part[i].sector_count)) { in add_mmc_partition()
1758 info->part[index].sector_start = sectorStart; in add_mmc_partition()
/kernel/liteos_a/drivers/block/disk/include/
Ddisk.h681 INT32 add_mmc_partition(struct disk_divide_info *info, size_t sectorStart, size_t sectorCount);