/freebsd-10.2-release/sys/kern/ |
H A D | kern_physio.c | 45 u_int iolen, poff; local 129 poff = (vm_offset_t)bp->bio_data & PAGE_MASK; 130 if (pbuf && bp->bio_length + poff > pbuf->b_kvasize) { 140 if (poff != 0) 158 bp->bio_data = sa + poff; 162 bp->bio_ma_offset = poff;
|
H A D | vfs_aio.c | 1305 int error, ref, unmap, poff; local 1337 poff = (vm_offset_t)cb->aio_buf & PAGE_MASK; 1345 if (cb->aio_nbytes > MAXPHYS - poff) { 1395 bp->bio_data = pbuf->b_data + poff; 1399 bp->bio_ma_offset = poff;
|
H A D | vfs_bio.c | 1655 vm_pindex_t poff; local 1684 poff = OFF_TO_IDX(bp->b_offset); 1692 mtmp = vm_page_lookup(obj, poff + j);
|
/freebsd-10.2-release/sys/boot/sparc64/boot1/ |
H A D | boot1.c | 385 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-10.2-release/sys/netsmb/ |
H A D | smb_rq.c | 446 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-10.2-release/sys/vm/ |
H A D | vnode_pager.c | 299 int poff; local 334 poff = pindex - (reqblock * pagesperblock); 337 *before += poff; 342 numafter = pagesperblock - (poff + 1);
|
/freebsd-10.2-release/sys/dev/sge/ |
H A D | if_sge.c | 1406 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-10.2-release/sys/dev/age/ |
H A D | if_age.c | 1501 uint32_t cflags, hdrlen, ip_off, poff, vtag; local 1512 ip_off = poff = 0; 1561 poff = ip_off + (ip->ip_hl << 2); 1563 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1568 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1569 m = m_pullup(m, poff + (tcp->th_off << 2)); 1589 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1657 hdrlen = poff + (tcp->th_off << 2); 1684 cflags |= (poff << AGE_TD_CSUM_PLOADOFFSET_SHIFT); 1686 cflags |= ((poff [all...] |
/freebsd-10.2-release/contrib/mdocml/ |
H A D | roff.c | 1315 int poff; local 1328 poff = 0; 1329 eqn_read(&r->eqn, line, buf, offs, &poff);
|
/freebsd-10.2-release/sys/dev/e1000/ |
H A D | if_em.c | 1883 int ip_off, poff; local 1890 ip_off = poff = 0; 1945 poff = ip_off + (ip->ip_hl << 2); 1947 m_head = m_pullup(m_head, poff + sizeof(struct tcphdr)); 1952 tp = (struct tcphdr *)(mtod(m_head, char *) + poff); 1957 m_head = m_pullup(m_head, poff + (tp->th_off << 2) + 4); 1971 tp = (struct tcphdr *)(mtod(m_head, char *) + poff); 1975 m_head = m_pullup(m_head, poff + sizeof(struct tcphdr)); 1980 tp = (struct tcphdr *)(mtod(m_head, char *) + poff); 1981 m_head = m_pullup(m_head, poff [all...] |
/freebsd-10.2-release/sys/dev/alc/ |
H A D | if_alc.c | 2685 uint32_t cflags, hdrlen, ip_off, poff, vtag; local 2695 ip_off = poff = 0; 2744 poff = ip_off + (ip->ip_hl << 2); 2746 m = m_pullup(m, poff + sizeof(struct tcphdr)); 2751 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 2752 m = m_pullup(m, poff + (tcp->th_off << 2)); 2771 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 2833 cflags |= (poff << TD_TCPHDR_OFFSET_SHIFT) & 2840 hdrlen = poff + (tcp->th_off << 2); 2864 cflags |= ((poff >> [all...] |
/freebsd-10.2-release/sys/dev/ale/ |
H A D | if_ale.c | 1615 uint32_t cflags, hdrlen, ip_off, poff, vtag; local 1626 ip_off = poff = 0; 1692 poff = ip_off + (ip->ip_hl << 2); 1703 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1709 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1710 m = m_pullup(m, poff + (tcp->th_off << 2)); 1806 cflags |= (poff << ALE_TD_CSUM_PLOADOFFSET_SHIFT); 1808 cflags |= ((poff + m->m_pkthdr.csum_data) << 1825 hdrlen = poff + (tcp->th_off << 2);
|
/freebsd-10.2-release/sys/dev/fb/ |
H A D | vga.c | 1278 int poff; /* pixel offset */ local 1288 poff = x%ppb; 1303 poff = x%ppb; 1305 poff = (x + 8)%ppb; 1318 outb(ATC, poff);
|
/freebsd-10.2-release/sys/dev/fxp/ |
H A D | if_fxp.c | 1447 uint32_t ip_off, poff; local 1481 poff = ip_off + (ip->ip_hl << 2); 1482 m = m_pullup(m, poff + sizeof(struct tcphdr)); 1487 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 1488 m = m_pullup(m, poff + (tcp->th_off << 2)); 1499 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|
/freebsd-10.2-release/sys/dev/jme/ |
H A D | if_jme.c | 1711 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-10.2-release/sys/dev/bge/ |
H A D | if_bge.c | 5098 uint32_t poff; local 5112 poff = sizeof(struct ether_header) + (ip->ip_hl << 2); 5113 m = m_pullup(m, poff + sizeof(struct tcphdr)); 5116 tcp = (struct tcphdr *)(mtod(m, char *) + poff); 5117 m = m_pullup(m, poff + (tcp->th_off << 2)); 5129 tcp = (struct tcphdr *)(mtod(m, char *) + poff);
|