/src/sys/arch/x68k/stand/libsa/ |
fd.c | 96 int cyl, head, sect; local in function:fdstrategy 111 sect = dblk % nsect + sc->fmt.minsec.R; 119 (sect)),
|
fd.c | 96 int cyl, head, sect; local in function:fdstrategy 111 sect = dblk % nsect + sc->fmt.minsec.R; 119 (sect)),
|
/src/sys/fs/filecorefs/ |
filecore_bmap.c | 138 u_long frag, sect, zone, izone, a, b, m, n; local in function:filecore_map 148 sect = (addr & 0xff) + 160 if (sect > 0) 161 sect--; 162 sect <<= fcmp->drec.share_size; 200 if (sect << fcmp->drec.log2secsize < n 204 >> fcmp->drec.log2secsize) + sect; 212 sect -= (n<<fcmp->drec.log2bpmb)
|
filecore_bmap.c | 138 u_long frag, sect, zone, izone, a, b, m, n; local in function:filecore_map 148 sect = (addr & 0xff) + 160 if (sect > 0) 161 sect--; 162 sect <<= fcmp->drec.share_size; 200 if (sect << fcmp->drec.log2secsize < n 204 >> fcmp->drec.log2secsize) + sect; 212 sect -= (n<<fcmp->drec.log2bpmb)
|
/src/games/adventure/ |
io.c | 200 int sect; local in function:rdata 208 sect = next() - '0'; /* 1st digit of section number */ 210 printf("Section %c", sect + '0'); 217 sect = 10 * sect + ch - '0'; 222 switch (sect) { 262 printf("Invalid data section number: %d\n", sect); 293 rdesc(int sect) 303 /* unless sect 5 */ 304 && !(sect == 5 && (locc == 0 || locc >= 100))) [all...] |
io.c | 200 int sect; local in function:rdata 208 sect = next() - '0'; /* 1st digit of section number */ 210 printf("Section %c", sect + '0'); 217 sect = 10 * sect + ch - '0'; 222 switch (sect) { 262 printf("Invalid data section number: %d\n", sect); 293 rdesc(int sect) 303 /* unless sect 5 */ 304 && !(sect == 5 && (locc == 0 || locc >= 100))) [all...] |
/src/lib/libresolv/ |
res_findzonecut.c | 281 ns_sect sect; local in function:get_soa 313 sect = ns_s_max, n = 0; 319 sect = ns_s_an, n = ancount; 321 sect = ns_s_ns, n = nscount; 323 sect = ns_s_max, n = 0; 330 if (ns_parserr(&msg, sect, i, &rr) < 0) { 332 p_section(sect, ns_o_query), i)); 342 switch (sect) { 520 save_ns(res_state statp, ns_msg *msg, ns_sect sect, 526 for (i = 0; i < ns_msg_count(*msg, sect); i++) [all...] |
res_findzonecut.c | 281 ns_sect sect; local in function:get_soa 313 sect = ns_s_max, n = 0; 319 sect = ns_s_an, n = ancount; 321 sect = ns_s_ns, n = nscount; 323 sect = ns_s_max, n = 0; 330 if (ns_parserr(&msg, sect, i, &rr) < 0) { 332 p_section(sect, ns_o_query), i)); 342 switch (sect) { 520 save_ns(res_state statp, ns_msg *msg, ns_sect sect, 526 for (i = 0; i < ns_msg_count(*msg, sect); i++) [all...] |
/src/sys/dev/ata/ |
ata_wdc.c | 343 uint8_t head, sect, cmd = 0; local in function:_wdc_ata_bio_start 399 sect = 0; 403 sect = (ata_bio->blkno >> 0) & 0xff; 409 sect = blkno % drvp->lp->d_nsectors; 410 sect++; /* Sectors begin with 1, not 0. */ 474 head, sect, count, features); 544 head, sect, nblks,
|
ata_wdc.c | 343 uint8_t head, sect, cmd = 0; local in function:_wdc_ata_bio_start 399 sect = 0; 403 sect = (ata_bio->blkno >> 0) & 0xff; 409 sect = blkno % drvp->lp->d_nsectors; 410 sect++; /* Sectors begin with 1, not 0. */ 474 head, sect, count, features); 544 head, sect, nblks,
|
/src/usr.bin/elf2aout/ |
elf2aout.c | 61 struct sect { struct 67 static void combine(struct sect *, struct sect *, int); 201 struct sect text, data, bss; 329 struct sect ndata, nbss; 339 struct sect ntxt; 608 combine(struct sect *base, struct sect *new, int pad)
|
elf2aout.c | 61 struct sect { struct 67 static void combine(struct sect *, struct sect *, int); 201 struct sect text, data, bss; 329 struct sect ndata, nbss; 339 struct sect ntxt; 608 combine(struct sect *base, struct sect *new, int pad)
|
/src/sys/arch/vax/boot/boot/ |
mfm.c | 347 printf("sect/track: %d, tracks: %d, cyl: %d, precomp/reduced: %d/%d\n", 459 int block, sect, head, cyl, scount; local in function:mfm_rxstrategy 487 sect = block % lp->d_secpercyl; 488 head = sect / lp->d_nsectors; 489 sect = sect % lp->d_nsectors; 495 *rsize = 512 * min(scount, lp->d_nsectors - sect); 504 creg.udc_dsect = sect + 1; /* sectors are numbered 1..15 547 int block, sect, head, cyl, scount, cmd; local in function:mfm_rdstrategy 575 sect = block % lp->d_secpercyl [all...] |
mfm.c | 347 printf("sect/track: %d, tracks: %d, cyl: %d, precomp/reduced: %d/%d\n", 459 int block, sect, head, cyl, scount; local in function:mfm_rxstrategy 487 sect = block % lp->d_secpercyl; 488 head = sect / lp->d_nsectors; 489 sect = sect % lp->d_nsectors; 495 *rsize = 512 * min(scount, lp->d_nsectors - sect); 504 creg.udc_dsect = sect + 1; /* sectors are numbered 1..15 547 int block, sect, head, cyl, scount, cmd; local in function:mfm_rdstrategy 575 sect = block % lp->d_secpercyl [all...] |
/src/usr.sbin/bad144/ |
bad144.c | 376 warnx("cyl/trk/sect out of range in existing entry: " 570 int sect; local in function:hpupformat 575 sect = blk % (dp->d_nsectors * dp->d_ntracks); 576 hdr->hpup_track = (u_char)(sect / dp->d_nsectors); 577 hdr->hpup_sect = (u_char)(sect % dp->d_nsectors);
|
bad144.c | 376 warnx("cyl/trk/sect out of range in existing entry: " 570 int sect; local in function:hpupformat 575 sect = blk % (dp->d_nsectors * dp->d_ntracks); 576 hdr->hpup_track = (u_char)(sect / dp->d_nsectors); 577 hdr->hpup_sect = (u_char)(sect % dp->d_nsectors);
|
/src/usr.bin/elf2ecoff/ |
elf2ecoff.c | 58 struct sect { struct 85 static void combine(struct sect *, struct sect *, int); 111 struct sect text, data, bss; /* a.out-compatible sections */ 244 struct sect ndata, nbss; 260 struct sect ntxt; 477 combine(struct sect *base, struct sect *new, int pad)
|
elf2ecoff.c | 58 struct sect { struct 85 static void combine(struct sect *, struct sect *, int); 111 struct sect text, data, bss; /* a.out-compatible sections */ 244 struct sect ndata, nbss; 260 struct sect ntxt; 477 combine(struct sect *base, struct sect *new, int pad)
|
/src/libexec/makewhatis/ |
makewhatis.c | 739 char *sect; local in function:manpreprocess 745 if ((sect = findwhitespace(from)) != NULL) { 749 *sect++ = '\0'; 750 if ((trail = findwhitespace(sect)) != NULL) 756 length = strlen(sect); 757 (void) memmove(to, sect, length);
|
makewhatis.c | 739 char *sect; local in function:manpreprocess 745 if ((sect = findwhitespace(from)) != NULL) { 749 *sect++ = '\0'; 750 if ((trail = findwhitespace(sect)) != NULL) 756 length = strlen(sect); 757 (void) memmove(to, sect, length);
|
/src/usr.sbin/fstyp/ |
exfat.c | 139 read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec) 141 return (read_buf(fp, sect * bytespersec, bytespersec * count)); 145 read_sect(FILE *fp, off_t sect, unsigned bytespersec) 147 return (read_sectn(fp, sect, 1, bytespersec)); 161 unsigned n, sect; local in function:exfat_compute_boot_chksum 165 for (sect = 0; sect < 11; sect++) { 166 sector = read_sect(fp, region + sect, bytespersec); 170 if (sect == 0) [all...] |
exfat.c | 139 read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec) 141 return (read_buf(fp, sect * bytespersec, bytespersec * count)); 145 read_sect(FILE *fp, off_t sect, unsigned bytespersec) 147 return (read_sectn(fp, sect, 1, bytespersec)); 161 unsigned n, sect; local in function:exfat_compute_boot_chksum 165 for (sect = 0; sect < 11; sect++) { 166 sector = read_sect(fp, region + sect, bytespersec); 170 if (sect == 0) [all...] |
/src/sys/compat/linux/common/ |
linux_fdio.h | 47 u_int sect; member in struct:linux_floppy_struct
|
/src/sys/dev/vme/ |
xyreg.h | 145 volatile u_char sect; /* sector # */ member in struct:xy_iopb
|
/src/sys/dev/pci/ |
if_txp.c | 440 int sect; local in function:txp_download_fw 489 for (sect = 0; sect < le32toh(fileheader->nsections); sect++) { 490 if (txp_download_fw_section(sc, secthead, sect)) 545 const struct txp_fw_section_header *sect, int sectnum) 555 if (sect->nbytes == 0) 559 rseg = ((const uint8_t *)sect) - ((const uint8_t *)tc990image); 566 rseg += le32toh(sect->nbytes); 573 if (txp_dma_malloc(sc, le32toh(sect->nbytes), &dma, 0)) [all...] |