/freebsd/stand/i386/boot2/ |
H A D | boot1.S | 265 * fall back to using CHS. Since we use a LBA, if we are using CHS, we have to 273 jz read.1 # No, use CHS 275 jb read.1 # No, use CHS 281 jc read.1 # If error, use CHS 283 jne read.1 # No, so use CHS 285 jz read.1 # No, so use CHS
|
/freebsd/sys/geom/part/ |
H A D | g_part_bsd.c | 390 off_t chs, msize; in g_part_bsd_read() local 410 g_part_geometry_heads(msize, sectors, &chs, &heads); in g_part_bsd_read() 411 if (chs != 0) { in g_part_bsd_read() 422 chs = le32dec(buf + 60); in g_part_bsd_read() 423 if (chs < 1) in g_part_bsd_read() 426 if (chs > msize) { in g_part_bsd_read() 427 chs = msize; in g_part_bsd_read()
|
H A D | g_part_mbr.c | 58 CTLFLAG_RWTUN, &enforce_chs, 0, "Enforce alignment to CHS addressing"); 479 off_t chs, msize, first; in g_part_mbr_read() local 512 g_part_geometry_heads(msize, sectors, &chs, &heads); in g_part_mbr_read() 513 if (chs != 0) { in g_part_mbr_read()
|
H A D | g_part.c | 224 off_t chs, cylinders; in g_part_geometry_heads() local 237 chs = cylinders * heads * sectors; in g_part_geometry_heads() 238 if (chs > *bestchs || (chs == *bestchs && *bestheads == 1)) { in g_part_geometry_heads() 239 *bestchs = chs; in g_part_geometry_heads() 250 off_t chs, bestchs; in g_part_geometry() local 262 g_part_geometry_heads(blocks, sectors, &chs, &heads); in g_part_geometry() 263 if (chs == 0) in g_part_geometry() 269 if (chs > bestchs || (chs == bestchs && heads > 1 && in g_part_geometry() 271 bestchs = chs; in g_part_geometry()
|
/freebsd/stand/i386/boot0/ |
H A D | boot0.S | 59 * (called 'packet') or CHS mode, whether to force a drive number, 67 * 1 3 start sector CHS 70 * 5 3 end sector CHS 189 * initialized to LBA 0 / CHS 0:0:1. 431 * Make %si and %bx point to the fake partition at LBA 0 (CHS 0:0:1). 548 * Load the CHS values and possibly the LBA address from the block 552 intx13: # Prepare CHS parameters 560 jz 1f # Yes, use CHS mode
|
H A D | Makefile | 21 # 0x80 'packet', use BIOS EDD (LBA) extensions instead of CHS
|
/freebsd/tools/test/stress2/misc/ |
H A D | chain.sh | 49 chs(left, int, 1 + chr(right, int)); 66 chs(right, int, 0);
|
H A D | sendfile24.sh | 36 # Test scenario suggestion by chs@
|
H A D | sendfile25.sh | 34 # Test scenario suggestion by chs@
|
/freebsd/stand/i386/mbr/ |
H A D | mbr.S | 83 # Ok, now that we have a valid drive and partition entry, load the CHS from 111 jmp main.8 # Skip the CHS setup
|
/freebsd/lib/libc/locale/ |
H A D | euc.c | 318 unsigned char ch, chs; in _EUC_mbrtowc_impl() local 367 chs = *s; in _EUC_mbrtowc_impl() 368 wc |= chs; in _EUC_mbrtowc_impl()
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/dktp/ |
H A D | fdisk.h | 47 * the MAX values are the maximum usable values for BIOS chs values 50 * indicating no CHS geometry exists for the corresponding LBA value.
|
/freebsd/stand/i386/zfsboot/ |
H A D | zfsldr.S | 245 check_edd.1: mov $msg_chs,%si # Warn that CHS is 264 msg_chs: .asciz "CHS not supported"
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | renesas,gyroadc.txt | 39 MB88101A connect directly to two CHS lines of the
|
H A D | renesas,rcar-gyroadc.yaml | 73 of the MB88101A connect directly to two CHS lines of the GyroADC,
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ufs_bmap.c | 2 /* From: NetBSD: ufs_bmap.c,v 1.14 2001/11/08 05:00:51 chs Exp */
|
/freebsd/usr.sbin/boot0cfg/ |
H A D | boot0cfg.8 | 126 as opposed to the legacy (CHS) interface, when doing disk I/O.
|
H A D | boot0cfg.c | 92 static const char fmt0[] = "# flag start chs type" 93 " end chs offset size\n";
|
/freebsd/sys/dev/sound/usb/ |
H A D | uaudio.c | 3348 uint32_t chs; /* channels */ in uaudio_mixer_add_mixer() local 3380 chs = uaudio_mixer_get_cluster( in uaudio_mixer_add_mixer() 3383 for (c = 0; c < chs; c++) { in uaudio_mixer_add_mixer() 3393 if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { in uaudio_mixer_add_mixer() 3397 for (c = 0; c < chs; c++) { in uaudio_mixer_add_mixer() 3404 MIX(sc).nchan = chs; in uaudio_mixer_add_mixer() 3407 p += chs; in uaudio_mixer_add_mixer() 3425 uint32_t chs; /* channels */ in uaudio20_mixer_add_mixer() local 3457 chs = uaudio20_mixer_get_cluster( in uaudio20_mixer_add_mixer() 3460 for (c = 0; c < chs; c++) { in uaudio20_mixer_add_mixer() [all …]
|
/freebsd/sys/contrib/openzfs/module/ |
H A D | Makefile.in | 164 …cd @srcdir@ && find . -name '*.[chS]' -exec sh -c 'for f; do mkdir -p $$distdir/$${f%/*}; cp @srcd…
|
/freebsd/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 561 val = 0xff; /* CHS begin */ in cd9660_write_mbr_partition_entry() 569 val = 0xff; /* CHS end */ in cd9660_write_mbr_partition_entry()
|
/freebsd/sys/sys/ |
H A D | ata.h | 326 * bit 6 Sets LBA/CHS mode. 1=LBA, 0=CHS 329 * bit 3-0 In LBA mode, 27-24 of address. In CHS mode, head number
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | filesystems | 148 >0 ubyte 0xcb DR-DOS 7.04+ Secured FAT32 CHS 1132 >>1 ubyte x \b, start-CHS ( 1133 >>1 use partition-chs 1134 >>5 ubyte x \b), end-CHS ( 1135 >>5 use partition-chs 1138 # Print cylinder,head,sector (CHS) of partition entry 1139 0 name partition-chs 1242 >>>0x7d search/7 \x5a\x52\xb4\x08\xcd\x13 \b,CHS
|
H A D | virtual | 54 >56 ubeshort x \b, CHS %u
|
/freebsd/sbin/fsck_msdosfs/ |
H A D | boot.c | 125 /* Legacy CHS geometry numbers: ignored */ in readboot()
|