/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub_stream.c | 52 uint64_t sectors; in VbExStreamRead() local 63 sectors = bytes / LBA_BYTES; in VbExStreamRead() 64 if (sectors > s->sectors_left) in VbExStreamRead() 67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer); in VbExStreamRead() 71 s->sector += sectors; in VbExStreamRead() 72 s->sectors_left -= sectors; in VbExStreamRead()
|
/external/gptfdisk/ |
D | diskio-unix.cc | 210 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack() 390 uint64_t sectors = 0; // size in sectors in DiskSize() local 410 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, §ors); in DiskSize() 416 sectors = minfo.dki_capacity; in DiskSize() 422 sectors = bytes / b; in DiskSize() 430 sectors = sz = 0; in DiskSize() 435 sectors = sz; in DiskSize() 437 sectors = (b >> 9); in DiskSize() 441 sectors /= (GetBlockSize() / 512); in DiskSize() 450 if ((sectors == 0) || (*err == -1)) { in DiskSize() [all …]
|
D | diskio-windows.cc | 306 uint64_t sectors = 0; // size in sectors in DiskSize() local 323 sectors = (uint64_t) buf.Length.QuadPart / GetBlockSize(); in DiskSize() 327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize(); in DiskSize() 332 sectors = 0; in DiskSize() 335 return sectors; in DiskSize()
|
D | mbrpart.cc | 124 void MBRPart::SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs) { in SetGeometry() argument 126 numSecspTrack = sectors; in SetGeometry()
|
D | mbrpart.h | 80 void SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs);
|
D | NEWS | 46 hybrid partitions that begin below 2^32 sectors and that are smaller than 47 2^32 sectors, since this is technically legal; but gdisk displays a 424 0 for the start and end sectors refer to the first and last available 425 sectors in the largest free block, and a partition number of 0 refers to 660 - The Windows version now works on disks with over-512-byte sectors. 661 Tested on a magneto-optical (MO) drive with 2048-byte sectors. 829 - Added support for disks with other than 512-byte sectors. 909 sectors per track (255 and 63, respectively), although the bulk of the 913 - Fixed minor display bug that caused number of sectors on the disk to be 936 image files have 512-byte sectors. [all …]
|
/external/valgrind/coregrind/ |
D | m_transtab.c | 386 static Sector sectors[MAX_N_SECTORS]; variable 480 Sector* s = §ors[sNo]; in index_tte() 689 hx->start, hx->len, (int)(sec - sectors), \ in HostExtent__is_dead() 726 const Sector* sec = §ors[sno]; in find_TTEntry_from_hcode() 775 if ((const UChar*)hcode >= (const UChar*)sectors[sno].tc in is_in_the_main_TC() 776 && (const UChar*)hcode <= (const UChar*)sectors[sno].tc_next in is_in_the_main_TC() 809 vg_assert( (UChar*)host_code >= (UChar*)sectors[to_sNo].tc ); in VG_() 810 vg_assert( (UChar*)host_code <= (UChar*)sectors[to_sNo].tc_next in VG_() 1296 if (sectors[i].tc != NULL) in sanity_check_sector_search_order() 1313 sec = §ors[sno]; in sanity_check_all_sectors() [all …]
|
/external/blktrace/btt/ |
D | seek.c | 26 long long sectors; member 62 static void __insert(struct rb_root *root, long long sectors) in __insert() argument 71 if (sectors < sbp->sectors) in __insert() 73 else if (sectors > sbp->sectors) in __insert() 83 sbp->sectors = sectors; in __insert() 145 *rvp = sbp->sectors; in __median() 181 mp->modes[mp->nmds++] = sbp->sectors; in __mode()
|
/external/valgrind/none/tests/ |
D | bigcode.vgtest | 2 # and sanity check when recycling sectors. To ensure we recycle 3 # sectors, we put a small number of sectors. 8 vgopts: --num-transtab-sectors=2 --sanity-level=4
|
D | cmdline1.stdout.exp | 106 more sectors may increase performance, but use more memory.
|
/external/fio/ |
D | diskutil.c | 45 unsigned long long sectors[2]; in get_io_ticks() local 68 §ors[0], in get_io_ticks() 72 §ors[1], in get_io_ticks() 79 dus->s.sectors[0] = sectors[0]; in get_io_ticks() 80 dus->s.sectors[1] = sectors[1]; in get_io_ticks() 97 dus->s.sectors[0] += (__dus.s.sectors[0] - ldus->s.sectors[0]); in update_io_tick_disk() 98 dus->s.sectors[1] += (__dus.s.sectors[1] - ldus->s.sectors[1]); in update_io_tick_disk() 543 agg->sectors[0] += dus->s.sectors[0]; in aggregate_slaves_stats() 544 agg->sectors[1] += dus->s.sectors[1]; in aggregate_slaves_stats()
|
D | diskutil.h | 11 uint64_t sectors[2]; member 29 uint64_t sectors[2]; member
|
D | client.c | 987 agg->sectors[i] = le64_to_cpu(agg->sectors[i]); in convert_agg() 1004 dus->s.sectors[i] = le64_to_cpu(dus->s.sectors[i]); in convert_dus()
|
D | server.c | 1183 dst->sectors[i] = cpu_to_le64(src->sectors[i]); in convert_agg() 1203 dst->s.sectors[i] = cpu_to_le64(src->s.sectors[i]); in convert_dus()
|
/external/bsdiff/ |
D | file.cc | 106 uint64_t sectors = 0; in GetSize() 107 if (ioctl(fd_, DKIOCGETBLOCKCOUNT, §ors) == 0) { in GetSize() 108 *size = sectors << 9; in GetSize()
|
/external/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 …]
|
/external/kernel-headers/original/uapi/linux/ |
D | hdreg.h | 325 unsigned char sectors; member 405 unsigned short sectors; /* Obsolete, "physical" sectors per track */ member
|
D | virtio_blk.h | 67 __u8 sectors; member
|
D | msdos_fs.h | 119 __u8 sectors[2]; /* number of sectors */ member
|
D | bcache.h | 326 __u64 sectors; member
|
/external/e2fsprogs/misc/ |
D | partinfo.c | 72 loc.heads, (int)loc.sectors, loc.cylinders, in main()
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | control | 43 - This is the number of disk sectors read from kernel boot until
|
/external/strace/ |
D | block.c | 209 (unsigned)geo.sectors, in block_ioctl()
|
/external/mmc-utils/ |
D | mmc_cmds.c | 511 unsigned int sectors = get_sector_count(ext_csd); in is_blockaddresed() local 513 return (sectors > (2u * 1024 * 1024 * 1024) / 512); in is_blockaddresed() 1173 unsigned int sectors = get_sector_count(ext_csd); in do_read_extcsd() local 1174 printf("Sector Count [SEC_COUNT: 0x%08x]\n", sectors); in do_read_extcsd()
|
/external/blktrace/ |
D | README | 99 %n - Number of sectors
|