offs 328 compat/svr4/svr4_stream.c char *dst, *edst = ((char *) sc) + sc->offs + sizeof(na->family) + 1 - offs 773 compat/svr4/svr4_stream.c if (bnd.offs == 0) offs 786 compat/svr4/svr4_stream.c if (bnd.offs == 0) offs 829 compat/svr4/svr4_stream.c bnd.offs = 0x10; /* XXX */ offs 895 compat/svr4/svr4_stream.c sc.offs = 0x10; offs 1692 compat/svr4/svr4_stream.c sc.offs = 0x18; offs 1756 compat/svr4/svr4_stream.c sc.offs = 0x18; offs 110 compat/svr4/svr4_stropts.h long offs; /* Address offset */ offs 147 compat/svr4/svr4_stropts.h #define SVR4_ADDROF(sc) (void *) (((char *) (sc)) + (sc)->offs) offs 148 compat/svr4/svr4_stropts.h #define SVR4_C_ADDROF(sc) (const void *) (((const char *) (sc)) + (sc)->offs) offs 2431 dev/acpi/dsdt.c int s, offs = 0; offs 2457 dev/acpi/dsdt.c offs = s - 4; offs 2458 dev/acpi/dsdt.c strlcpy(res->v_mutex->amt_name, aml_getname(name) + offs, offs 1567 dev/audio.c int error = 0, s, offs, fd; offs 1653 dev/audio.c offs = sc->sc_pr.outp - sc->sc_pr.start + sc->sc_pr.blksize; offs 1654 dev/audio.c if (sc->sc_pr.start + offs >= sc->sc_pr.end) offs 1655 dev/audio.c offs = 0; offs 1659 dev/audio.c ao->offset = offs; offs 440 dev/cardbus/cardbusvar.h (*(ct)->ct_cf->cardbus_conf_read)((ct)->ct_cf, (tag), (offs)) offs 442 dev/cardbus/cardbusvar.h ((cf)->cardbus_conf_read)((cc), (tag), (offs)) offs 444 dev/cardbus/cardbusvar.h (*(ct)->ct_cf->cardbus_conf_write)((ct)->ct_cf, (tag), (offs), (val)) offs 446 dev/cardbus/cardbusvar.h ((cf)->cardbus_conf_write)((cc), (tag), (offs), (val)) offs 160 dev/ic/opl.c oaa.offs = sc->offs; offs 194 dev/ic/opl.c bus_space_write_1(oaa->iot, oaa->ioh, OPL_ADDR + OPL_L + oaa->offs, offs 197 dev/ic/opl.c bus_space_write_1(oaa->iot, oaa->ioh, OPL_DATA + OPL_L + oaa->offs, offs 209 dev/ic/opl.c sc, offs, addr, data)); offs 210 dev/ic/opl.c offs += sc->offs; offs 211 dev/ic/opl.c bus_space_write_1(sc->iot, sc->ioh, OPL_ADDR+offs, addr); offs 216 dev/ic/opl.c bus_space_write_1(sc->iot, sc->ioh, OPL_DATA+offs, data); offs 241 dev/ic/opl.c OPL_STATUS + OPL_L + oaa->offs); offs 250 dev/ic/opl.c OPL_STATUS + OPL_L + oaa->offs); offs 55 dev/ic/oplvar.h int offs; offs 71 dev/ic/oplvar.h int offs; offs 99 dev/isa/opl_ess.c sc->offs = 0; offs 102 dev/isa/opl_isa.c sc->offs = 0; offs 98 dev/isa/opl_sb.c sc->offs = 0; offs 1612 dev/pci/eso.c if (offs < 0) offs 1621 dev/pci/eso.c offs, prot, BUS_DMA_WAITOK)); offs 87 dev/pci/opl_cmpci.c oaa.offs = CMPCI_REG_FM_BASE; offs 99 dev/pci/opl_cmpci.c sc->offs = CMPCI_REG_FM_BASE; offs 104 dev/pci/opl_eso.c sc->offs = 0; offs 106 dev/pci/opl_yds.c sc->offs = 0; offs 2944 dev/pci/pccbb.c int offs; offs 2951 dev/pci/pccbb.c offs = 0x2c; offs 2954 dev/pci/pccbb.c offs = 0x1c; offs 3031 dev/pci/pccbb.c pci_conf_write(pc, tag, offs, win[0].win_start); offs 3032 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 4, win[0].win_limit); offs 3033 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 8, win[1].win_start); offs 3034 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 12, win[1].win_limit); offs 3036 dev/pci/pccbb.c pci_conf_read(pc, tag, offs), offs 3037 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 4) + align, offs 3038 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 8), offs 3039 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 12) + align)); offs 105 dev/pci/sti_pci.c bus_addr_t selected, offs, suboffs; offs 137 dev/pci/sti_pci.c for (offs = 0; offs < romsize; offs += subsize) { offs 142 dev/pci/sti_pci.c tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); offs 146 dev/pci/sti_pci.c if (offs == 0) { offs 158 dev/pci/sti_pci.c tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); offs 162 dev/pci/sti_pci.c if (offs == 0) { offs 171 dev/pci/sti_pci.c offs + 0x0c); offs 177 dev/pci/sti_pci.c offs, subsize, tmp); offs 187 dev/pci/sti_pci.c suboffs = offs +(bus_addr_t)bus_space_read_2(pa->pa_memt, romh, offs 188 dev/pci/sti_pci.c offs + 0x18); offs 193 dev/pci/sti_pci.c if (offs == 0) { offs 217 dev/pci/sti_pci.c selected = offs; offs 223 dev/pci/sti_pci.c selected = offs; offs 234 dev/pci/sti_pci.c if (selected == offs) offs 254 dev/pci/sti_pci.c offs = selected + offs 258 dev/pci/sti_pci.c bus_space_read_1(pa->pa_memt, romh, offs + i)); offs 267 dev/pci/sti_pci.c offs = selected + offs 270 dev/pci/sti_pci.c offs + 0x18); offs 280 dev/pci/sti_pci.c rc = bus_space_map(pa->pa_memt, PCI_ROM_ADDR(address) + offs, offs 2139 dev/usb/ehci.c int i, offs; offs 2153 dev/usb/ehci.c offs = i * EHCI_SQH_SIZE; offs 2154 dev/usb/ehci.c sqh = KERNADDR(&dma, offs); offs 2155 dev/usb/ehci.c sqh->physaddr = DMAADDR(&dma, offs); offs 2180 dev/usb/ehci.c int i, offs; offs 2196 dev/usb/ehci.c offs = i * EHCI_SQTD_SIZE; offs 2197 dev/usb/ehci.c sqtd = KERNADDR(&dma, offs); offs 2198 dev/usb/ehci.c sqtd->physaddr = DMAADDR(&dma, offs); offs 117 dev/usb/ezload.c u_int len, offs; offs 133 dev/usb/ezload.c for (offs = 0; offs < length; offs += ANCHOR_CHUNK) { offs 134 dev/usb/ezload.c len = length - offs; offs 137 dev/usb/ezload.c USETW(req.wValue, address + offs); offs 140 dev/usb/ezload.c address + offs, len)); offs 362 dev/usb/ohci.c int i, offs; offs 372 dev/usb/ohci.c offs = i * OHCI_SED_SIZE; offs 373 dev/usb/ohci.c sed = KERNADDR(&dma, offs); offs 374 dev/usb/ohci.c sed->physaddr = DMAADDR(&dma, offs); offs 398 dev/usb/ohci.c int i, offs; offs 410 dev/usb/ohci.c offs = i * OHCI_STD_SIZE; offs 411 dev/usb/ohci.c std = KERNADDR(&dma, offs); offs 412 dev/usb/ohci.c std->physaddr = DMAADDR(&dma, offs); offs 556 dev/usb/ohci.c int i, s, offs; offs 567 dev/usb/ohci.c offs = i * OHCI_SITD_SIZE; offs 568 dev/usb/ohci.c sitd = KERNADDR(&dma, offs); offs 569 dev/usb/ohci.c sitd->physaddr = DMAADDR(&dma, offs); offs 3219 dev/usb/ohci.c ohci_physaddr_t buf, offs, noffs, bp0; offs 3240 dev/usb/ohci.c offs = OHCI_PAGE_OFFSET(buf); offs 3244 dev/usb/ohci.c noffs = offs + xfer->frlengths[i]; offs 3266 dev/usb/ohci.c sitd->itd.itd_be = htole32(bp0 + offs - 1); offs 3272 dev/usb/ohci.c bp0 = OHCI_PAGE(buf + offs); offs 3275 dev/usb/ohci.c sitd->itd.itd_offset[ncur] = htole16(OHCI_ITD_MK_OFFS(offs)); offs 3276 dev/usb/ohci.c offs = noffs; offs 3294 dev/usb/ohci.c sitd->itd.itd_be = htole32(bp0 + offs - 1); offs 3301 dev/usb/ohci.c xfer->actlen = offs; /* XXX pretend we did it all */ offs 1532 dev/usb/uaudio.c asid = (const void *)(buf + offs); offs 1538 dev/usb/uaudio.c offs += asid->bLength; offs 1539 dev/usb/uaudio.c if (offs > size) offs 1542 dev/usb/uaudio.c asf1d = (const void *)(buf + offs); offs 1546 dev/usb/uaudio.c offs += asf1d->bLength; offs 1547 dev/usb/uaudio.c if (offs > size) offs 1556 dev/usb/uaudio.c ed = (const void *)(buf + offs); offs 1565 dev/usb/uaudio.c offs += ed->bLength; offs 1566 dev/usb/uaudio.c if (offs > size) offs 1596 dev/usb/uaudio.c sed = (const void *)(buf + offs); offs 1600 dev/usb/uaudio.c DPRINTF((" streadming_endpoint: offset=%d bLength=%d\n", offs, sed->bLength)); offs 1601 dev/usb/uaudio.c offs += sed->bLength; offs 1602 dev/usb/uaudio.c if (offs > size) offs 1617 dev/usb/uaudio.c epdesc1 = (const void*)(buf + offs); offs 1628 dev/usb/uaudio.c offs += epdesc1->bLength; offs 1629 dev/usb/uaudio.c if (offs > size) offs 1734 dev/usb/uaudio.c int size, offs; offs 1740 dev/usb/uaudio.c offs = 0; offs 1741 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs, UISUBCLASS_AUDIOSTREAM); offs 1746 dev/usb/uaudio.c while (offs <= size) { offs 1748 dev/usb/uaudio.c id->bInterfaceNumber, offs)); offs 1759 dev/usb/uaudio.c uaudio_process_as(sc, buf, &offs, size, id); offs 1767 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs,UISUBCLASS_AUDIOSTREAM); offs 1771 dev/usb/uaudio.c if (offs > size) offs 1794 dev/usb/uaudio.c int size, offs, aclen, ndps, i, j; offs 1800 dev/usb/uaudio.c offs = 0; offs 1801 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs, UISUBCLASS_AUDIOCONTROL); offs 1804 dev/usb/uaudio.c if (offs + sizeof *acdp > size) offs 1810 dev/usb/uaudio.c ibuf = buf + offs; offs 1816 dev/usb/uaudio.c if (offs + aclen > size) offs 1599 dev/usb/uhci.c int i, offs; offs 1609 dev/usb/uhci.c offs = i * UHCI_STD_SIZE; offs 1610 dev/usb/uhci.c std = KERNADDR(&dma, offs); offs 1611 dev/usb/uhci.c std->physaddr = DMAADDR(&dma, offs); offs 1642 dev/usb/uhci.c int i, offs; offs 1652 dev/usb/uhci.c offs = i * UHCI_SQH_SIZE; offs 1653 dev/usb/uhci.c sqh = KERNADDR(&dma, offs); offs 1654 dev/usb/uhci.c sqh->physaddr = DMAADDR(&dma, offs); offs 2770 dev/usb/uhci.c u_int bestbw, bw, bestoffs, offs; offs 2792 dev/usb/uhci.c for (bestoffs = offs = 0, bestbw = ~0; offs < ival; offs++) { offs 2794 dev/usb/uhci.c bw += sc->sc_vframes[MOD(i * ival + offs)].bandwidth; offs 2797 dev/usb/uhci.c bestoffs = offs; offs 82 dev/usb/usb_mem.c u_int offs; offs 232 dev/usb/usb_mem.c p->offs = 0; offs 253 dev/usb/usb_mem.c f->offs = i; offs 259 dev/usb/usb_mem.c p->offs = f->offs; offs 279 dev/usb/usb_mem.c f->offs = p->offs; offs 54 dev/usb/usb_mem.h #define DMAADDR(dma, o) ((dma)->block->map->dm_segs[0].ds_addr + (dma)->offs + (o)) offs 56 dev/usb/usb_mem.h ((void *)((char *)((dma)->block->kaddr + (dma)->offs) + (o))) offs 103 dev/usb/usb_port.h u_int offs; \ offs 46 dev/usb/usbdivar.h u_int offs; offs 60 lib/libz/inftrees.c unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ offs 142 lib/libz/inftrees.c offs[1] = 0; offs 144 lib/libz/inftrees.c offs[len + 1] = offs[len] + count[len]; offs 148 lib/libz/inftrees.c if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; offs 955 nfs/nfs_subs.c while (s < offs) { offs 956 nfs/nfs_subs.c offs -= s; offs 963 nfs/nfs_subs.c *dposp = mtod(m, caddr_t)+offs;