Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch79 return(sectors);
406 cmd[8] = sectors;
415 cmd[9] = sectors;
424 cmd[8] = sectors;
433 cmd[9] = sectors;
442 cmd[8] = sectors;
451 cmd[9] = sectors;
460 cmd[8] = sectors;
469 cmd[8] = sectors;
478 cmd[8] = sectors;
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-ebs.rst8 size. Its main purpose is to provide emulation of 512 byte sectors on
18 <dev path> <offset> <emulated sectors> [<underlying sectors>]
27 has to be a multiple of <emulated sectors>.
28 <emulated sectors>:
29 Number of sectors defining the logical block size to be emulated;
30 1, 2, 4, 8 sectors of 512 bytes supported.
34 <underlying sectors>:
35 Number of sectors defining the logical block size of <dev path>.
36 2^N supported, e.g. 8 = emulate 8 sectors of 512 bytes = 4KiB.
43 offset 1024 sectors with underlying devices block size automatically set:
[all …]
H A Ddm-integrity.rst68 dm-integrity won't read of write these sectors
77 not used and data sectors and integrity tags are written
106 The number of interleaved sectors. This values is rounded down to
178 512-byte sectors that corresponds to one bitmap bit.
226 2. provided data sectors - that is the number of sectors that the user
233 * reserved sectors
241 * log2(interleave sectors)
244 * provided data sectors - the number of sectors that this target
256 * log2(sectors per block)
272 * mac (8-bytes), all the macs in 8 metadata sectors form a
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_sbc.c668 u32 sectors, bool is_write) in sbc_check_prot() argument
773 u32 sectors = 0; in sbc_parse_cdb() local
883 if (!sectors) { in sbc_parse_cdb()
911 sectors = cdb[13]; in sbc_parse_cdb()
915 if (sectors > 1) { in sbc_parse_cdb()
917 " than 1\n", sectors); in sbc_parse_cdb()
929 cmd->t_task_nolb = sectors; in sbc_parse_cdb()
983 if (!sectors) { in sbc_parse_cdb()
997 if (!sectors) { in sbc_parse_cdb()
1282 left = sectors * dev->prot_length; in sbc_dif_copy_prot()
[all …]
/openbmc/linux/drivers/md/
H A Draid0.c66 sector_t curr_zone_end, sectors; in create_strip_zones() local
83 sectors = rdev1->sectors; in create_strip_zones()
85 rdev1->sectors = sectors * mddev->chunk_sectors; in create_strip_zones()
103 if (rdev2->sectors == rdev1->sectors) { in create_strip_zones()
194 if (!smallest || (rdev1->sectors < smallest->sectors)) in create_strip_zones()
235 if (!smallest || rdev->sectors < smallest->sectors) { in create_strip_zones()
244 sectors = (smallest->sectors - zone->dev_start) * c; in create_strip_zones()
249 curr_zone_end += sectors; in create_strip_zones()
358 WARN_ONCE(sectors || raid_disks, in raid0_size()
593 unsigned sectors; in raid0_make_request() local
[all …]
H A Dmd-linear.c49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() argument
55 WARN_ONCE(sectors || raid_disks, in linear_size()
78 sector_t sectors; in linear_conf() local
88 sectors = rdev->sectors; in linear_conf()
89 sector_div(sectors, mddev->chunk_sectors); in linear_conf()
90 rdev->sectors = sectors * mddev->chunk_sectors; in linear_conf()
96 conf->array_sectors += rdev->sectors; in linear_conf()
108 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf()
113 conf->disks[i].rdev->sectors; in linear_conf()
218 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
[all …]
H A Draid1.c579 len = sectors; in align_to_barrier_unit_end()
601 int sectors; in read_balance() local
619 sectors = r1_bio->sectors; in read_balance()
2022 int sectors = r1_bio->sectors; in fix_sync_read_error() local
2038 while(sectors) { in fix_sync_read_error()
2091 sectors -= s; in fix_sync_read_error()
2126 sectors -= s; in fix_sync_read_error()
2278 while(sectors) { in fix_read_error()
2364 sectors -= s; in fix_read_error()
2388 int sectors; in narrow_write_error() local
[all …]
H A Draid10.c735 int sectors = r10_bio->sectors; in read_balance() local
1166 sectors); in regular_request_wait()
1436 sectors = r10_bio->sectors; in raid10_write_request()
1576 r10_bio->sectors = sectors; in __make_request()
2449 int sectors = r10_bio->sectors; in sync_request_write() local
2547 int sectors = r10_bio->sectors; in fix_recovery_read_error() local
2611 sectors -= s; in fix_recovery_read_error()
2729 int sectors = r10_bio->sectors, slot = r10_bio->read_slot; in fix_read_error() local
2922 int sectors; in narrow_write_error() local
3938 if (!sectors) in raid10_size()
[all …]
/openbmc/linux/block/
H A Dbadblocks.c60 sector_t target = s + sectors; in badblocks_check()
181 sectors = next - s; in badblocks_set()
218 if (e < s + sectors) in badblocks_set()
219 e = s + sectors; in badblocks_set()
231 sectors = e - s; in badblocks_set()
242 if (a <= s + sectors) { in badblocks_set()
244 if (e <= s + sectors) { in badblocks_set()
246 e = s + sectors; in badblocks_set()
259 sectors = e - s; in badblocks_set()
282 while (sectors) { in badblocks_set()
[all …]
/openbmc/u-boot/common/
H A Davb_verify.c261 lbaint_t sectors, in mmc_read_and_flush() argument
276 __func__, sectors); 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()
306 lbaint_t sectors, void *buffer) in mmc_write() argument
319 __func__, sectors); in mmc_write()
326 sectors = buf_size / part->info.blksz; in mmc_write()
334 start, sectors, tmp_buf); in mmc_write()
475 if (sectors) { in mmc_byte_io()
480 sectors, buffer); in mmc_byte_io()
[all …]
/openbmc/qemu/hw/block/
H A Dhd-geometry.c59 int i, heads, sectors, cylinders; in guess_disk_lchs() local
80 sectors = p->end_sector & 63; in guess_disk_lchs()
81 if (sectors == 0) { in guess_disk_lchs()
84 cylinders = nb_sectors / (heads * sectors); in guess_disk_lchs()
89 *psectors = sectors; in guess_disk_lchs()
91 trace_hd_geometry_lchs_guess(blk, cylinders, heads, sectors); in guess_disk_lchs()
128 *psecs = geo.sectors; in hd_geometry_guess()
/openbmc/linux/Documentation/block/
H A Dstat.rst31 read sectors sectors number of sectors read
35 write sectors sectors number of sectors written
42 discard sectors sectors number of sectors discarded
67 read sectors, write sectors, discard_sectors
70 These values count the number of sectors read from, written to, or
71 discarded from this block device. The "sectors" in question are the
72 standard UNIX 512-byte sectors, not any device- or filesystem-specific
/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;
170 - geo->sectors = opt.sectors ? : 32;
174 - if (!opt.sectors && !opt.heads) {
178 - geo->heads, geo->sectors);
219 - if (opt.sectors)
220 - geo.sectors = opt.sectors;
350 + geo->sectors = fd_str.sect;
369 + geo->sectors = opt.sectors ? : 32;
377 + geo->heads, geo->sectors);
407 + if (opt.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/linux/drivers/scsi/
H A Dscsicam.c179 unsigned long heads, sectors, cylinders, temp; in setsize() local
182 sectors = 62L; /* Maximize sectors per track */ in setsize()
184 temp = cylinders * sectors; /* Compute divisor for heads */ in setsize()
189 sectors = capacity / temp; /* Compute value for sectors per in setsize()
192 sectors++; /* Else, increment number of sectors */ in setsize()
193 temp = heads * sectors; /* Compute divisor for cylinders */ in setsize()
201 *secs = (unsigned int) sectors; in setsize()
/openbmc/linux/include/linux/
H A Dblk-integrity.h91 unsigned int sectors) in bio_integrity_intervals() argument
93 return sectors >> (bi->interval_exp - 9); in bio_integrity_intervals()
97 unsigned int sectors) in bio_integrity_bytes() argument
99 return bio_integrity_intervals(bi, sectors) * bi->tuple_size; in bio_integrity_bytes()
164 unsigned int sectors) in bio_integrity_intervals() argument
170 unsigned int sectors) in bio_integrity_bytes() argument
H A Dbadblocks.h44 int badblocks_check(struct badblocks *bb, sector_t s, int sectors,
46 int badblocks_set(struct badblocks *bb, sector_t s, int sectors,
48 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors);
/openbmc/linux/drivers/mtd/
H A Dssfdc.c23 unsigned char sectors; member
318 ssfdc->sectors = 32; in ssfdcr_add_mtd()
319 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); in ssfdcr_add_mtd()
321 ((long)ssfdc->sectors * (long)ssfdc->heads)); in ssfdcr_add_mtd()
324 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd()
326 (long)ssfdc->sectors); in ssfdcr_add_mtd()
329 (long)ssfdc->sectors; in ssfdcr_add_mtd()
411 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo()
414 geo->sectors = ssfdc->sectors; in ssfdcr_getgeo()
/openbmc/linux/Documentation/ABI/testing/
H A Dprocfs-diskstats15 6 sectors read
19 10 sectors written
32 17 sectors discarded
/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-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/linux/drivers/usb/storage/
H A Ddatafab.c60 unsigned long sectors; /* total sector count */ member
138 u32 sectors) in datafab_read_data() argument
153 if (sectors > 0x0FFFFFFF) in datafab_read_data()
162 totallen = sectors * info->ssize; in datafab_read_data()
221 u32 sectors) in datafab_write_data() argument
237 if (sectors > 0x0FFFFFFF) in datafab_write_data()
246 totallen = sectors * info->ssize; in datafab_write_data()
420 info->sectors = ((u32)(reply[117]) << 24) | in datafab_id_device()
582 info->sectors, info->ssize); in datafab_transport()
586 ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); in datafab_transport()
/openbmc/qemu/docs/interop/
H A Dparallels.txt25 Currently, the default size is 1MiB (2048 sectors). In previous
26 versions, cluster sizes of 63 sectors, 256 and 252 kilobytes were
52 Cluster size, in sectors.
58 Disk size, in sectors.
78 An offset, in sectors, from the start of the file to the start of
100 Format Extension offset, an offset, in sectors, from the start of
115 and in sectors for "WithoutFreeSpace" images.
198 The bitmap size, should be equal to disk size in sectors.
204 Bitmap granularity, in sectors. I.e., the number of sectors
229 offset (in 512b sectors). Given an offset in bytes into the bitmap data the

12345678910>>...14