/freebsd-11-stable/tests/sys/geom/class/eli/ |
H A D | onetime_test.sh | 15 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 D | setkey_test.sh | 16 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 D | attach_test.sh | 15 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 D | detach_test.sh | 15 sectors=100 16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
|
H A D | init_test.sh | 18 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 D | delkey_test.sh | 16 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 D | kill_test.sh | 15 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 D | conf.sh | 27 bytes=`expr $osecsize \* $sectors + 512`b 60 bytes=`expr $MAX_SECSIZE \* $sectors + 512`b
|
H A D | configure_test.sh | 15 sectors=100 16 md=$(attach_md -t malloc -s `expr $sectors + 1`)
|
H A D | integrity_test.sh | 58 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 D | wj.h | 40 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 D | wj.h | 41 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 D | MdLoad.c | 56 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 D | virtio_blk.h | 49 /* 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 D | g_part_mbr.c | 213 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 D | g_part_ebr.c | 226 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 D | g_part_vtoc8.c | 441 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 D | subr.h | 37 int g_parse_lba(const char *lbastr, unsigned int sectorsize, off_t *sectors);
|
/freebsd-11-stable/sbin/growfs/tests/ |
H A D | legacy_test.pl | 77 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 D | vhd.c | 67 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 D | mfi_disk.c | 97 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 D | mfi_syspd.c | 101 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 D | part.c | 81 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 D | part.h | 66 /* 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 D | edd.h | 61 uint64_t sectors; member in struct:edd_params
|