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

/freebsd-13-stable/sys/kern/
H A Dkern_physio.c52 u_int iolen, poff; local
164 poff = (vm_offset_t)base & PAGE_MASK;
168 bp->bio_data = sa + poff;
172 bp->bio_ma_offset = poff;
H A Dvfs_bio.c5179 vm_ooffset_t la, lb, poff, poffe; local
5246 poff = IDX_TO_OFF(m->pindex);
5247 poffe = MIN(poff + PAGE_SIZE, object->un_pager.vnp.vnp_size);
5248 for (; poff < poffe; poff += bsize) {
5249 lbn = get_lblkno(vp, poff);
H A Dvfs_aio.c1220 int bio_cmd, error, i, iovcnt, opcode, poff, ref; local
1298 poff = (vm_offset_t)buf & PAGE_MASK;
1336 bp->bio_data = pbuf->b_data + poff;
1342 bp->bio_ma_offset = poff;
/freebsd-13-stable/sys/netsmb/
H A Dsmb_rq.c447 u_int16_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; local
488 (error = md_get_uint16le(mdp, &poff)) != 0 ||
521 error = smb_t2_placedata(mdp->md_top, poff, pcount,
559 int error, doff, poff, txdcount, txpcount, nmlen; local
608 poff = len;
613 poff = txpcount ? len : 0;
621 mb_put_uint16le(mbp, poff);
681 poff = len;
686 poff = txpcount ? len : 0;
692 mb_put_uint16le(mbp, poff);
[all...]
/freebsd-13-stable/sys/arm/allwinner/
H A Daw_ccu.c74 bus_space_handle_t *pbsh, bus_size_t *poff)
77 *poff = addr - CCU_BASE;
73 aw_ccu_check_addr(struct aw_ccu_softc *sc, bus_addr_t addr, bus_space_handle_t *pbsh, bus_size_t *poff) argument
/freebsd-13-stable/sys/dev/vnic/
H A Dnicvf_queues.c1754 int ehdrlen, iphlen, poff, proto; local
1778 poff = proto = -1;
1788 poff = ip6_lasthdr(mbuf, ehdrlen, IPPROTO_IPV6, &proto);
1789 if (poff < 0)
1791 poff += ehdrlen;
1807 poff = ehdrlen + iphlen;
1814 if (poff > 0 && mbuf->m_pkthdr.csum_flags != 0) {
1820 if (mbuf->m_len < (poff + sizeof(struct tcphdr))) {
1821 mbuf = m_pullup(mbuf, poff + sizeof(struct tcphdr));
1832 if (mbuf->m_len < (poff
[all...]
/freebsd-13-stable/sys/vm/
H A Dvnode_pager.c361 int poff; local
396 poff = pindex - (reqblock * pagesperblock);
399 *before += poff;
414 *after += pagesperblock - (poff + 1);
810 int error, before, after, rbehind, rahead, poff, i; local
904 poff = (foff % bsize) / PAGE_SIZE;
906 before += poff;
908 after += pagesperblock - (poff + 1);
/freebsd-13-stable/sys/dev/sge/
H A Dif_sge.c1410 uint32_t ip_off, poff; local
1444 poff = ip_off + (ip->ip_hl << 2);
1445 m = m_pullup(m, poff + sizeof(struct tcphdr));
1450 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1451 m = m_pullup(m, poff + (tcp->th_off << 2));
1462 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-13-stable/sys/dev/age/
H A Dif_age.c1498 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
1509 ip_off = poff = 0;
1558 poff = ip_off + (ip->ip_hl << 2);
1560 m = m_pullup(m, poff + sizeof(struct tcphdr));
1565 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1566 m = m_pullup(m, poff + (tcp->th_off << 2));
1586 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1654 hdrlen = poff + (tcp->th_off << 2);
1681 cflags |= (poff << AGE_TD_CSUM_PLOADOFFSET_SHIFT);
1683 cflags |= ((poff
[all...]
/freebsd-13-stable/sys/dev/alc/
H A Dif_alc.c2713 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
2723 ip_off = poff = 0;
2772 poff = ip_off + (ip->ip_hl << 2);
2774 m = m_pullup(m, poff + sizeof(struct tcphdr));
2779 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
2780 m = m_pullup(m, poff + (tcp->th_off << 2));
2799 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
2861 cflags |= (poff << TD_TCPHDR_OFFSET_SHIFT) &
2868 hdrlen = poff + (tcp->th_off << 2);
2892 cflags |= ((poff >>
[all...]
/freebsd-13-stable/sys/dev/ale/
H A Dif_ale.c1608 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
1619 ip_off = poff = 0;
1685 poff = ip_off + (ip->ip_hl << 2);
1696 m = m_pullup(m, poff + sizeof(struct tcphdr));
1702 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1703 m = m_pullup(m, poff + (tcp->th_off << 2));
1799 cflags |= (poff << ALE_TD_CSUM_PLOADOFFSET_SHIFT);
1801 cflags |= ((poff + m->m_pkthdr.csum_data) <<
1818 hdrlen = poff + (tcp->th_off << 2);
/freebsd-13-stable/sys/dev/fb/
H A Dvga.c1325 int poff; /* pixel offset */ local
1335 poff = x%ppb;
1350 poff = x%ppb;
1352 poff = (x + 8)%ppb;
1365 outb(ATC, poff);
/freebsd-13-stable/sys/dev/fxp/
H A Dif_fxp.c1454 uint32_t ip_off, poff; local
1488 poff = ip_off + (ip->ip_hl << 2);
1489 m = m_pullup(m, poff + sizeof(struct tcphdr));
1494 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1495 m = m_pullup(m, poff + (tcp->th_off << 2));
1506 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-13-stable/sys/dev/jme/
H A Dif_jme.c1711 uint32_t ip_off, poff; local
1745 poff = ip_off + (ip->ip_hl << 2);
1746 m = m_pullup(m, poff + sizeof(struct tcphdr));
1756 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
1758 if (poff + (tcp->th_off << 2) == m->m_pkthdr.len) {
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c562 uint64_t poff = pindex % (vdc->vdc_nperms * ncols); local
564 *base = vdc->vdc_perms + (poff / ncols) * ncols;
565 *iter = poff % ncols;
/freebsd-13-stable/sys/dev/bge/
H A Dif_bge.c5096 uint32_t poff; local
5110 poff = sizeof(struct ether_header) + (ip->ip_hl << 2);
5111 m = m_pullup(m, poff + sizeof(struct tcphdr));
5114 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
5115 m = m_pullup(m, poff + (tcp->th_off << 2));
5127 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
/freebsd-13-stable/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c745 uint16_t poff; local
921 poff = (nd->nd_bextpg == 0) ? m2->m_epg_1st_off : 0;
922 nd->nd_bpos += poff + m2->m_epg_last_len;
924 poff;

Completed in 267 milliseconds