Home
last modified time | relevance | path

Searched refs:sector (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/perfetto/protos/perfetto/trace/ftrace/
Dblock.proto11 optional uint64 sector = 2; field
20 optional uint64 sector = 2; field
27 optional uint64 sector = 2; field
34 optional uint64 sector = 2; field
41 optional uint64 sector = 2; field
48 optional uint64 sector = 2; field
55 optional uint64 sector = 2; field
63 optional uint64 sector = 2; field
68 optional uint64 sector = 2; field
78 optional uint64 sector = 2; field
[all …]
/external/f2fs-tools/lib/
Dlibf2fs_zoned.c114 u_int64_t sector; in f2fs_check_zones() local
125 sector = 0; in f2fs_check_zones()
128 while (sector < total_sectors) { in f2fs_check_zones()
132 rep->sector = sector; in f2fs_check_zones()
147 for (i = 0; i < rep->nr_zones && sector < total_sectors; i++) { in f2fs_check_zones()
184 sector = blk_zone_sector(blkz) + blk_zone_length(blkz); in f2fs_check_zones()
190 if (sector != total_sectors) { in f2fs_check_zones()
192 (unsigned long long)(sector << 9) / c.sector_size, in f2fs_check_zones()
222 u_int64_t sector; in f2fs_reset_zones() local
232 sector = 0; in f2fs_reset_zones()
[all …]
/external/u-boot/fs/
Dfs_internal.c14 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() argument
26 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
29 sector); in fs_devread()
34 sector += byte_offset >> log2blksz; in fs_devread()
37 debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len); in fs_devread()
42 if (blk_dread(blk, partition->start + sector, 1, in fs_devread()
52 sector++; in fs_devread()
65 blk_dread(blk, partition->start + sector, 1, in fs_devread()
71 if (blk_dread(blk, partition->start + sector, in fs_devread()
80 sector += block_len / blk->blksz; in fs_devread()
[all …]
/external/u-boot/board/imgtec/malta/
Dflash-malta-boot.tcl22 flash erase sector 0xbe000000;
23 flash erase sector 0xbe020000;
24 flash erase sector 0xbe040000;
25 flash erase sector 0xbe060000;
26 flash erase sector 0xbe080000;
27 flash erase sector 0xbe0a0000;
28 flash erase sector 0xbe0c0000;
29 flash erase sector 0xbe0e0000;
/external/u-boot/tools/
Drkspi.c22 int sector; in rkspi_set_header() local
40 for (sector = size / RKSPI_SECT_LEN - 1; sector >= 0; sector--) { in rkspi_set_header()
41 debug("sector %u\n", sector); in rkspi_set_header()
42 memmove(buf + sector * RKSPI_SECT_LEN * 2, in rkspi_set_header()
43 buf + sector * RKSPI_SECT_LEN, in rkspi_set_header()
45 memset(buf + sector * RKSPI_SECT_LEN * 2 + RKSPI_SECT_LEN, in rkspi_set_header()
/external/u-boot/drivers/mtd/
Dcfi_flash.c568 static int flash_status_check(flash_info_t *info, flash_sect_t sector, in flash_status_check() argument
587 while (flash_is_busy(info, sector)) { in flash_status_check()
590 prompt, info->start[sector], in flash_status_check()
591 flash_read_long(info, sector, 0)); in flash_status_check()
592 flash_write_cmd(info, sector, 0, info->cmd_reset); in flash_status_check()
607 static int flash_full_status_check(flash_info_t *info, flash_sect_t sector, in flash_full_status_check() argument
612 retcode = flash_status_check(info, sector, tout, prompt); in flash_full_status_check()
618 !flash_isset(info, sector, 0, FLASH_STATUS_DONE)) { in flash_full_status_check()
621 info->start[sector]); in flash_full_status_check()
622 if (flash_isset(info, sector, 0, FLASH_STATUS_ECLBS | in flash_full_status_check()
[all …]
/external/stressapptest/src/
Ddisk_blocks.cc196 int64 sector = 0; in GetUnusedBlock() local
213 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( in GetUnusedBlock()
215 sector *= num_sectors; in GetUnusedBlock()
217 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( in GetUnusedBlock()
219 sector *= num_sectors; in GetUnusedBlock()
220 sector += segment * segment_size_; in GetUnusedBlock()
222 if (sector + num_sectors > (segment + 1) * segment_size_) { in GetUnusedBlock()
228 if (sector + num_sectors > device_sectors_) { in GetUnusedBlock()
237 if (addr_to_block_.find(sector) != addr_to_block_.end()) { in GetUnusedBlock()
244 block->set_address(sector); in GetUnusedBlock()
/external/autotest/client/tests/disktest/src/
Ddisktest.c21 unsigned int sector; member
56 unsigned int i, sec_offset, sector; in write_block() local
61 sector = (block * sectors_per_block) + sec_offset; in write_block()
65 sector_buffer[i].sector = sector; in write_block()
87 unsigned int sec_offset, sector; in verify_block() local
103 sector = (block * sectors_per_block) + sec_offset; in verify_block()
107 if (sector_buffer[i].sector != sector) { in verify_block()
108 read_sector = sector_buffer[i].sector; in verify_block()
121 sector, read_sector, in verify_block()
127 sector, read_signature, signature, in verify_block()
/external/u-boot/common/spl/
Dspl_fit.c168 static int spl_load_fit_image(struct spl_load_info *info, ulong sector, in spl_load_fit_image() argument
220 sector_offset = sector + get_aligned_image_offset(info, offset); in spl_load_fit_image()
285 struct spl_load_info *info, ulong sector, in spl_fit_append_fdt() argument
303 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
352 struct spl_load_info *info, ulong sector, void *fit) in spl_load_simple_fit() argument
392 count = info->read(info, sector, sectors, fit); in spl_load_simple_fit()
394 sector, sectors, fit, count); in spl_load_simple_fit()
409 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_load_simple_fit()
448 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_load_simple_fit()
469 spl_fit_append_fdt(spl_image, info, sector, fit, in spl_load_simple_fit()
[all …]
Dspl_mmc.c19 ulong sector, struct image_header *header) in mmc_load_legacy() argument
34 count = blk_dread(mmc_get_blk_desc(mmc), sector, image_size_sectors, in mmc_load_legacy()
44 static ulong h_spl_load_read(struct spl_load_info *load, ulong sector, in h_spl_load_read() argument
49 return blk_dread(mmc_get_blk_desc(mmc), sector, count, buf); in h_spl_load_read()
54 struct mmc *mmc, unsigned long sector) in mmc_load_image_raw_sector() argument
64 count = blk_dread(mmc_get_blk_desc(mmc), sector, 1, header); in mmc_load_image_raw_sector()
65 debug("hdr read sector %lx, count=%lu\n", sector, count); in mmc_load_image_raw_sector()
81 ret = spl_load_simple_fit(spl_image, &load, sector, header); in mmc_load_image_raw_sector()
83 ret = mmc_load_legacy(spl_image, mmc, sector, header); in mmc_load_image_raw_sector()
/external/vboot_reference/firmware/stub/
Dvboot_api_stub_stream.c23 uint64_t sector; member
41 s->sector = lba_start; in VbExStreamOpen()
67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer); in VbExStreamRead()
71 s->sector += sectors; in VbExStreamRead()
/external/blktrace/
Dblkparse_fmt.c233 fprintf(ofp, strcat(format, "lu"), t->sector); in print_field()
329 (unsigned long long) t->sector, in process_default()
333 (unsigned long long) t->sector, in process_default()
338 (unsigned long long) t->sector, in process_default()
342 (unsigned long long) t->sector, in process_default()
363 (unsigned long long) t->sector, in process_default()
371 (unsigned long long) t->sector, in process_default()
385 (unsigned long long) t->sector, t_sec(t), name); in process_default()
402 (unsigned long long) t->sector, t_sec(t), in process_default()
408 fprintf(ofp, "%llu / %u [%s]\n", (unsigned long long) t->sector, in process_default()
/external/u-boot/fs/btrfs/
Ddev.c17 lbaint_t sector; in btrfs_devread() local
20 sector = address >> btrfs_blk_desc->log2blksz; in btrfs_devread()
23 return fs_devread(btrfs_blk_desc, btrfs_part_info, sector, byte_offset, in btrfs_devread()
/external/gptfdisk/
Dgpt.h86 int LoadHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector, int *crcOk);
87 int LoadPartitionTable(const struct GPTHeader & header, DiskIO & disk, uint64_t sector = 0);
89 int SaveHeader(struct GPTHeader *header, DiskIO & disk, uint64_t sector);
90 int SavePartitionTable(DiskIO & disk, uint64_t sector);
158 int Align(uint64_t* sector);
184 int IsFree(uint64_t sector, uint32_t *partNum = NULL);
Dgpttext.cc184 uint64_t firstBlock, firstInLargest, lastBlock, sector, origSector; in CreatePartition() local
214 sector = GetSectorNum(firstBlock, lastBlock, firstInLargest, blockSize, prompt2.str()); in CreatePartition()
215 } while (IsFree(sector) == 0); in CreatePartition()
216 origSector = sector; in CreatePartition()
217 if (Align(&sector)) { in CreatePartition()
219 << sector << " in\norder to align on " << sectorAlignment in CreatePartition()
225 firstBlock = sector; in CreatePartition()
232 sector = GetSectorNum(firstBlock, lastBlock, lastBlock, blockSize, prompt3.str()); in CreatePartition()
233 } while (IsFree(sector) == 0); in CreatePartition()
234 lastBlock = sector; in CreatePartition()
/external/u-boot/env/
Dsf.c89 u32 saved_size, saved_offset, sector; in env_sf_save() local
124 sector = DIV_ROUND_UP(CONFIG_ENV_SIZE, CONFIG_ENV_SECT_SIZE); in env_sf_save()
128 sector * CONFIG_ENV_SECT_SIZE); in env_sf_save()
205 u32 saved_size, saved_offset, sector; in env_sf_save() local
232 sector = DIV_ROUND_UP(CONFIG_ENV_SIZE, CONFIG_ENV_SECT_SIZE); in env_sf_save()
236 sector * CONFIG_ENV_SECT_SIZE); in env_sf_save()
/external/blktrace/btt/
Dtrace_im.c29 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()
Dtrace_complete.c38 __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()
91 q_iop->c_sec = c_iop->t.sector; in handle_complete()
/external/blktrace/iowatcher/
Dblkparse.c148 __u64 sector; /* disk offset */ member
160 u64 sector; member
223 u64 sector = ins_pio->sector; in io_hash_table_insert() local
225 int slot = hash_sector(sector); in io_hash_table_insert()
231 if (pio->sector == sector && pio->device == dev) in io_hash_table_insert()
238 static struct pending_io *io_hash_table_search(u64 sector, u32 dev) in io_hash_table_search() argument
240 int slot = hash_sector(sector); in io_hash_table_search()
246 if (pio->sector == sector && pio->device == dev) in io_hash_table_search()
258 pio->sector = io->sector; in hash_queued_io()
275 pio = io_hash_table_search(io->sector, io->device); in hash_dispatched_io()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/block/block_dirty_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/block/block_dirty_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/block/block_touch_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/block/block_touch_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/block/block_touch_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/block/block_dirty_buffer/
Dformat10 field:sector_t sector; offset:16; size:8; signed:0;
13 …%d,%d sector=%llu size=%zu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((…

12345678910