/freebsd/usr.bin/mkimg/ |
H A D | vhd.c | 62 uint8_t heads; member 126 geom->heads = nheads; in vhd_geometry() 135 geom->heads = 16; in vhd_geometry() 141 geom->heads = (cth + 1023) / 1024; in vhd_geometry() 142 if (geom->heads < 4) in vhd_geometry() 143 geom->heads = 4; in vhd_geometry() 144 if (cth >= (geom->heads * 1024) || geom->heads > 16) { in vhd_geometry() 145 geom->heads = 16; in vhd_geometry() 149 if (cth >= (geom->heads * 1024)) { in vhd_geometry() 150 geom->heads = 16; in vhd_geometry() [all …]
|
/freebsd/usr.sbin/fdformat/ |
H A D | fdformat.c | 276 tracks_per_dot = (fdt.tracks * fdt.heads + 20) / 40; in main() 281 fdt.tracks * fdt.heads * bytes_per_track / 1024, in main() 286 fdt.tracks * fdt.heads * bytes_per_track / 1024, in main() 299 for (i = 0; i < (fdt.tracks * fdt.heads) / tracks_per_dot; i++) in main() 307 for (track = 0; track < fdt.tracks * fdt.heads; track++) { in main() 309 format_track(fd, track / fdt.heads, fdt.sectrac, in main() 310 track % fdt.heads, fdt.trans, fdt.f_gap, in main() 312 track % fdt.heads? fdt.offset_side2: 0); in main()
|
/freebsd/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 145 printf("Format: %d cylinders, %d heads, %d sectors, %d bytes = %dkb\n", in main() 146 fdt.tracks,fdt.heads,fdt.sectrac,(1<<fdt.secsize) * 128, in main() 147 fdt.tracks*bpt*fdt.heads/1024); in main() 160 for (track = 0; track < fdt.tracks * fdt.heads; track++) { in main() 161 if(verbose) printf("\r%3d ",fdt.tracks * fdt.heads-track); in main() 163 format_track(fd, track / fdt.heads, fdt.sectrac, track % fdt.heads, in main()
|
/freebsd/sys/contrib/device-tree/scripts/ |
H A D | filter.sh | 14 LAST=$(git show-ref -s refs/heads/$UPSTREAM_MASTER||true) 28 rm -f .git/refs/original/refs/heads/${UPSTREAM_REWRITTEN} 37 --prune-empty --state-branch refs/heads/filter-state \
|
H A D | cronjob | 38 REF=$(git show-ref --verify refs/heads/${branch}) 89 REF=$(git show-ref --verify refs/heads/${TESTBRANCH}) 119 REF=$(git show-ref --verify refs/heads/${branch})
|
/freebsd/contrib/dialog/samples/install/ |
H A D | FDISK.TEST | 2 Disk /dev/hda: 14 heads, 62 sectors, 1018 cylinders 11 Disk /dev/sda: 64 heads, 32 sectors, 511 cylinders 18 Disk /dev/sdb: 64 heads, 32 sectors, 4106 cylinders
|
/freebsd/usr.sbin/fdread/ |
H A D | fdread.c | 172 mediasize = tracksize * fdt.tracks * fdt.heads; in doread() 178 fdt.tracks, fdt.heads, fdt.sectrac, secsize, _devname); in doread() 314 info.cyl = trackno / fdt.heads; in doreadid() 315 info.head = fdt.heads > 1? trackno % fdt.heads: 0; in doreadid()
|
H A D | fdutil.c | 290 out->heads = j; in parse_fmt() 337 out->size = out->tracks * out->heads * out->sectrac; in parse_fmt() 361 speed, in.heads, in.f_gap, in.f_inter, in.offset_side2); in print_fmt() 419 fdtp->size = fdtp->sectrac * fdtp->heads * fdtp->tracks; in get_fmt()
|
/freebsd/usr.sbin/bhyve/ |
H A D | block_if.c | 926 uint8_t heads; in blockif_chs() local 938 heads = 16; in blockif_chs() 943 heads = (hcyl + 1023) / 1024; in blockif_chs() 945 if (heads < 4) in blockif_chs() 946 heads = 4; in blockif_chs() 948 if (hcyl >= (heads * 1024) || heads > 16) { in blockif_chs() 950 heads = 16; in blockif_chs() 953 if (hcyl >= (heads * 1024)) { in blockif_chs() 955 heads = 16; in blockif_chs() 960 *c = hcyl / heads; in blockif_chs() [all …]
|
/freebsd/sys/geom/part/ |
H A D | g_part_bsd.c | 391 u_int sectors, heads; in g_part_bsd_read() local 410 g_part_geometry_heads(msize, sectors, &chs, &heads); in g_part_bsd_read() 413 basetable->gpt_heads = heads; in g_part_bsd_read() 416 heads = le32dec(buf + 48); in g_part_bsd_read() 417 if (heads < 1 || heads > 255) in g_part_bsd_read() 419 if (heads != basetable->gpt_heads && !basetable->gpt_fixgeom) in g_part_bsd_read() 420 basetable->gpt_heads = heads; in g_part_bsd_read()
|
H A D | g_part.c | 225 u_int heads; in g_part_geometry_heads() local 231 heads = candidate_heads[idx]; in g_part_geometry_heads() 232 cylinders = blocks / heads / sectors; in g_part_geometry_heads() 233 if (cylinders < heads || cylinders < sectors) in g_part_geometry_heads() 237 chs = cylinders * heads * sectors; in g_part_geometry_heads() 240 *bestheads = heads; in g_part_geometry_heads() 251 u_int heads, sectors; in g_part_geometry() local 255 g_getattr("GEOM::fwheads", cp, &heads) != 0 || heads == 0) { in g_part_geometry() 262 g_part_geometry_heads(blocks, sectors, &chs, &heads); in g_part_geometry() 269 if (chs > bestchs || (chs == bestchs && heads > 1 && in g_part_geometry() [all …]
|
/freebsd/lib/libc/amd64/string/ |
H A D | strncmp.S | 127 and $~0xf, %rdi # align heads to 16 bytes 132 movdqa (%rdi), %xmm0 # load aligned heads 143 movdqa %xmm0, -32(%rsp) # stash copies of the heads on the stack 161 movdqu (%r8, %rax, 1), %xmm0 # load true (or fake) heads 171 0: movdqu (%rdi, %rax, 1), %xmm0 # load true heads 194 movdqa %xmm0, -32(%rsp) # stash copies of the heads on the stack 216 movdqu (%r8, %rax, 1), %xmm0 # load true (or fake) heads 220 0: movdqu (%rdi, %rax, 1), %xmm0 # load true heads 234 add %rax, %rdi # return to true heads
|
H A D | strcmp.S | 101 and $~0xf, %rdi # align heads to 16 bytes 111 movdqa (%rdi), %xmm0 # load aligned heads 119 movdqa %xmm0, -40(%rsp) # stash copies of the heads on the stack 131 movdqu (%r8, %rax, 1), %xmm0 # load true (or fake) heads 135 0: movdqu (%rdi, %rax, 1), %xmm0 # load true heads 220 add %rax, %rdi # return to true heads
|
/freebsd/contrib/ncurses/progs/ |
H A D | infocmp.c | 1039 ENTRY *heads[MAXCOMPARE]; in file_comparison() local 1043 memset(heads, 0, sizeof(heads)); in file_comparison() 1078 heads[filecount] = _nc_head; in file_comparison() 1087 for (qp = heads[0]; qp; qp = qp->next) { in file_comparison() 1088 for (rp = heads[1]; rp; rp = rp->next) in file_comparison() 1104 for (qp = heads[0]; qp; qp = qp->next) { in file_comparison() 1119 for (rp = heads[1]; rp; rp = rp->next) { in file_comparison() 1135 for (qp = heads[0]; qp; qp = qp->next) in file_comparison() 1141 for (rp = heads[1]; rp; rp = rp->next) in file_comparison() 1147 for (qp = heads[0]; qp; qp = qp->next) { in file_comparison() [all …]
|
/freebsd/sys/dev/ida/ |
H A D | ida_disk.c | 193 drv->heads = dinfo.dp.nheads; in idad_attach() 212 drv->disk->d_fwheads = drv->heads; in idad_attach()
|
/freebsd/sys/dev/fdc/ |
H A D | fdc.c | 303 ft->size, ft->trans, ft->heads, ft->f_gap, ft->f_inter, in fdprinttype() 311 ft->size = ft->sectrac * ft->heads * ft->tracks; in fdsettype() 893 i = fd->ft->sectrac * fd->ft->heads; in fdc_worker() 1284 (finfo->cyl * fd->ft->heads + finfo->head) * in fdmisccmd() 1290 (idfield->cyl * fd->ft->heads + idfield->head) * in fdmisccmd() 1353 for (; fdtp->heads; fdtp++) { in fdautoselect() 1363 id.head = fd->ft->heads - 1; in fdautoselect() 1365 if (id.cyl != 2 || id.head != fdtp->heads - 1 || in fdautoselect() 1373 if (fdtp->heads == 0) { in fdautoselect() 1457 pp->stripesize = fd->ft->heads * fd->ft->sectrac * fd->sectorsize; in fd_access() [all …]
|
/freebsd/contrib/unifdef/scripts/ |
H A D | git.config | 9 fetch = +refs/heads/*:refs/remotes/github/*
|
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | at91-kizbox2-2.dts | 15 model = "Overkiz Kizbox 2 with two heads";
|
/freebsd/sbin/fdisk/ |
H A D | fdisk.c | 76 static int cyls, sectors, heads, cylsecs; variable 622 ,cyls,heads,sectors,cylsecs); in print_params() 829 heads = dos_heads = u; in get_params() 831 heads = dos_heads = 255; in get_params() 833 dos_cylsecs = cylsecs = heads * sectors; in get_params() 834 disksecs = cyls * heads * sectors; in get_params()
|
/freebsd/sys/dev/aac/ |
H A D | aac_cam.c | 282 ccg->heads = 255; in aac_cam_action() 285 ccg->heads = 128; in aac_cam_action() 288 ccg->heads = 64; in aac_cam_action() 291 secs_per_cylinder = ccg->heads * ccg->secs_per_track; in aac_cam_action()
|
/freebsd/sys/cam/ |
H A D | cam.c | 561 ccg->heads = 255; in cam_calc_geometry() 564 ccg->heads = 64; in cam_calc_geometry() 567 secs_per_cylinder = ccg->heads * ccg->secs_per_track; in cam_calc_geometry()
|
/freebsd/stand/i386/common/ |
H A D | edd.h | 57 uint32_t heads; member
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TraceExporter/common/ |
H A D | TraceHTR.cpp | 259 std::unordered_set<size_t> heads; in BasicSuperBlockMerge() local 284 heads.insert(id); in BasicSuperBlockMerge() 335 auto isHead = heads.count(unit_id) > 0; in BasicSuperBlockMerge()
|
/freebsd/sys/dev/virtio/block/ |
H A D | virtio_blk.h | 66 uint8_t heads; member
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | android | 189 # platform/system/vold/+/refs/heads/master/cryptfs.h 220 # +/refs/heads/androidx-main/profileinstaller/profileinstaller/\ 223 # +/refs/heads/androidx-main/profileinstaller/profileinstaller/\ 241 # +/refs/heads/mirror-goog-studio-main/apkparser/binary-resources/\
|