Home
last modified time | relevance | path

Searched refs:sectors (Results 1 – 25 of 48) sorted by relevance

12

/external/vboot_reference/firmware/stub/
Dvboot_api_stub_stream.c52 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/
Ddiskio-unix.cc210 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack()
390 uint64_t sectors = 0; // size in sectors in DiskSize() local
410 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, &sectors); 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 …]
Ddiskio-windows.cc306 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()
Dmbrpart.cc124 void MBRPart::SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs) { in SetGeometry() argument
126 numSecspTrack = sectors; in SetGeometry()
Dmbrpart.h80 void SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs);
DNEWS46 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/
Dm_transtab.c386 static Sector sectors[MAX_N_SECTORS]; variable
480 Sector* s = &sectors[sNo]; in index_tte()
689 hx->start, hx->len, (int)(sec - sectors), \ in HostExtent__is_dead()
726 const Sector* sec = &sectors[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 = &sectors[sno]; in sanity_check_all_sectors()
[all …]
/external/blktrace/btt/
Dseek.c26 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/
Dbigcode.vgtest2 # 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
Dcmdline1.stdout.exp106 more sectors may increase performance, but use more memory.
/external/fio/
Ddiskutil.c45 unsigned long long sectors[2]; in get_io_ticks() local
68 &sectors[0], in get_io_ticks()
72 &sectors[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()
Ddiskutil.h11 uint64_t sectors[2]; member
29 uint64_t sectors[2]; member
Dclient.c987 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()
Dserver.c1183 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/
Dfile.cc106 uint64_t sectors = 0; in GetSize()
107 if (ioctl(fd_, DKIOCGETBLOCKCOUNT, &sectors) == 0) { in GetSize()
108 *size = sectors << 9; in GetSize()
/external/toybox/toys/pending/
Dfdisk.c32 long sectors;
165 unsigned long sectors = 0; in read_size() local
174 if (ioctl(dev_fd, BLKGETSIZE, &sectors) == 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/
Dhdreg.h325 unsigned char sectors; member
405 unsigned short sectors; /* Obsolete, "physical" sectors per track */ member
Dvirtio_blk.h67 __u8 sectors; member
Dmsdos_fs.h119 __u8 sectors[2]; /* number of sectors */ member
Dbcache.h326 __u64 sectors; member
/external/e2fsprogs/misc/
Dpartinfo.c72 loc.heads, (int)loc.sectors, loc.cylinders, in main()
/external/autotest/client/site_tests/platform_BootPerf/
Dcontrol43 - This is the number of disk sectors read from kernel boot until
/external/strace/
Dblock.c209 (unsigned)geo.sectors, in block_ioctl()
/external/mmc-utils/
Dmmc_cmds.c511 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/
DREADME99 %n - Number of sectors

12