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

/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub_stream.c14 /* The stub implementation assumes 512-byte disk sectors */
25 /* Number of sectors left in partition */
52 uint64_t sectors; local
63 sectors = bytes / LBA_BYTES;
64 if (sectors > s->sectors_left)
67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer);
71 s->sector += sectors;
72 s->sectors_left -= sectors;
/external/gptfdisk/
H A Ddiskio-unix.cc197 // Returns the number of sectors per track, according to the kernel, or 63
210 numSecs = (uint32_t) geometry.sectors;
390 uint64_t sectors = 0; // size in sectors local
410 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, &sectors);
416 sectors = minfo.dki_capacity;
422 sectors = bytes / b;
430 sectors = sz = 0;
435 sectors = sz;
437 sectors
[all...]
H A Ddiskio-windows.cc153 // Returns the number of sectors per track, according to the kernel, or 63
306 uint64_t sectors = 0; // size in sectors local
323 sectors = (uint64_t) buf.Length.QuadPart / GetBlockSize();
327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize();
332 sectors = 0;
335 return sectors;
H A Dmbrpart.h80 void SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs);
H A Dmbrpart.cc124 void MBRPart::SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs) { argument
126 numSecspTrack = sectors;
/external/blktrace/btt/
H A Dseek.c26 long long sectors; member in struct:seek_bkt
62 static void __insert(struct rb_root *root, long long sectors) argument
71 if (sectors < sbp->sectors)
73 else if (sectors > sbp->sectors)
83 sbp->sectors = sectors;
145 *rvp = sbp->sectors;
181 mp->modes[mp->nmds++] = sbp->sectors;
[all...]
/external/valgrind/coregrind/
H A Dm_transtab.c56 /* Nr of sectors provided via command line parameter. */
58 /* Nr of sectors.
374 /* The root data structure is an array of sectors. The index of the
386 static Sector sectors[MAX_N_SECTORS]; variable
480 Sector* s = &sectors[sNo];
689 hx->start, hx->len, (int)(sec - sectors), \
724 return False; /* run out of sectors to search */
726 const Sector* sec = &sectors[sno];
774 break; /* run out of sectors to search */
775 if ((const UChar*)hcode >= (const UChar*)sectors[sn
[all...]
/external/fio/
H A Ddiskutil.h11 uint64_t sectors[2]; member in struct:disk_util_stats
29 uint64_t sectors[2]; member in struct:disk_util_agg
H A Ddiskutil.c45 unsigned long long sectors[2]; local
68 &sectors[0],
72 &sectors[1],
79 dus->s.sectors[0] = sectors[0];
80 dus->s.sectors[1] = sectors[1];
97 dus->s.sectors[0] += (__dus.s.sectors[0] - ldus->s.sectors[
[all...]
H A Dclient.c987 agg->sectors[i] = le64_to_cpu(agg->sectors[i]);
1004 dus->s.sectors[i] = le64_to_cpu(dus->s.sectors[i]);
H A Dserver.c1183 dst->sectors[i] = cpu_to_le64(src->sectors[i]);
1203 dst->s.sectors[i] = cpu_to_le64(src->s.sectors[i]);
H A Dgclient.c202 entry_set_int_value(entry, p->dus.s.sectors[0]);
215 entry_set_int_value(entry, p->dus.s.sectors[1]);
/external/e2fsprogs/misc/
H A Dpartinfo.c72 loc.heads, (int)loc.sectors, loc.cylinders,
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_blk.h53 /* The capacity (in 512-byte sectors). */
63 __u8 sectors; member in struct:virtio_blk_config::virtio_blk_geometry
H A Dmsdos_fs.h115 __u8 sec_per_clus; /* sectors/cluster */
116 __le16 reserved; /* reserved sectors */
119 __u8 sectors[2]; /* number of sectors */ member in struct:fat_boot_sector
121 __le16 fat_length; /* sectors/FAT */
122 __le16 secs_track; /* sectors per track */
124 __le32 hidden; /* hidden sectors (unused) */
125 __le32 total_sect; /* number of sectors (if sectors == 0) */
142 __le32 length; /* sectors/FA
[all...]
H A Dhdreg.h217 #define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/
218 #define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */
220 #define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */
221 #define WIN_READDMA 0xC8 /* read sectors using DMA transfers */
223 #define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */
225 #define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers */
325 unsigned char sectors; member in struct:hd_geometry
405 unsigned short sectors; /* Obsolete, "physical" sectors per track */ member in struct:hd_driveid
439 unsigned short cur_sectors; /* Obsolete, l sectors pe
[all...]
H A Dbcache.h20 /* Btree keys - all units are in sectors */
154 #define BDEV_DATA_START_DEFAULT 16 /* sectors */
179 __u16 block_size; /* sectors */
180 __u16 bucket_size; /* sectors */
326 __u64 sectors; member in struct:uuid_entry::__anon6675::__anon6676
/external/toybox/toys/pending/
H A Dfdisk.c18 -u Start and End are in sectors (instead of cylinders)
21 -C CYLINDERS Set number of cylinders/heads/sectors
32 long sectors;
130 if (!g_sectors) printf(" sectors");
165 unsigned long sectors = 0; local
169 perror_msg("device has more than 2^32 sectors, can't use all of them");
174 if (ioctl(dev_fd, BLKGETSIZE, &sectors) == 0)
175 if (sizeof(long) > sizeof(sector_t) && sectors != (sector_t)sectors)
176 sectors
[all...]
/external/strace/
H A Dblock.c231 tprintf(", {heads=%u, sectors=%u, "
234 (unsigned)geo.sectors,
/external/valgrind/none/tests/
H A Dcmdline1.stdout.exp108 --num-transtab-sectors=<number> size of translated code cache [16]
109 more sectors may increase performance, but use more memory.
H A Dcmdline2.stdout.exp108 --num-transtab-sectors=<number> size of translated code cache [16]
109 more sectors may increase performance, but use more memory.
/external/toybox/generated/
H A Dglobals.h466 long sectors; member in struct:fdisk_data
/external/blktrace/btreplay/doc/
H A Dbtreplay.tex61 sector number and IO size (number of sectors). Using this information,
102 \item[IO size] The same number of sectors are transferred.
/external/blktrace/btt/doc/
H A Dbtt.tex259 the block IO layer in adjacent sectors. (Obviously, the higher this
722 sectors from the previous IO in column 2 (Y values). Here is a snippet
/external/valgrind/include/vki/
H A Dvki-linux.h1765 #define VKI_BLKSECTGET _VKI_IO(0x12,103)/* get max sectors per request (ll_rw_blk.c) */
2085 unsigned char sectors; member in struct:vki_hd_geometry

Completed in 584 milliseconds