Symbol: sect
games/adventure/io.c
200
int sect;
games/adventure/io.c
208
sect = next() - '0'; /* 1st digit of section number */
games/adventure/io.c
210
printf("Section %c", sect + '0');
games/adventure/io.c
217
sect = 10 * sect + ch - '0';
games/adventure/io.c
222
switch (sect) {
games/adventure/io.c
262
printf("Invalid data section number: %d\n", sect);
games/adventure/io.c
293
rdesc(int sect)
games/adventure/io.c
304
&& !(sect == 5 && (locc == 0 || locc >= 100))) {
games/adventure/io.c
305
switch (sect) { /* now put it into right table */
games/adventure/io.c
345
if (sect != 5 || (locc > 0 && locc < 100)) {
include/arpa/nameser.h
665
int ns_newmsg_rr(ns_newmsg *handle, ns_sect sect,
lib/libc/nameser/ns_parse.c
274
setsection(ns_msg *msg, ns_sect sect) {
lib/libc/nameser/ns_parse.c
275
msg->_sect = sect;
lib/libc/nameser/ns_parse.c
276
if (sect == ns_s_max) {
lib/libc/nameser/ns_parse.c
281
msg->_msg_ptr = msg->_sections[(int)sect];
lib/libc/nameser/ns_parse.c
47
static void setsection(ns_msg *msg, ns_sect sect);
lib/libresolv/res_findzonecut.c
281
ns_sect sect;
lib/libresolv/res_findzonecut.c
313
sect = ns_s_max, n = 0;
lib/libresolv/res_findzonecut.c
319
sect = ns_s_an, n = ancount;
lib/libresolv/res_findzonecut.c
321
sect = ns_s_ns, n = nscount;
lib/libresolv/res_findzonecut.c
323
sect = ns_s_max, n = 0;
lib/libresolv/res_findzonecut.c
330
if (ns_parserr(&msg, sect, i, &rr) < 0) {
lib/libresolv/res_findzonecut.c
332
p_section(sect, ns_o_query), i));
lib/libresolv/res_findzonecut.c
342
switch (sect) {
lib/libresolv/res_findzonecut.c
520
save_ns(res_state statp, ns_msg *msg, ns_sect sect,
lib/libresolv/res_findzonecut.c
526
for (i = 0; i < ns_msg_count(*msg, sect); i++) {
lib/libresolv/res_findzonecut.c
532
if (ns_parserr(msg, sect, i, &rr) < 0) {
lib/libresolv/res_findzonecut.c
534
p_section(sect, ns_o_query), i));
lib/libresolv/res_findzonecut.c
578
save_a(res_state statp, ns_msg *msg, ns_sect sect,
lib/libresolv/res_findzonecut.c
584
for (i = 0; i < ns_msg_count(*msg, sect); i++) {
lib/libresolv/res_findzonecut.c
588
if (ns_parserr(msg, sect, i, &rr) < 0) {
lib/libresolv/res_findzonecut.c
590
p_section(sect, ns_o_query), i));
libexec/makewhatis/makewhatis.c
739
char *sect;
libexec/makewhatis/makewhatis.c
745
if ((sect = findwhitespace(from)) != NULL) {
libexec/makewhatis/makewhatis.c
749
*sect++ = '\0';
libexec/makewhatis/makewhatis.c
750
if ((trail = findwhitespace(sect)) != NULL)
libexec/makewhatis/makewhatis.c
756
length = strlen(sect);
libexec/makewhatis/makewhatis.c
757
(void) memmove(to, sect, length);
sbin/fdisk/fdisk.c
808
unsigned long cyl, head, sect;
sbin/fdisk/fdisk.c
810
sect = sector - cyl * dos_cylindersectors;
sbin/fdisk/fdisk.c
811
head = sect / dos_sectors;
sbin/fdisk/fdisk.c
812
sect -= head * dos_sectors;
sbin/fdisk/fdisk.c
817
if (head == dos_heads - 1 && sect == dos_sectors - 1)
sbin/fdisk/fdisk.c
820
if (head == 0 && sect == 0)
sbin/fdisk/fdisk.c
824
printf("/%lu/%lu", head, sect + 1);
sys/arch/sun3/dev/xy.c
1150
iopb->sect = iopb->head = iopb->cyl = 0;
sys/arch/sun3/dev/xy.c
1152
iopb->sect = block % iorq->xy->nsect;
sys/arch/sun3/dev/xy.c
1776
iopb->sect = iorq->blockno % XYFM_BPS;
sys/arch/sun3/dev/xy.c
1838
iopb->cyl, iopb->head, iopb->sect);
sys/arch/sun3/dev/xy.c
1889
iopb->sect = i % iorq->xy->nhead;
sys/arch/sun3/dev/xyreg.h
146
volatile u_char sect; /* sector # */
sys/arch/vax/boot/boot/mfm.c
459
int block, sect, head, cyl, scount;
sys/arch/vax/boot/boot/mfm.c
487
sect = block % lp->d_secpercyl;
sys/arch/vax/boot/boot/mfm.c
488
head = sect / lp->d_nsectors;
sys/arch/vax/boot/boot/mfm.c
489
sect = sect % lp->d_nsectors;
sys/arch/vax/boot/boot/mfm.c
495
*rsize = 512 * min(scount, lp->d_nsectors - sect);
sys/arch/vax/boot/boot/mfm.c
504
creg.udc_dsect = sect + 1; /* sectors are numbered 1..15
sys/arch/vax/boot/boot/mfm.c
547
int block, sect, head, cyl, scount, cmd;
sys/arch/vax/boot/boot/mfm.c
575
sect = block % lp->d_secpercyl;
sys/arch/vax/boot/boot/mfm.c
576
head = sect / lp->d_nsectors;
sys/arch/vax/boot/boot/mfm.c
577
sect = sect % lp->d_nsectors;
sys/arch/vax/boot/boot/mfm.c
583
block, dblk, cyl, sect, head);
sys/arch/vax/boot/boot/mfm.c
589
*rsize = 512 * min(scount, lp->d_nsectors - sect);
sys/arch/vax/boot/boot/mfm.c
597
creg.udc_dsect = sect;
sys/arch/x68k/stand/libsa/fd.c
111
sect = dblk % nsect + sc->fmt.minsec.R;
sys/arch/x68k/stand/libsa/fd.c
119
(sect)),
sys/arch/x68k/stand/libsa/fd.c
96
int cyl, head, sect;
sys/compat/linux/common/linux_fdio.c
112
lflop.sect = fparams.nspt;
sys/compat/linux/common/linux_fdio.h
47
u_int sect;
sys/dev/ata/ata_wdc.c
344
uint8_t head, sect, cmd = 0;
sys/dev/ata/ata_wdc.c
395
sect = 0;
sys/dev/ata/ata_wdc.c
399
sect = (ata_bio->blkno >> 0) & 0xff;
sys/dev/ata/ata_wdc.c
405
sect = blkno % drvp->lp->d_nsectors;
sys/dev/ata/ata_wdc.c
406
sect++; /* Sectors begin with 1, not 0. */
sys/dev/ata/ata_wdc.c
470
head, sect, count, features);
sys/dev/ata/ata_wdc.c
540
head, sect, nblks,
sys/dev/ic/mvsata.c
1026
u_int8_t head, sect, cmd = 0;
sys/dev/ic/mvsata.c
1112
sect = 0;
sys/dev/ic/mvsata.c
1116
sect = (ata_bio->blkno >> 0) & 0xff;
sys/dev/ic/mvsata.c
1122
sect = blkno % drvp->lp->d_nsectors;
sys/dev/ic/mvsata.c
1123
sect++; /* Sectors begin with 1, not 0. */
sys/dev/ic/mvsata.c
1184
head, sect, nblks,
sys/dev/pci/if_txp.c
440
int sect;
sys/dev/pci/if_txp.c
489
for (sect = 0; sect < le32toh(fileheader->nsections); sect++) {
sys/dev/pci/if_txp.c
490
if (txp_download_fw_section(sc, secthead, sect))
sys/dev/pci/if_txp.c
545
const struct txp_fw_section_header *sect, int sectnum)
sys/dev/pci/if_txp.c
555
if (sect->nbytes == 0)
sys/dev/pci/if_txp.c
559
rseg = ((const uint8_t *)sect) - ((const uint8_t *)tc990image);
sys/dev/pci/if_txp.c
566
rseg += le32toh(sect->nbytes);
sys/dev/pci/if_txp.c
573
if (txp_dma_malloc(sc, le32toh(sect->nbytes), &dma, 0)) {
sys/dev/pci/if_txp.c
578
memcpy(dma.dma_vaddr, ((const uint8_t *)sect) + sizeof(*sect),
sys/dev/pci/if_txp.c
579
le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
587
m.m_len = le32toh(sect->nbytes);
sys/dev/pci/if_txp.c
591
csum = in_cksum(&m, le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
592
if (csum != sect->cksum) {
sys/dev/pci/if_txp.c
594
sectnum, sect->cksum, csum);
sys/dev/pci/if_txp.c
603
WRITE_REG(sc, TXP_H2A_1, le32toh(sect->nbytes));
sys/dev/pci/if_txp.c
604
WRITE_REG(sc, TXP_H2A_2, le32toh(sect->cksum));
sys/dev/pci/if_txp.c
605
WRITE_REG(sc, TXP_H2A_3, le32toh(sect->addr));
sys/dev/vme/xy.c
1297
iopb->sect = iopb->head = iopb->cyl = 0;
sys/dev/vme/xy.c
1299
iopb->sect = block % iorq->xy->nsect;
sys/dev/vme/xy.c
1926
iopb->sect = iorq->blockno % XYFM_BPS;
sys/dev/vme/xy.c
1995
iopb->cyl, iopb->head, iopb->sect);
sys/dev/vme/xy.c
2048
iopb->sect = i % iorq->xy->nhead;
sys/dev/vme/xyreg.h
145
volatile u_char sect; /* sector # */
sys/fs/filecorefs/filecore_bmap.c
138
u_long frag, sect, zone, izone, a, b, m, n;
sys/fs/filecorefs/filecore_bmap.c
148
sect = (addr & 0xff) +
sys/fs/filecorefs/filecore_bmap.c
160
if (sect > 0)
sys/fs/filecorefs/filecore_bmap.c
161
sect--;
sys/fs/filecorefs/filecore_bmap.c
162
sect <<= fcmp->drec.share_size;
sys/fs/filecorefs/filecore_bmap.c
200
if (sect << fcmp->drec.log2secsize < n
sys/fs/filecorefs/filecore_bmap.c
204
>> fcmp->drec.log2secsize) + sect;
sys/fs/filecorefs/filecore_bmap.c
212
sect -= (n<<fcmp->drec.log2bpmb)
usr.bin/elf2aout/elf2aout.c
201
struct sect text, data, bss;
usr.bin/elf2aout/elf2aout.c
329
struct sect ndata, nbss;
usr.bin/elf2aout/elf2aout.c
339
struct sect ntxt;
usr.bin/elf2aout/elf2aout.c
608
combine(struct sect *base, struct sect *new, int pad)
usr.bin/elf2aout/elf2aout.c
67
static void combine(struct sect *, struct sect *, int);
usr.bin/elf2ecoff/elf2ecoff.c
152
struct sect text, data, bss; /* a.out-compatible sections */
usr.bin/elf2ecoff/elf2ecoff.c
276
struct sect ndata, nbss;
usr.bin/elf2ecoff/elf2ecoff.c
289
struct sect ntxt;
usr.bin/elf2ecoff/elf2ecoff.c
497
combine(struct sect *base, struct sect *new, int pad)
usr.bin/elf2ecoff/elf2ecoff.c
88
static void combine(struct sect *, struct sect *, int);
usr.sbin/bad144/bad144.c
570
int sect;
usr.sbin/bad144/bad144.c
575
sect = blk % (dp->d_nsectors * dp->d_ntracks);
usr.sbin/bad144/bad144.c
576
hdr->hpup_track = (u_char)(sect / dp->d_nsectors);
usr.sbin/bad144/bad144.c
577
hdr->hpup_sect = (u_char)(sect % dp->d_nsectors);
usr.sbin/fstyp/exfat.c
139
read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
141
return (read_buf(fp, sect * bytespersec, bytespersec * count));
usr.sbin/fstyp/exfat.c
145
read_sect(FILE *fp, off_t sect, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
147
return (read_sectn(fp, sect, 1, bytespersec));
usr.sbin/fstyp/exfat.c
161
unsigned n, sect;
usr.sbin/fstyp/exfat.c
165
for (sect = 0; sect < 11; sect++) {
usr.sbin/fstyp/exfat.c
166
sector = read_sect(fp, region + sect, bytespersec);
usr.sbin/fstyp/exfat.c
170
if (sect == 0) {