Searched refs:m_epg_npgs (Results 1 - 21 of 21) sorted by relevance
/freebsd-current/sys/kern/ |
H A D | subr_memdesc.c | 354 if (m->m_epg_npgs == 0) 358 if (m->m_epg_npgs == MBUF_PEXT_MAX_PGS) 367 if (m->m_epg_npgs == 1) 383 if (m->m_epg_npgs == 0) { 385 m->m_epg_npgs = 1; 399 while (len >= PAGE_SIZE && m->m_epg_npgs < MBUF_PEXT_MAX_PGS) { 400 m->m_epg_pa[m->m_epg_npgs] = pa; 401 m->m_epg_npgs++; 410 if (len > 0 && m->m_epg_npgs < MBUF_PEXT_MAX_PGS) { 412 m->m_epg_pa[m->m_epg_npgs] [all...] |
H A D | uipc_ktls.c | 2184 m->m_epg_nrdy = m->m_epg_npgs; 2757 if (m->m_epg_npgs <= 2) 2800 KASSERT(ptoa(m->m_epg_npgs) <= ktls_maxlen, 2801 ("page count %d larger than maximum frame length %d", m->m_epg_npgs, 2813 len = ptoa(m->m_epg_npgs - 1) + m->m_epg_last_len - 2822 for (i = 0; i < m->m_epg_npgs; i++, off = 0) { 2843 for (i = 0; i < m->m_epg_npgs; i++) { 2986 for (i = 0; i < m->m_epg_npgs; i++) 2992 for (i = 0; i < m->m_epg_npgs; i++) 3044 KASSERT(npages + m->m_epg_npgs < [all...] |
H A D | kern_mbuf.c | 988 for (i = 0; i < m->m_epg_npgs && len > 0; i++) { 1130 m->m_epg_npgs = 0; 1704 m->m_epg_npgs = i; 1713 m->m_epg_npgs = npgs; 1743 if (++i == m->m_epg_npgs) {
|
H A D | uipc_mbuf.c | 1390 for (i = 0; i < m->m_epg_npgs && len > 0; i++) { 1660 frags += m->m_epg_npgs; 1847 for (int i = 0; i < m->m_epg_npgs; i++) { 1919 mb->m_epg_npgs++; 1921 mb->m_epg_last_len = length - PAGE_SIZE * (mb->m_epg_npgs - 1); 1928 mb->m_ext.ext_size += PAGE_SIZE * mb->m_epg_npgs; 2070 for (i = 0; i < m->m_epg_npgs && error == 0 && len > 0; i++) {
|
H A D | kern_sendfile.c | 201 for (i = 0; i < m->m_epg_npgs; i++) { 202 if (cache_last && i == m->m_epg_npgs - 1) 1048 m0->m_epg_npgs++;
|
H A D | subr_sglist.c | 248 for (i = 0; i < m->m_epg_npgs && len > 0; i++) { 405 for (i = 0; i < m->m_epg_npgs && error == 0 && len > 0; i++) {
|
H A D | subr_bus_dma.c | 182 for (i = 0; i < m->m_epg_npgs && error == 0 && len > 0; i++) {
|
H A D | uipc_sockbuf.c | 210 if ((m->m_flags & M_EXTPG) != 0 && m->m_epg_npgs != 0) {
|
/freebsd-current/sys/sys/ |
H A D | mbuf.h | 374 #define m_epg_startcopy m_epg_npgs 379 uint8_t m_epg_npgs; member in struct:mbuf::__anon156::__anon157::__anon158::__anon159 420 if (pidx == m->m_epg_npgs - 1) { 436 MCHECK(m->m_epg_npgs > 0, "no valid pages"); \ 437 MCHECK(m->m_epg_npgs <= nitems(m->m_epg_pa), \ 439 MCHECK(m->m_epg_nrdy <= m->m_epg_npgs, \ 446 if (m->m_epg_npgs == 1) \
|
/freebsd-current/sys/opencrypto/ |
H A D | ktls_ocf.c | 283 struct iovec iov[m->m_epg_npgs + 2]; 330 for (i = 0; i < m->m_epg_npgs; i++, pgoff = 0) { 335 iov[m->m_epg_npgs + 1].iov_base = m->m_epg_trail; 336 iov[m->m_epg_npgs + 1].iov_len = os->mac_len; 338 uio->uio_iovcnt = m->m_epg_npgs + 2;
|
H A D | criov.c | 251 for (i = idx + 1; i < m->m_epg_npgs; i++) { 271 for (i = 0; i < m->m_epg_npgs; i++) {
|
/freebsd-current/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 410 MPASS(m->m_epg_npgs > 0); 413 for (i = 1; i < m->m_epg_npgs; i++) { 439 for (i = 1; i < m->m_epg_npgs; i++) { 451 for (; i < m->m_epg_npgs; i++) {
|
H A D | t4_cpl_io.c | 2078 for (int i = 0; i < m->m_epg_npgs; i++) { 2134 m->m_epg_npgs = npages;
|
/freebsd-current/sys/dev/iscsi/ |
H A D | icl_soft.c | 1152 m->m_epg_pa[m->m_epg_npgs] = 1154 m->m_epg_npgs++; 1160 if (m->m_epg_npgs == MBUF_PEXT_MAX_PGS) {
|
/freebsd-current/sys/dev/cxgbe/cxgbei/ |
H A D | icl_cxgbei.c | 664 m->m_epg_pa[m->m_epg_npgs] = 666 m->m_epg_npgs++; 672 if (m->m_epg_npgs == MBUF_PEXT_MAX_PGS) {
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdsubs.c | 1330 pgno = m->m_epg_npgs - 1; 1344 m->m_epg_npgs--;
|
H A D | nfs_nfsdport.c | 961 i += m->m_epg_npgs; 981 if (pgno == m->m_epg_npgs - 1) 988 if (pgno == m->m_epg_npgs && left > 0) { 7020 KASSERT(bextpg >= 0 && bextpg < mb->m_epg_npgs, 7027 for (i = mb->m_epg_npgs - 1; i > bextpg; i--) { 7032 mb->m_epg_npgs = bextpg + 1; 7039 for (i = 1; i < mb->m_epg_npgs; i++)
|
H A D | nfs_nfsdserv.c | 734 nd->nd_bextpg = mpend->m_epg_npgs - 1; 940 nd->nd_bextpg = m2->m_epg_npgs - 1; 5930 nd->nd_bextpg = mpend->m_epg_npgs - 1;
|
/freebsd-current/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 5080 if (nd->nd_bextpg == m->m_epg_npgs) { 5112 if ((m->m_epg_npgs + 1) * PAGE_SIZE > maxextsiz) { 5119 m->m_epg_pa[m->m_epg_npgs] = VM_PAGE_TO_PHYS(pg); 5120 *bextpg = m->m_epg_npgs; 5121 m->m_epg_npgs++;
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 9257 } while (pgno < m->m_epg_npgs); 9258 if (pgno == m->m_epg_npgs) 9273 m2->m_epg_npgs = 1; 9282 if (pgno == m->m_epg_npgs - 1) 9297 for (i = pgno + 1, j = m2->m_epg_npgs; i < m->m_epg_npgs; i++, j++) { 9302 m2->m_epg_npgs = j; 9303 m->m_epg_npgs = pgno + 1;
|
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_sge.c | 2537 for (i = 0; i < m->m_epg_npgs && len > 0; i++) {
|
Completed in 291 milliseconds