Home
last modified time | relevance | path

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

12345

/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch79 return(sectors);
405 @@ -817,7 +817,7 @@ static int i_read_28 (cdrom_drive *d, void *p, long begin, long sectors, unsigne
406 cmd[8] = sectors;
407 if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
409 - if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
410 + if(p)memcpy(p,d->priv->sg_buffer,sectors*CD_FRAMESIZE_RAW);
414 @@ -836,7 +836,7 @@ static int i_read_A8 (cdrom_drive *d, void *p, long begin, long sectors, unsigne
415 cmd[9] = sectors;
416 if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
418 - if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
[all …]
/openbmc/qemu/hw/block/
H A Dhd-geometry.c58 int i, heads, sectors, cylinders; in guess_disk_lchs() local
79 sectors = p->end_sector & 63; in guess_disk_lchs()
80 if (sectors == 0) { in guess_disk_lchs()
83 cylinders = nb_sectors / (heads * sectors); in guess_disk_lchs()
88 *psectors = sectors; in guess_disk_lchs()
90 trace_hd_geometry_lchs_guess(blk, cylinders, heads, sectors); in guess_disk_lchs()
127 *psecs = geo.sectors; in hd_geometry_guess()
/openbmc/u-boot/common/
H A Davb_verify.c261 lbaint_t sectors, in mmc_read_and_flush() argument
273 if ((start + sectors) > (part->info.start + part->info.size)) { in mmc_read_and_flush()
274 sectors = part->info.start + part->info.size - start; in mmc_read_and_flush()
276 __func__, sectors); in mmc_read_and_flush()
288 if (sectors > buf_size / part->info.blksz) in mmc_read_and_flush()
289 sectors = buf_size / part->info.blksz; in mmc_read_and_flush()
295 start, sectors, tmp_buf); in mmc_read_and_flush()
297 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
300 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
306 lbaint_t sectors, void *buffer) in mmc_write() argument
[all …]
/openbmc/u-boot/board/keymile/km83xx/
H A DREADME.kmeter167 Un-Protected 5 sectors
70 Erased 5 sectors
73 Protected 5 sectors
77 Un-Protected 1 sectors
79 Un-Protected 1 sectors
82 Erased 1 sectors
85 Protected 1 sectors
87 Protected 1 sectors
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch151 - geo->sectors = fd_str.sect;
165 - /* Didn't work either... assign a geometry of 64 heads, 32 sectors; this is
170 - geo->sectors = opt.sectors ? : 32;
171 - geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT);
174 - if (!opt.sectors && !opt.heads) {
176 - "Warning: unable to obtain device geometry (defaulting to %d heads, %d sectors)\n"
178 - geo->heads, geo->sectors);
219 - if (opt.sectors)
220 - geo.sectors = opt.sectors;
225 - dprintf("heads = %u, sect = %u\n", geo.heads, geo.sectors);
[all …]
H A D0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch89 + sector_t *sectors, int nsect)
104 + sector_t *sectors;
187 + nsect += 2; /* Two sectors for the ADV */
188 + sectors = alloca(sizeof(sector_t) * nsect);
189 + memset(sectors, 0, nsect * sizeof *sectors);
190 + /* The sectors will be modified and used by syslinux_patch() */
191 + retval = ext_construct_sectmap_fs(e2fs, newino, sectors, nsect);
196 + modbytes = syslinux_patch(sectors, nsect, opt.stupid_mode,
/openbmc/openbmc/meta-fii/meta-mori/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/
H A Dfw_env.config4 # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
13 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/openbmc/meta-fii/meta-kudo/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/
H A Dfw_env.config4 # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
13 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/
H A Dfw_env.config4 # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
13 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/openbmc/meta-hpe/meta-gxp/recipes-bsp/u-boot/u-boot-fw-utils-gxp/
H A Dfw_env.config4 # Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
14 # MTD device name Device offset Env. size Flash sector size Number of sectors
H A Dalt_fw_env.config4 # Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
14 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/openbmc/meta-aspeed/recipes-bsp/u-boot/files/
H A Dalt_fw_env.config4 # Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
14 # MTD device name Device offset Env. size Flash sector size Number of sectors
H A Dfw_env.config4 # Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
9 # MTD device name Device offset Env. size Flash sector size Number of sectors
14 # MTD device name Device offset Env. size Flash sector size Number of sectors
H A Dfw_env_flash_nor.config1 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/qemu/docs/interop/
H A Dparallels.rst30 Currently, the default size is 1MiB (2048 sectors). In previous
31 versions, cluster sizes of 63 sectors, 256 and 252 kilobytes were used.
57 Cluster size, in sectors.
63 Disk size, in sectors.
83 An offset, in sectors, from the start of the file to the start of
105 Format Extension offset, an offset, in sectors, from the start of
120 images and in sectors for ``WithoutFreeSpace`` images.
206 The bitmap size, should be equal to disk size in sectors.
212 Bitmap granularity, in sectors. I.e., the number of sectors
237 offset (in 512b sectors). Given an offset in bytes into the bitmap data the
/openbmc/qemu/block/
H A Ddmg.c251 s->sectors = g_realloc(s->sectors, new_size); in dmg_read_mish_block()
283 s->sectors[i] = buff_read_uint64(buffer, offset + 8); in dmg_read_mish_block()
284 s->sectors[i] += out_offset; in dmg_read_mish_block()
488 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL; in dmg_open()
586 g_free(s->sectors); in dmg_open()
601 if (chunk_num >= s->n_chunks || s->sectors[chunk_num] > sector_num || in is_sector_in_chunk()
602 s->sectors[chunk_num] + s->sectorcounts[chunk_num] <= sector_num) { in is_sector_in_chunk()
615 if (s->sectors[chunk3] > sector_num) { in search_chunk()
620 } else if (s->sectors[chunk3] + s->sectorcounts[chunk3] > sector_num) { in search_chunk()
758 sector_offset_in_chunk = sector_num + i - s->sectors[s->current_chunk]; in dmg_co_preadv()
[all …]
H A Dvhdx-log.c870 uint32_t desc_sectors, sectors, total_length; in vhdx_log_write() local
924 sectors = aligned_length / VHDX_LOG_SECTOR_SIZE; in vhdx_log_write()
925 trailing_length = aligned_length - (sectors * VHDX_LOG_SECTOR_SIZE); in vhdx_log_write()
930 sectors += partial_sectors; in vhdx_log_write()
945 .descriptor_count = sectors, in vhdx_log_write()
955 total_length = (desc_sectors + sectors) * VHDX_LOG_SECTOR_SIZE; in vhdx_log_write()
972 for (i = 0; i < sectors; i++) { in vhdx_log_write()
987 } else if (i == sectors - 1 && trailing_length) { in vhdx_log_write()
1022 desc_sectors + sectors); in vhdx_log_write()
1027 if (sectors_written != desc_sectors + sectors) { in vhdx_log_write()
/openbmc/u-boot/tools/env/
H A Dfw_env.config4 # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
10 # MTD device name Device offset Env. size Flash sector size Number of sectors
15 # MTD device name Device offset Env. size Flash sector size Number of sectors
/openbmc/qemu/tests/qemu-iotests/
H A D257.out68 expecting 6 dirty sectors; have 6. OK!
153 expecting 6 dirty sectors; have 6. OK!
156 expecting 7 dirty sectors; have 7. OK!
178 expecting 10 dirty sectors; have 10. OK!
206 expecting 15 dirty sectors; have 15. OK!
254 expecting 15 dirty sectors; have 15. OK!
337 expecting 6 dirty sectors; have 6. OK!
385 expecting 6 dirty sectors; have 6. OK!
413 expecting 14 dirty sectors; have 14. OK!
461 expecting 14 dirty sectors; have 14. OK!
[all …]
H A D03858 local sectors=$2
63 for i in $(seq 0 $((sectors - 1))); do
H A D03761 local sectors=$2
66 for ((i=0;i<=$((sectors - 1));i++)); do
H A D076.out13 == Zero sectors per track ==
14 qemu-io: can't open device TEST_DIR/parallels-v1: Invalid image: Zero sectors per track
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-blkdev.c151 vdev->config.blk.geometry.sectors = in virtio_assume_eckd()
203 return vdev->config.blk.geometry.sectors; in virtio_get_sectors()
206 ? vdev->config.blk.geometry.sectors : 63; in virtio_get_sectors()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/
H A DREADME.falcon26 driver from these sectors. We could change this loading order to favor the
27 stored sectors. But when secure boot is enabled, these sectors are used for
30 leave it absent to favor the stored sectors. It is easier to deploy the FIT
34 the stored sectors to. Normally this is the static device tree. The second
69 mmc write <address> <sector> <sectors>
70 dd if=/dev/mmcblk0 of=<filename> bs=512 skip=<sector> count=<sectors>
/openbmc/openbmc/meta-nuvoton/recipes-bsp/u-boot/files/
H A Dfw_env.config1 # MTD device name Device offset Env. size Flash sector size Number of sectors

12345