/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)),
|
/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)
|
/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...] |
/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...] |
/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,
|
/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)
|
/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...] |
/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);
|
/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)
|
/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);
|
/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...] |
/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...] |
/src/sys/arch/sun3/dev/ |
xyreg.h | 146 volatile u_char sect; /* sector # */ member in struct:xy_iopb
|
/src/sys/dev/ic/ |
mvsata.c | 1025 u_int8_t head, sect, cmd = 0; local in function:mvsata_bio_start 1116 sect = 0; 1120 sect = (ata_bio->blkno >> 0) & 0xff; 1126 sect = blkno % drvp->lp->d_nsectors; 1127 sect++; /* Sectors begin with 1, not 0. */ 1188 head, sect, nblks,
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_gfx_v6_0.c | 2031 const struct cs_section_def *sect = NULL; local in function:gfx_v6_0_cp_gfx_start 2066 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 2067 for (ext = sect->section; ext->extent != NULL; ++ext) { 2068 if (sect->id == SECT_CONTEXT) { 2853 const struct cs_section_def *sect = NULL; local in function:gfx_v6_0_get_csb_size 2864 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 2886 const struct cs_section_def *sect = NULL; local in function:gfx_v6_0_get_csb_buffer [all...] |
amdgpu_gfx_v10_0.c | 922 const struct cs_section_def *sect = NULL; local in function:gfx_v10_0_get_csb_size 930 for (sect = gfx10_cs_data; sect->section != NULL; ++sect) { 931 for (ext = sect->section; ext->extent != NULL; ++ext) { 932 if (sect->id == SECT_CONTEXT) 953 const struct cs_section_def *sect = NULL; local in function:gfx_v10_0_get_csb_buffer 969 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 2660 const struct cs_section_def *sect = NULL; local in function:gfx_v10_0_cp_gfx_start [all...] |
amdgpu_gfx_v7_0.c | 2534 const struct cs_section_def *sect = NULL; local in function:gfx_v7_0_cp_gfx_start 2565 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 2566 for (ext = sect->section; ext->extent != NULL; ++ext) { 2567 if (sect->id == SECT_CONTEXT) { 3947 const struct cs_section_def *sect = NULL; local in function:gfx_v7_0_get_csb_size 3958 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 3980 const struct cs_section_def *sect = NULL; local in function:gfx_v7_0_get_csb_buffer [all...] |
amdgpu_gfx_v8_0.c | 1254 const struct cs_section_def *sect = NULL; local in function:gfx_v8_0_get_csb_buffer 1269 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 1270 for (ext = sect->section; ext->extent != NULL; ++ext) { 1271 if (sect->id == SECT_CONTEXT) { 4143 const struct cs_section_def *sect = NULL; local in function:gfx_v8_0_get_csb_size 4151 for (sect = vi_cs_data; sect->section != NULL; ++sect) { 4172 const struct cs_section_def *sect = NULL; local in function:gfx_v8_0_cp_gfx_start [all...] |
amdgpu_gfx_v9_0.c | 1603 const struct cs_section_def *sect = NULL; local in function:gfx_v9_0_get_csb_size 1611 for (sect = gfx9_cs_data; sect->section != NULL; ++sect) { 1612 for (ext = sect->section; ext->extent != NULL; ++ext) { 1613 if (sect->id == SECT_CONTEXT) 1632 const struct cs_section_def *sect = NULL; local in function:gfx_v9_0_get_csb_buffer 1647 for (sect = adev->gfx.rlc.cs_data; sect->section != NULL; ++sect) { 3117 const struct cs_section_def *sect = NULL; local in function:gfx_v9_0_cp_gfx_start [all...] |
/src/sbin/fdisk/ |
fdisk.c | 805 unsigned long cyl, head, sect; local in function:pr_cyls 807 sect = sector - cyl * dos_cylindersectors; 808 head = sect / dos_sectors; 809 sect -= head * dos_sectors; 814 if (head == dos_heads - 1 && sect == dos_sectors - 1) 817 if (head == 0 && sect == 0) 821 printf("/%lu/%lu", head, sect + 1);
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_si.c | 5693 const struct cs_section_def *sect = NULL; local in function:si_get_csb_size 5704 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { 5705 for (ext = sect->section; ext->extent != NULL; ++ext) { 5706 if (sect->id == SECT_CONTEXT) 5725 const struct cs_section_def *sect = NULL; local in function:si_get_csb_buffer 5740 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { [all...] |
radeon_cik.c | 6698 const struct cs_section_def *sect = NULL; local in function:cik_get_csb_size 6709 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { 6710 for (ext = sect->section; ext->extent != NULL; ++ext) { 6711 if (sect->id == SECT_CONTEXT) 6730 const struct cs_section_def *sect = NULL; local in function:cik_get_csb_buffer 6745 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { [all...] |