Searched refs:sectors (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-11-stable/tests/sys/geom/class/eli/
H A Donetime_test.sh15 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
17 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
19 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5`
21 md_edev=`dd if=/dev/${md} bs=${secsize} count=${sectors} status=none | md5`
42 sectors=100
44 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
63 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
65 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
67 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5`
85 sectors
[all...]
H A Dsetkey_test.sh16 sectors=100
17 md=$(attach_md -t malloc -s `expr $sectors + 1`)
19 atf_check dd if=/dev/random of=rnd bs=512 count=${sectors} status=none
20 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5`
32 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
33 hash2=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
46 hash3=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
55 hash4=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
68 hash5=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
81 hash6=`dd if=/dev/${md}.eli bs=512 count=${sectors}
[all...]
H A Dattach_test.sh15 sectors=100
16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
53 sectors=100
54 md=$(attach_md -t malloc -s `expr $sectors + 1`)
81 sectors=100
82 md=$(attach_md -t malloc -s `expr $sectors + 1`)
H A Ddetach_test.sh15 sectors=100
16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
H A Dinit_test.sh18 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} \
21 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
23 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5`
25 md_edev=`dd if=/dev/${md} bs=${secsize} count=${sectors} status=none | md5`
46 sectors=32
49 atf_check dd if=/dev/random of=rnd bs=$MAX_SECSIZE count=${sectors} \
68 sectors=100
72 md=$(attach_md -t malloc -s $sectors)
121 sectors=100
122 md=$(attach_md -t malloc -s `expr $sectors
[all...]
H A Ddelkey_test.sh16 sectors=100
17 md=$(attach_md -t malloc -s `expr $sectors + 1`)
94 sectors=100
95 md=$(attach_md -t malloc -s `expr $sectors + 1`)
H A Dkill_test.sh15 sectors=100
16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
79 sectors=100
80 md=$(attach_md -t malloc -s `expr $sectors + 1`)
H A Dconf.sh27 bytes=`expr $osecsize \* $sectors + 512`b
60 bytes=`expr $MAX_SECSIZE \* $sectors + 512`b
H A Dconfigure_test.sh15 sectors=100
16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
H A Dintegrity_test.sh58 sectors=2
61 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
104 sectors=2
107 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
148 sectors=2
151 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dwj.h40 void *wj_add_entry(PVBUS vbus, PVDEV vd, HPT_LBA lba, HPT_U16 sectors);
48 #define wj_add_entry(vbus, vd, lba, sectors) 0
/freebsd-11-stable/sys/dev/hptnr/
H A Dwj.h41 void *wj_add_entry(PVBUS vbus, PVDEV vd, HPT_LBA lba, HPT_U16 sectors);
49 #define wj_add_entry(vbus, vd, lba, sectors) 0
/freebsd-11-stable/tools/regression/geom/MdLoad/
H A DMdLoad.c56 LIST_ENTRY(sector) sectors;
65 LIST_HEAD(,sector) sectors;
80 if (LIST_EMPTY(&sc->sectors)) {
81 LIST_INSERT_HEAD(&sc->sectors, dsp, sectors);
85 LIST_FOREACH(dsp2, &sc->sectors, sectors) {
88 LIST_INSERT_BEFORE(dsp2, dsp, sectors);
92 LIST_INSERT_AFTER(dsp3, dsp, sectors);
212 LIST_INIT(&sc->sectors);
[all...]
/freebsd-11-stable/sys/dev/virtio/block/
H A Dvirtio_blk.h49 /* The capacity (in 512-byte sectors). */
59 uint8_t sectors; member in struct:virtio_blk_config::virtio_blk_geometry
/freebsd-11-stable/sys/geom/part/
H A Dg_part_mbr.c213 uint32_t sectors; local
217 sectors = basetable->gpt_sectors;
218 if (*size < sectors)
220 if (start != NULL && (*start % sectors)) {
221 *size += (*start % sectors) - sectors;
222 *start -= (*start % sectors) - sectors;
224 if (*size % sectors)
225 *size -= (*size % sectors);
469 u_int sectors, heads; local
[all...]
H A Dg_part_ebr.c226 uint32_t sectors; local
228 sectors = basetable->gpt_sectors;
229 if (*size < 2 * sectors)
231 if (*start % sectors) {
232 *size += (*start % sectors) - sectors;
233 *start -= (*start % sectors) - sectors;
235 if (*size % sectors)
236 *size -= (*size % sectors);
[all...]
H A Dg_part_vtoc8.c441 u_int cyls, heads, sectors; local
455 sectors = be16dec(&table->vtoc.nsecs);
456 if (sectors < 1)
458 if (sectors != basetable->gpt_sectors && !basetable->gpt_fixgeom) {
459 g_part_geometry_heads(msize, sectors, &chs, &heads);
461 basetable->gpt_sectors = sectors;
477 if (bootverbose && (sectors != basetable->gpt_sectors ||
481 sectors, basetable->gpt_heads, basetable->gpt_sectors);
483 table->secpercyl = heads * sectors;
/freebsd-11-stable/sbin/geom/misc/
H A Dsubr.h37 int g_parse_lba(const char *lbastr, unsigned int sectorsize, off_t *sectors);
/freebsd-11-stable/sbin/growfs/tests/
H A Dlegacy_test.pl77 my ($unallocated) = $out =~ m{\d+ sectors cannot be allocated};
91 my ($unallocated) = $out =~ m{\d+ sectors cannot be allocated};
/freebsd-11-stable/usr.bin/mkimg/
H A Dvhd.c67 uint8_t sectors; member in struct:vhd_geom
131 geom->sectors = nsecs;
140 geom->sectors = 255;
143 geom->sectors = 17;
150 geom->sectors = 31;
155 geom->sectors = 63;
173 * cylinder's worth of sectors to the new size until its
181 geom.sectors * VHD_SECTOR_SIZE;
184 newsz += geom.heads * geom.sectors * VHD_SECTOR_SIZE;
/freebsd-11-stable/sys/dev/mfi/
H A Dmfi_disk.c97 uint64_t sectors; local
111 sectors = ld_info->size;
144 "%juMB (%ju sectors) RAID volume (no label) is %s\n",
145 sectors / (1024 * 1024 / secsize), sectors, state);
148 "%juMB (%ju sectors) RAID volume '%s' is %s\n",
149 sectors / (1024 * 1024 / secsize), sectors,
164 sc->ld_disk->d_mediasize = sectors * secsize;
H A Dmfi_syspd.c101 uint64_t sectors; local
113 sectors = pd_info->raw_size;
125 device_printf(dev, "%juMB (%ju sectors) SYSPD volume (deviceid: %d)\n",
126 sectors / (1024 * 1024 / secsize), sectors, sc->pd_id);
138 sc->pd_disk->d_mediasize = sectors * secsize;
/freebsd-11-stable/stand/common/
H A Dpart.c81 uint64_t sectors; member in struct:ptable
259 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
268 table->sectors - 1) == 0) {
273 offset = pri ? hdr.hdr_lba_alt: table->sectors - 1;
279 table->sectors - 1, table->sectorsize);
302 table->sectors - 1) == 0) {
319 * in the disk's GPT table header, set the table->sectors to the value
326 table->sectors = hdr.hdr_lba_alt + 1;
407 #if 0 /* Some BIOSes return an incorrect number of sectors */
408 if (offset >= table->sectors)
550 uint16_t sum, heads, sectors; local
648 ptable_open(void *dev, uint64_t sectors, uint16_t sectorsize, diskread_t *dread) argument
[all...]
H A Dpart.h66 /* The offset and size are in sectors */
71 struct ptable *ptable_open(void *dev, uint64_t sectors, uint16_t sectorsize,
/freebsd-11-stable/stand/i386/common/
H A Dedd.h61 uint64_t sectors; member in struct:edd_params

Completed in 205 milliseconds

123