Searched defs:sector (Results 1 - 24 of 24) sorted by relevance

/external/blktrace/btreplay/
H A Dbtrecord.h42 * @sector: Sector number of IO
47 __u64 sector; member in struct:io_pkt
H A Dbtrecord.c65 * @sector: IO sector identifier
71 __u64 sector; member in struct:io_spec
274 .sector = spec->sector,
513 spec->sector = t.sector;
520 spec->sector = be64_to_cpu(t.sector);
549 iip->cpu, (long long unsigned)spec->sector,
[all...]
/external/qemu/
H A Ddma-helpers.c173 QEMUSGList *sg, uint64_t sector,
176 return dma_bdrv_io(bs, sg, sector, cb, opaque, 0);
180 QEMUSGList *sg, uint64_t sector,
183 return dma_bdrv_io(bs, sg, sector, cb, opaque, 1);
172 dma_bdrv_read(BlockDriverState *bs, QEMUSGList *sg, uint64_t sector, void (*cb)(void *opaque, int ret), void *opaque) argument
179 dma_bdrv_write(BlockDriverState *bs, QEMUSGList *sg, uint64_t sector, void (*cb)(void *opaque, int ret), void *opaque) argument
H A Dblock.c750 int64_t sector, total_sectors; local
798 for (sector = 0; sector < total_sectors; sector += n) {
799 if (drv->bdrv_is_allocated(bs, sector, COMMIT_BUF_SECTORS, &n)) {
801 if (bdrv_read(bs, sector, buf, n) != 0) {
806 if (bdrv_write(bs->backing_hd, sector, buf, n) != 0) {
950 -EINVAL Invalid sector number or nb_sectors
984 /* first read to align to sector start */
1011 /* add data from the last sector */
1160 uint8_t sector; /* starting sector */ member in struct:partition
2642 bdrv_get_dirty(BlockDriverState *bs, int64_t sector) argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Ddosio.h33 unsigned short sector; member in struct:__anon20464
34 unsigned short offset; /* Offset of byte within the sector */
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_blk.h116 __u64 sector; member in struct:virtio_blk_outhdr
H A Dblktrace_api.h102 __u64 sector; /* disk offset */ member in struct:blk_io_trace
H A Ddm-ioctl.h211 __u64 sector; /* Device sector */ member in struct:dm_target_msg
H A Dhdreg.h41 unsigned sector : 1; member in struct:ide_reg_valid_s::__anon23019
237 #define WIN_READ_BUFFER 0xE4 /* force read only 1 sector */
241 #define WIN_WRITE_BUFFER 0xE8 /* force write only 1 sector */
404 unsigned short sector_bytes; /* unformatted bytes per sector */
442 unsigned char multsect; /* current multiple sector count */
/external/libnfc-nci/src/nfc/tags/
H A Drw_t2t.c288 /* Free cmd buf used to hold command before sector change */
458 p_t2t->sector = p_t2t->select_sector;
459 /* Here timeout is an acknowledgment for successfull sector change */
462 /* Notify that select sector op is successfull */
470 /* Resume operation from where we stopped before sector change */
631 ** sector
645 /* Move back to the substate where we were before changing sector */
690 tNFC_STATUS rw_t2t_sector_change (UINT8 sector) argument
706 UINT8_TO_BE_STREAM (p, sector);
737 ** sector the
1053 RW_T2tSectorSelect(UINT8 sector) argument
[all...]
/external/stressapptest/src/
H A Ddisk_blocks.cc182 int64 sector = 0; local
190 "for sector data for disk %s.\n", device_name_.c_str());
198 // Align the first sector with the beginning of a write block
205 // sector in the block from.
208 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
210 sector *= num_sectors;
212 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % (
214 sector *= num_sectors;
215 sector += segment * segment_size_;
218 if (sector
[all...]
H A Derror_diag.cc265 // Info about a sector tag miscompare from a drive.
268 int sector, void *src_addr,
278 error->sector_ = sector;
291 logprintf(5, "Log: supressed %s sector tag error report: "
301 logprintf(5, "Log: supressed %s sector tag error report: "
312 os_->ErrorReport(devicename.c_str(), "sector", 1);
267 AddHDDSectorTagError(string devicename, int block, int offset, int sector, void *src_addr, void *dst_addr) argument
H A Dworker.h482 volatile uint8 sector; member in struct:FileThread::SectorTag
687 static const int kSectorSize = 512; // Size of sector on disk.
/external/blktrace/
H A Dblktrace_api.h99 __u64 sector; /* disk offset */ member in struct:blk_io_trace
H A Dblkparse.c249 __u64 sector; member in struct:io_track
920 if (iot->sector < __iot->sector)
922 else if (iot->sector > __iot->sector)
926 "sector alias (%Lu) on device %d,%d!\n",
927 (unsigned long long) iot->sector,
938 static struct io_track *__find_track(struct per_dev_info *pdi, __u64 sector) argument
946 if (sector < __iot->sector)
957 find_track(struct per_dev_info *pdi, pid_t pid, __u64 sector) argument
[all...]
/external/fio/
H A Dblktrace_api.h98 __u64 sector; /* disk offset */ member in struct:blk_io_trace
114 __u64 sector; member in struct:blk_io_trace_remap
/external/qemu/include/block/
H A Dblock.h111 typedef void BlockDriverDirtyHandler(BlockDriverState *bs, int64_t sector,
125 int64_t sector; member in struct:BlockRequest
231 int bdrv_get_dirty(BlockDriverState *bs, int64_t sector);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp31 /* quarter angle values for sector
100 if (!lrOverlap) { // no lh/rh sector overlap
101 if (!ltrOverlap) { // no lh/this/rh sector overlap
284 // the original angle is too short to get meaningful sector information
528 // Most of the time, the first one can be found trivially by detecting the smallest sector value.
529 // If all angles have the same sector value, actual sorting is required.
562 // in the case where all angles are nearly in the same sector, check the order to find the best
632 int sector = sedecimant[(xy >= 0) + (xy > 0)][(y >= 0) + (y > 0)][(x >= 0) + (x > 0)] * 2 + 1; local
633 // SkASSERT(SkPath::kLine_Verb == verb || sector >= 0);
634 return sector;
[all...]
/external/skia/src/pathops/
H A DSkOpAngle.cpp31 /* quarter angle values for sector
100 if (!lrOverlap) { // no lh/rh sector overlap
101 if (!ltrOverlap) { // no lh/this/rh sector overlap
284 // the original angle is too short to get meaningful sector information
531 // Most of the time, the first one can be found trivially by detecting the smallest sector value.
532 // If all angles have the same sector value, actual sorting is required.
565 // in the case where all angles are nearly in the same sector, check the order to find the best
635 int sector = sedecimant[(xy >= 0) + (xy > 0)][(y >= 0) + (y > 0)][(x >= 0) + (x > 0)] * 2 + 1; local
636 SkASSERT(SkPath::kLine_Verb == verb || sector >= 0);
637 return sector;
[all...]
/external/e2fsprogs/lib/blkid/
H A Dprobe.c527 /* sector size check */
1331 int sector = (id->bim_kboff) << 1; local
1341 sector++;
1346 if (blkid_le64(label->sector_xl) != (unsigned) sector) {
1348 printf("LVM2: label for sector %llu found at sector %d\n",
1349 blkid_le64(label->sector_xl), sector));
1357 printf("LVM2: label checksum incorrect at sector %d\n",
1358 sector));
/external/opencv/cv/src/
H A Dcvcolor.cpp1325 int sector; local
1331 sector = cvFloor(h);
1332 h -= sector;
1339 b = tab[sector_data[sector][0]];
1340 g = tab[sector_data[sector][1]];
1341 r = tab[sector_data[sector][2]];
1563 int sector;
1575 sector = cvFloor(h);
1576 h -= sector;
1583 b = tab[sector_data[sector][
[all...]
/external/libnfc-nci/src/nfc/int/
H A Drw_int.h219 #define RW_T2T_STATE_SELECT_SECTOR 0x04 /* Waiting response for sector select command */
228 /* rw_t2t_read/rw_t2t_write takes care of sector change if the block to read/write is in a different sector
230 * move back to the particular substate after Sector change is completed and read/write command is sent on new sector */
236 #define RW_T2T_SUBSTATE_WAIT_SELECT_SECTOR_SUPPORT 0x01 /* waiting for response of sector select CMD 1 */
237 #define RW_T2T_SUBSTATE_WAIT_SELECT_SECTOR 0x02 /* waiting for response of sector select CMD 2 */
299 UINT8 prev_substate; /* Substate of the tag before moving to different sector */
300 UINT8 sector; /* Sector number that is selected */ member in struct:__anon24370
308 BT_HDR *p_cur_cmd_buf; /* Copy of current command, for retx/send after sector change */
309 BT_HDR *p_sec_cmd_buf; /* Copy of command, to send after sector chang
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c112 // - could send the multiple-sector read/write commands
2244 #define ATA_CB_SC 2 // sector count in/out pio_base_addr1+2
2245 #define ATA_CB_SN 3 // sector number in/out pio_base_addr1+3
2853 Bit16u ata_cmd_data_in(device, command, count, cylinder, head, sector, lba_low, lba_high, segment, offset)
2854 Bit16u device, command, count, cylinder, head, sector, segment, offset;
2882 // sector will be 0 only on lba access. Convert to lba-chs
2883 if (sector == 0) {
2894 sector = (Bit16u) (lba_low & 0x000000ffL);
2901 outb(iobase1 + ATA_CB_SN, sector);
2933 ;; adjust if there will be an overrun. 2K max sector siz
5217 Bit16u cylinder, head, sector; local
6051 Bit16u head, sector, cylinder, nbsectors; local
6305 Bit8u drive, num_sectors, sector, head, status, mod; local
7150 Bit8u drive, num_sectors, track, sector, head, status; local
[all...]
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 287 milliseconds