/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/imx8/ |
D | parse-container.c | 80 u32 sectors; in read_auth_image() local 96 sectors = roundup(images[image_index].size, info->bl_len) / in read_auth_image() 102 container, sector, sectors); in read_auth_image() 103 if (info->read(info, sector, sectors, in read_auth_image() 104 (void *)images[image_index].entry) != sectors) { in read_auth_image() 124 u32 sectors; in read_auth_container() local 128 sectors = size / info->bl_len; in read_auth_container() 137 container, sector, sectors); in read_auth_container() 138 if (info->read(info, sector, sectors, container) != sectors) in read_auth_container() 156 sectors = size / info->bl_len; in read_auth_container() [all …]
|
/third_party/gptfdisk/ |
D | diskio-unix.cc | 247 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack() 428 uint64_t sectors = 0; // size in sectors in DiskSize() local 448 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, §ors); in DiskSize() 454 sectors = minfo.dki_capacity; in DiskSize() 460 sectors = bytes / b; in DiskSize() 468 sectors = sz = 0; in DiskSize() 473 sectors = sz; in DiskSize() 475 sectors = (b >> 9); in DiskSize() 479 sectors /= (GetBlockSize() / 512); in DiskSize() 488 if ((sectors == 0) || (*err == -1)) { in DiskSize() [all …]
|
D | diskio-windows.cc | 315 uint64_t sectors = 0; // size in sectors in DiskSize() local 332 sectors = (uint64_t) buf.Length.QuadPart / GetBlockSize(); in DiskSize() 336 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize(); in DiskSize() 341 sectors = 0; in DiskSize() 344 return sectors; in DiskSize()
|
/third_party/uboot/u-boot-2020.01/board/keymile/km83xx/ |
D | README.kmeter1 | 67 Un-Protected 5 sectors 70 Erased 5 sectors 73 Protected 5 sectors 77 Un-Protected 1 sectors 79 Un-Protected 1 sectors 82 Erased 1 sectors 85 Protected 1 sectors 87 Protected 1 sectors
|
/third_party/uboot/u-boot-2020.01/common/ |
D | avb_verify.c | 262 lbaint_t sectors, in mmc_read_and_flush() argument 274 if ((start + sectors) > (part->info.start + part->info.size)) { in mmc_read_and_flush() 275 sectors = part->info.start + part->info.size - start; in mmc_read_and_flush() 277 __func__, sectors); in mmc_read_and_flush() 289 if (sectors > buf_size / part->info.blksz) in mmc_read_and_flush() 290 sectors = buf_size / part->info.blksz; in mmc_read_and_flush() 296 start, sectors, tmp_buf); in mmc_read_and_flush() 298 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush() 301 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush() 307 lbaint_t sectors, void *buffer) in mmc_write() argument [all …]
|
/third_party/ntfs-3g/libntfs-3g/ |
D | bootsect.c | 116 le16_to_cpu(b->bpb.sectors) || in ntfs_boot_sector_is_ntfs() 124 le16_to_cpu(b->bpb.sectors), in ntfs_boot_sector_is_ntfs() 195 s64 sectors; in ntfs_boot_sector_parse() local 222 sectors = sle64_to_cpu(bs->number_of_sectors); in ntfs_boot_sector_parse() 223 ntfs_log_debug("NumberOfSectors = %lld\n", (long long)sectors); in ntfs_boot_sector_parse() 224 if (!sectors) { in ntfs_boot_sector_parse() 229 (sectors - 1) << vol->sector_size_bits, in ntfs_boot_sector_parse() 232 (long long)(sectors - 1)); in ntfs_boot_sector_parse() 237 vol->nr_clusters = sectors >> (ffs(sectors_per_cluster) - 1); in ntfs_boot_sector_parse()
|
/third_party/ntfs-3g/ |
D | TODO.ntfsprogs | 13 2k, and 4k sectors, we need to set the default mft record, cluster, and index 17 kernels and they can't cope with partial sectors). 38 - manual: optimal backup if disks have bad sectors 42 minimum "hidden sectors" field and BOOT.INI need modifications. 104 bad sectors, etc) 112 - fully support disks with bad sectors (attrlist attr, unknown bad sectors)
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
D | format.c | 5 int format(const char *dev, int sectors, int option) in format() argument 7 return syscall(SYS_format, dev, sectors, option); in format()
|
/third_party/ffmpeg/libavformat/ |
D | wtvdec.c | 54 uint32_t *sectors; /**< file allocation table */ member 95 … (wf->sectors[i] != wf->sectors[i - 1] + (1 << (wf->sector_bits - WTV_SECTOR_BITS)) && in wtvfile_read_packet() 96 seek_by_sector(pb, wf->sectors[i], 0) < 0)) { in wtvfile_read_packet() 121 seek_by_sector(pb, wf->sectors[offset >> wf->sector_bits], in wtvfile_seek() 166 wf->sectors = av_malloc(sizeof(uint32_t)); in wtvfile_open_sector() 167 if (!wf->sectors) { in wtvfile_open_sector() 171 wf->sectors[0] = first_sector; in wtvfile_open_sector() 174 wf->sectors = av_malloc(WTV_SECTOR_SIZE); in wtvfile_open_sector() 175 if (!wf->sectors) { in wtvfile_open_sector() 179 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4); in wtvfile_open_sector() [all …]
|
/third_party/f2fs-tools/lib/ |
D | libf2fs_zoned.c | 154 uint64_t sectors; in f2fs_get_zone_blocks() local 179 sectors = atol(str); in f2fs_get_zone_blocks() 180 if (!sectors) in f2fs_get_zone_blocks() 183 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - 9); in f2fs_get_zone_blocks() 184 sectors = (sectors << 9) / c.sector_size; in f2fs_get_zone_blocks() 190 dev->nr_zones = dev->total_sectors / sectors; in f2fs_get_zone_blocks() 191 if (dev->total_sectors % sectors) in f2fs_get_zone_blocks()
|
/third_party/flutter/flutter/examples/layers/test/smoketests/widgets/ |
D | sectors_test.dart | 7 import '../../../widgets/sectors.dart' as demo; 10 testWidgets('layers smoketest for widgets/sectors.dart', (WidgetTester tester) async {
|
/third_party/uboot/u-boot-2020.01/tools/env/ |
D | fw_env.config | 4 # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. 10 # MTD device name Device offset Env. size Flash sector size Number of sectors 15 # MTD device name Device offset Env. size Flash sector size Number of sectors
|
D | README | 27 #define HAVE_REDUND /* For systems with 2 env sectors */ 57 DEVICEx_ENVSECTORS defines the number of sectors that may be used for
|
/third_party/toybox/toys/pending/ |
D | fdisk.c | 32 long sectors; 165 unsigned long sectors = 0; in read_size() local 174 if (ioctl(dev_fd, BLKGETSIZE, §ors) == 0) in read_size() 175 if (sizeof(long) > sizeof(sector_t) && sectors != (sector_t)sectors) in read_size() 176 sectors = (uint32_t) - 1L; in read_size() 177 return sectors; in read_size() 229 disk->sectors = geometry.sectors; in read_geometry() 372 disk.heads = disk.sectors = 0; in read_mbr() 378 …g_sectors = (toys.optflags & FLAG_S && TT.sectors)? TT.sectors : s? s : disk.sectors?disk.sectors… in read_mbr() 1379 g_sectors = TT.sectors = value; in expert_menu() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
D | README.falcon | 26 driver from these sectors. We could change this loading order to favor the 27 stored sectors. But when secure boot is enabled, these sectors are used for 30 leave it absent to favor the stored sectors. It is easier to deploy the FIT 34 the stored sectors to. Normally this is the static device tree. The second 69 mmc write <address> <sector> <sectors> 70 dd if=/dev/mmcblk0 of=<filename> bs=512 skip=<sector> count=<sectors>
|
/third_party/flutter/flutter/examples/layers/widgets/ |
D | sectors.dart | 26 final RenderBoxToRenderSectorAdapter sectors = initCircle(); 57 final RenderSectorRing ring = sectors.child; 141 renderBox: sectors,
|
/third_party/uboot/u-boot-2020.01/doc/ |
D | README.sata | 19 Notes: Hard disk sectors are normally 512 bytes, so 20 0x1000 sectors = 2 MBytes
|
/third_party/uboot/u-boot-2020.01/common/spl/ |
D | spl_fit.c | 368 int sectors; in spl_load_simple_fit() local 406 sectors = get_aligned_image_size(info, size, 0); in spl_load_simple_fit() 407 count = info->read(info, sector, sectors, fit); in spl_load_simple_fit() 409 sector, sectors, fit, count, size); in spl_load_simple_fit()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | device_io.h | 51 unsigned char sectors; member
|
/third_party/uboot/u-boot-2020.01/doc/imx/mkimage/ |
D | imximage.txt | 134 255 heads and 63 sectors, as suggested from several documentation and 172 Number of sectors (1-63, default 16): 63 178 cylinder = <total size> / <heads> / <sectors> / <blocksize> 209 255 heads, 63 sectors/track, 239 cylinders 216 I have set 100MB, leaving the first 2 sectors free. I will copy u-boot
|
/third_party/uboot/u-boot-2020.01/board/freescale/mx6sabreauto/ |
D | README | 78 - Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors)
|
/third_party/flutter/flutter/examples/layers/test/ |
D | sector_test.dart | 8 import '../widgets/sectors.dart';
|
/third_party/uboot/u-boot-2020.01/drivers/virtio/ |
D | virtio_blk.h | 46 __u8 sectors; member
|
/third_party/uboot/u-boot-2020.01/board/freescale/mx6sabresd/ |
D | README | 109 - Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors)
|
/third_party/e2fsprogs/misc/ |
D | partinfo.c | 75 loc.heads, (int)loc.sectors, loc.cylinders, in main()
|