/external/grub/stage2/ |
D | fsys_iso9660.c | 69 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) in iso9660_devread() argument 76 if (sector < 0) in iso9660_devread() 84 sector += (byte_offset >> sector_size_lg2); in iso9660_devread() 87 : "=r"(sector) in iso9660_devread() 89 "0"(sector)); in iso9660_devread() 93 printf ("<%d, %d, %d>", sector, byte_offset, byte_len); in iso9660_devread() 96 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf); in iso9660_devread() 102 unsigned int sector; in iso9660_mount() local 117 for (sector = 16 ; sector < 32 ; sector++) in iso9660_mount() 119 if (!iso9660_devread(sector, 0, sizeof(*PRIMDESC), (char *)PRIMDESC)) in iso9660_mount() [all …]
|
D | disk_io.c | 140 rawread (int drive, int sector, int byte_offset, int byte_len, char *buf) in rawread() argument 170 if (sector < 0 || sector >= buf_geom.total_sectors) in rawread() 186 soff = sector % sectors_per_vtrack; in rawread() 187 track = sector - soff; in rawread() 203 read_start = sector; in rawread() 224 sector, slen, BUFFERSEG)) in rawread() 233 if ((buf_track == 0 || sector == 0) in rawread() 264 int sector_num = sector; in rawread() 285 sector += num_sect; in rawread() 294 devread (int sector, int byte_offset, int byte_len, char *buf) in devread() argument [all …]
|
D | fsys_vstafs.c | 27 static void get_file_info (int sector); 28 static struct dir_entry *vstafs_readdir (long sector); 60 get_file_info (int sector) in get_file_info() argument 62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO); in get_file_info() 69 vstafs_readdir (long sector) in vstafs_readdir() argument 74 get_file_info (sector); in vstafs_readdir()
|
D | bios.c | 50 int sector, int nsec, int segment) in biosdisk() argument 69 if (sector >= geometry->total_sectors) in biosdisk() 76 dap.block = sector; in biosdisk() 96 return biosdisk (read, drive, geometry, sector, nsec, segment); in biosdisk() 108 sector_offset = sector % geometry->sectors + 1; in biosdisk() 109 head = sector / geometry->sectors; in biosdisk()
|
D | stage1_5.c | 25 disk_read_savesect_func (int sector, int offset, int length) in disk_read_savesect_func() argument 27 saved_sector = sector; in disk_read_savesect_func()
|
D | builtins.c | 130 disk_read_print_func (int sector, int offset, int length) in disk_read_print_func() argument 132 grub_printf ("[%d,%d,%d]", sector, offset, length); in disk_read_print_func() 146 auto void disk_read_blocklist_func (int sector, int offset, int length); in blocklist_func() 150 auto void disk_read_blocklist_func (int sector, int offset, int length) in blocklist_func() 154 if (start_sector + num_sectors == sector in blocklist_func() 182 sector-part_start, offset, offset+length); in blocklist_func() 187 start_sector = sector; in blocklist_func() 1026 int sector; in embed_func() local 1104 sector = 1; in embed_func() 1123 sector = part_start + start_sector; in embed_func() [all …]
|
D | fsys_fat.c | 227 int sector; in fat_read() local 241 sector = FAT_SUPER->fat_offset in fat_read() 243 if (!devread (sector, 0, FAT_CACHE_SIZE, (char*) FAT_BUF)) in fat_read() 268 sector = FAT_SUPER->data_offset + in fat_read() 277 devread(sector, offset, size, buf); in fat_read()
|
D | shared.h | 810 int sector, int nsec, int segment); 923 int rawread (int drive, int sector, int byte_offset, int byte_len, char *buf); 924 int devread (int sector, int byte_offset, int byte_len, char *buf); 925 int rawwrite (int drive, int sector, char *buf); 926 int devwrite (int sector, int sector_len, char *buf);
|
/external/qemu-pc-bios/bochs/bios/ |
D | notes | 11 out 1f3, cl (bits 0-5) # starting sector number 32 reads sectors into sector buffer 33 > when sector buffer is filled and the data is ready to be 36 > on a single-sector transfer, after the system has transferred 38 > on a multiple-sector transfer, after the system has transferred 39 the first sector of data, the drive sets the data-request bit to 0, 40 and the busy bit to 1. When each subsequent sector is ready to be 42 and generates an interrupt. When the system has tranferred the last sector,
|
/external/stressapptest/src/ |
D | disk_blocks.cc | 182 int64 sector = 0; in GetUnusedBlock() local 208 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( in GetUnusedBlock() 210 sector *= num_sectors; in GetUnusedBlock() 212 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( in GetUnusedBlock() 214 sector *= num_sectors; in GetUnusedBlock() 215 sector += segment * segment_size_; in GetUnusedBlock() 218 if (sector + num_sectors > (segment + 1) * segment_size_) { in GetUnusedBlock() 224 if (sector + num_sectors > device_sectors_) { in GetUnusedBlock() 234 if (addr_to_block_.find(sector) != addr_to_block_.end()) { in GetUnusedBlock() 241 block->SetParameters(sector, write_block_size_); in GetUnusedBlock()
|
/external/blktrace/ |
D | blkparse_fmt.c | 228 fprintf(ofp, strcat(format, "lu"), t->sector); in print_field() 324 (unsigned long long) t->sector, in process_default() 328 (unsigned long long) t->sector, in process_default() 333 (unsigned long long) t->sector, in process_default() 337 (unsigned long long) t->sector, in process_default() 358 (unsigned long long) t->sector, in process_default() 366 (unsigned long long) t->sector, in process_default() 380 (unsigned long long) t->sector, t_sec(t), name); in process_default() 397 (unsigned long long) t->sector, t_sec(t), in process_default() 403 fprintf(ofp, "%llu / %u [%s]\n", (unsigned long long) t->sector, in process_default()
|
D | blkparse.c | 249 __u64 sector; member 920 if (iot->sector < __iot->sector) in track_rb_insert() 922 else if (iot->sector > __iot->sector) in track_rb_insert() 927 (unsigned long long) iot->sector, in track_rb_insert() 938 static struct io_track *__find_track(struct per_dev_info *pdi, __u64 sector) in __find_track() argument 946 if (sector < __iot->sector) in __find_track() 948 else if (sector > __iot->sector) in __find_track() 958 __u64 sector) in find_track() argument 962 iot = __find_track(pdi, sector); in find_track() 968 iot->sector = sector; in find_track() [all …]
|
D | blkiomon.c | 117 fprintf(debug.fp, "sector %16ld\n", (unsigned long)bit->sector); in dump_bit() 144 (unsigned long)bit1->sector, (unsigned long)bit2->sector); in dump_bits() 368 int i = t->bit.sector % TRACE_HASH_SIZE; in blkiomon_store_trace() 376 int i = bit->sector % TRACE_HASH_SIZE; in blkiomon_fetch_trace() 381 t->bit.sector == bit->sector && in blkiomon_fetch_trace()
|
D | blktrace.h | 112 t->sector = be64_to_cpu(t->sector); in trace_to_cpu()
|
/external/blktrace/btt/ |
D | trace_im.c | 29 q_iop = dip_find_sec(g_iop->dip, IOP_Q, g_iop->t.sector); in handle_g() 40 struct io *q_iop = dip_find_sec(s_iop->dip, IOP_Q, s_iop->t.sector); in handle_s() 48 struct io *q_iop = dip_find_sec(i_iop->dip, IOP_Q, i_iop->t.sector); in handle_i() 63 q_iop = dip_find_sec(m_iop->dip, IOP_Q, m_iop->t.sector); in handle_m()
|
D | trace_complete.c | 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); in display_io_track() 41 __out(ofp, iop->g_time, IOP_G, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 43 __out(ofp, iop->i_time, IOP_I, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 45 __out(ofp, iop->m_time, IOP_M, iop->t.sector, t_sec(&iop->t),1); in display_io_track() 88 q_iop->c_sec = c_iop->t.sector; in handle_complete()
|
D | mmap.c | 62 tp->sector = be64_to_cpu(t->sector); in convert_to_cpu()
|
/external/blktrace/btreplay/ |
D | btrecord.c | 71 __u64 sector; member 274 .sector = spec->sector, in io_bunch_add() 513 spec->sector = t.sector; in next_io() 520 spec->sector = be64_to_cpu(t.sector); in next_io() 549 iip->cpu, (long long unsigned)spec->sector, in next_io() 615 (unsigned long long)p->sector, in bunch_output_pkts()
|
/external/qemu/ |
D | dma.h | 36 QEMUSGList *sg, uint64_t sector, 39 QEMUSGList *sg, uint64_t sector,
|
D | dma-helpers.c | 173 QEMUSGList *sg, uint64_t sector, in dma_bdrv_read() argument 176 return dma_bdrv_io(bs, sg, sector, cb, opaque, 0); in dma_bdrv_read() 180 QEMUSGList *sg, uint64_t sector, in dma_bdrv_write() argument 183 return dma_bdrv_io(bs, sg, sector, cb, opaque, 1); in dma_bdrv_write()
|
D | block.c | 748 int64_t sector, total_sectors; in bdrv_commit() local 796 for (sector = 0; sector < total_sectors; sector += n) { in bdrv_commit() 797 if (drv->bdrv_is_allocated(bs, sector, COMMIT_BUF_SECTORS, &n)) { in bdrv_commit() 799 if (bdrv_read(bs, sector, buf, n) != 0) { in bdrv_commit() 804 if (bdrv_write(bs->backing_hd, sector, buf, n) != 0) { in bdrv_commit() 1158 uint8_t sector; /* starting sector */ member 2084 if (req1->sector > req2->sector) { in multiwrite_req_compare() 2086 } else if (req1->sector < req2->sector) { in multiwrite_req_compare() 2110 int64_t oldreq_last = reqs[outidx].sector + reqs[outidx].nb_sectors; in multiwrite_merge() 2114 if (reqs[i].sector <= oldreq_last) { in multiwrite_merge() [all …]
|
/external/kernel-headers/original/linux/raid/ |
D | md.h | 89 sector_t sector, int size, struct page *page); 91 extern int sync_page_io(struct block_device *bdev, sector_t sector, int size,
|
/external/libnfc-nci/src/nfc/tags/ |
D | rw_t2t.c | 409 p_t2t->sector = p_t2t->select_sector; in rw_t2t_process_timeout() 619 tNFC_STATUS rw_t2t_sector_change (UINT8 sector) in rw_t2t_sector_change() argument 635 UINT8_TO_BE_STREAM (p, sector); in rw_t2t_sector_change() 683 if (p_t2t->sector != block/T2T_BLOCKS_PER_SECTOR) in rw_t2t_read() 742 if (p_t2t->sector != block/T2T_BLOCKS_PER_SECTOR) in rw_t2t_write() 974 tNFC_STATUS RW_T2tSectorSelect (UINT8 sector) in RW_T2tSectorSelect() argument 986 if (sector >= T2T_MAX_SECTOR) in RW_T2tSectorSelect() 988 …2tSectorSelect - Invalid sector: %u, T2 Max supported sector value: %u", sector, T2T_MAX_SECTOR - … in RW_T2tSectorSelect() 997 p_t2t->select_sector = sector; in RW_T2tSectorSelect()
|
/external/grub/grub/ |
D | asmstub.c | 929 int sector, int nsec, int segment) in biosdisk() argument 949 offset = (loff_t) sector * (loff_t) SECTOR_SIZE; in biosdisk() 955 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE; in biosdisk() 968 if (sector == 0 && nsec > 1) in biosdisk() 989 nsec, sector, drive, device_map[drive]); in biosdisk()
|
/external/e2fsprogs/tests/m_dasd_bs/ |
D | script | 1 DESCRIPTION="2048 byte sector devices"
|