Searched refs:poff (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Dkern_physio.c47 u_int iolen, poff; local
152 poff = (vm_offset_t)base & PAGE_MASK;
153 if (pbuf && bp->bio_length + poff > pbuf->b_kvasize) {
163 if (poff != 0)
181 bp->bio_data = sa + poff;
185 bp->bio_ma_offset = poff;
H A Dvfs_aio.c1219 int error, ref, poff; local
1254 poff = (vm_offset_t)cb->aio_buf & PAGE_MASK;
1263 if (cb->aio_nbytes > MAXPHYS - poff) {
1301 bp->bio_data = pbuf->b_data + poff;
1306 bp->bio_ma_offset = poff;
H A Dvfs_bio.c4810 vm_ooffset_t la, lb, poff, poffe; local
4874 poff = IDX_TO_OFF(m->pindex);
4875 poffe = MIN(poff + PAGE_SIZE, object->un_pager.vnp.vnp_size);
4876 for (; poff < poffe; poff += bsize) {
4877 lbn = get_lblkno(vp, poff);
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c385 off_t poff; local
394 poff = soff;
395 while (poff < soff + bytes) {
396 nb = lb - poff / DEV_BSIZE;
399 if (dskread(zbuf, poff / DEV_BSIZE, nb))
401 if ((poff / DEV_BSIZE + nb) * DEV_BSIZE > soff + bytes)
402 len = soff + bytes - poff;
404 len = (poff / DEV_BSIZE + nb) * DEV_BSIZE - poff;
405 memcpy(p, zbuf + poff
[all...]
/freebsd-11-stable/sys/arm/allwinner/
H A Daw_ccu.c90 bus_space_handle_t *pbsh, bus_size_t *poff)
94 *poff = addr - CCU_BASE;
100 *poff = addr - PRCM_BASE;
106 *poff = addr - SYSCTRL_BASE;
89 aw_ccu_check_addr(struct aw_ccu_softc *sc, bus_addr_t addr, bus_space_handle_t *pbsh, bus_size_t *poff) argument
/freebsd-11-stable/sys/netsmb/
H A Dsmb_rq.c446 u_int16_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; local
487 (error = md_get_uint16le(mdp, &poff)) != 0 ||
520 error = smb_t2_placedata(mdp->md_top, poff, pcount,
558 int error, doff, poff, txdcount, txpcount, nmlen; local
607 poff = len;
612 poff = txpcount ? len : 0;
620 mb_put_uint16le(mbp, poff);
680 poff = len;
685 poff = txpcount ? len : 0;
691 mb_put_uint16le(mbp, poff);
[all...]
/freebsd-11-stable/sys/dev/vnic/
H A Dnicvf_queues.c1757 int ehdrlen, iphlen, poff, proto; local
1781 poff = proto = -1;
1791 poff = ip6_lasthdr(mbuf, ehdrlen, IPPROTO_IPV6, &proto);
1792 if (poff < 0)
1794 poff += ehdrlen;
1810 poff = ehdrlen + iphlen;
1817 if (poff > 0 && mbuf->m_pkthdr.csum_flags != 0) {
1823 if (mbuf->m_len < (poff + sizeof(struct tcphdr))) {
1824 mbuf = m_pullup(mbuf, poff + sizeof(struct tcphdr));
1835 if (mbuf->m_len < (poff
[all...]
/freebsd-11-stable/sys/vm/
H A Dvnode_pager.c318 int poff; local
353 poff = pindex - (reqblock * pagesperblock);
356 *before += poff;
371 *after += pagesperblock - (poff + 1);
747 int error, before, after, rbehind, rahead, poff, i; local
849 poff = (foff % bsize) / PAGE_SIZE;
851 before += poff;
853 after += pagesperblock - (poff + 1);
/freebsd-11-stable/sys/dev/sge/
H A Dif_sge.c1406 uint32_t ip_off, poff; local
1440 poff = ip_off + (ip->ip_hl << 2);
1441 m = m_pullup(m, poff + sizeof(struct tcphdr));
1446 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1447 m = m_pullup(m, poff + (tcp->th_off << 2));
1458 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-11-stable/sys/dev/age/
H A Dif_age.c1496 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
1507 ip_off = poff = 0;
1556 poff = ip_off + (ip->ip_hl << 2);
1558 m = m_pullup(m, poff + sizeof(struct tcphdr));
1563 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1564 m = m_pullup(m, poff + (tcp->th_off << 2));
1584 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1652 hdrlen = poff + (tcp->th_off << 2);
1679 cflags |= (poff << AGE_TD_CSUM_PLOADOFFSET_SHIFT);
1681 cflags |= ((poff
[all...]
/freebsd-11-stable/sys/dev/alc/
H A Dif_alc.c2698 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
2708 ip_off = poff = 0;
2757 poff = ip_off + (ip->ip_hl << 2);
2759 m = m_pullup(m, poff + sizeof(struct tcphdr));
2764 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
2765 m = m_pullup(m, poff + (tcp->th_off << 2));
2784 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
2846 cflags |= (poff << TD_TCPHDR_OFFSET_SHIFT) &
2853 hdrlen = poff + (tcp->th_off << 2);
2877 cflags |= ((poff >>
[all...]
/freebsd-11-stable/sys/dev/ale/
H A Dif_ale.c1612 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
1623 ip_off = poff = 0;
1689 poff = ip_off + (ip->ip_hl << 2);
1700 m = m_pullup(m, poff + sizeof(struct tcphdr));
1706 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1707 m = m_pullup(m, poff + (tcp->th_off << 2));
1803 cflags |= (poff << ALE_TD_CSUM_PLOADOFFSET_SHIFT);
1805 cflags |= ((poff + m->m_pkthdr.csum_data) <<
1822 hdrlen = poff + (tcp->th_off << 2);
/freebsd-11-stable/sys/dev/e1000/
H A Dif_em.c1927 int ip_off, poff; local
1935 ip_off = poff = 0;
1996 poff = ip_off + (ip->ip_hl << 2);
1999 if (m_head->m_len < poff + sizeof(struct tcphdr)) {
2000 m_head = m_pullup(m_head, poff +
2007 tp = (struct tcphdr *)(mtod(m_head, char *) + poff);
2012 if (m_head->m_len < poff + (tp->th_off << 2)) {
2013 m_head = m_pullup(m_head, poff +
2022 tp = (struct tcphdr *)(mtod(m_head, char *) + poff);
2039 if (m_head->m_len < poff
[all...]
/freebsd-11-stable/sys/dev/fb/
H A Dvga.c1278 int poff; /* pixel offset */ local
1288 poff = x%ppb;
1303 poff = x%ppb;
1305 poff = (x + 8)%ppb;
1318 outb(ATC, poff);
/freebsd-11-stable/sys/dev/fxp/
H A Dif_fxp.c1450 uint32_t ip_off, poff; local
1484 poff = ip_off + (ip->ip_hl << 2);
1485 m = m_pullup(m, poff + sizeof(struct tcphdr));
1490 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1491 m = m_pullup(m, poff + (tcp->th_off << 2));
1502 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-11-stable/sys/dev/jme/
H A Dif_jme.c1709 uint32_t ip_off, poff; local
1743 poff = ip_off + (ip->ip_hl << 2);
1744 m = m_pullup(m, poff + sizeof(struct tcphdr));
1754 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1756 if (poff + (tcp->th_off << 2) == m->m_pkthdr.len) {
/freebsd-11-stable/sys/dev/bge/
H A Dif_bge.c5116 uint32_t poff; local
5130 poff = sizeof(struct ether_header) + (ip->ip_hl << 2);
5131 m = m_pullup(m, poff + sizeof(struct tcphdr));
5134 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
5135 m = m_pullup(m, poff + (tcp->th_off << 2));
5147 tcp = (struct tcphdr *)(mtod(m, char *) + poff);

Completed in 182 milliseconds