Home
last modified time | relevance | path

Searched refs:heads (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd/usr.bin/mkimg/
H A Dvhd.c62 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 Dfdformat.c276 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 Dfdwrite.c145 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 Dfilter.sh14 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 Dcronjob38 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 DFDISK.TEST2 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 Dfdread.c172 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 Dfdutil.c290 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 Dblock_if.c926 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 Dg_part_bsd.c391 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 Dg_part.c225 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 Dstrncmp.S127 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 Dstrcmp.S101 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 Dinfocmp.c1039 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 Dida_disk.c193 drv->heads = dinfo.dp.nheads; in idad_attach()
212 drv->disk->d_fwheads = drv->heads; in idad_attach()
/freebsd/sys/dev/fdc/
H A Dfdc.c303 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 Dgit.config9 fetch = +refs/heads/*:refs/remotes/github/*
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dat91-kizbox2-2.dts15 model = "Overkiz Kizbox 2 with two heads";
/freebsd/sbin/fdisk/
H A Dfdisk.c76 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 Daac_cam.c282 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 Dcam.c561 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 Dedd.h57 uint32_t heads; member
/freebsd/contrib/llvm-project/lldb/source/Plugins/TraceExporter/common/
H A DTraceHTR.cpp259 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 Dvirtio_blk.h66 uint8_t heads; member
/freebsd/contrib/file/magic/Magdir/
H A Dandroid189 # 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/\

1234