Lines Matching defs:mca
1174 mcache_audit_t *mca = mcl_audit_buf2mca(class, buf);
1175 mca->mca_uflags = 0;
1178 mca->mca_uflags |= MB_SCVALID;
1349 mcache_audit_t *mca = mcl_audit_buf2mca(class, buf);
1350 mcache_audit_free_verify(mca, buf, 0, m_maxsize(class));
1351 mca->mca_uflags &= ~MB_SCVALID;
1536 mcache_audit_t *mca;
1542 mca = mcl_audit_buf2mca(class, list);
1546 mcl_audit_mbuf(mca, list, FALSE, alloc);
1547 ASSERT(mca->mca_uflags & MB_SCVALID);
1549 mcl_audit_cluster(mca, list, m_maxsize(class),
1551 ASSERT(!(mca->mca_uflags & MB_SCVALID));
1554 mcache_buffer_log(mca, list, m_cache(class));
1556 mca->mca_uflags |= MB_INUSE;
1558 mca->mca_uflags &= ~MB_INUSE;
1560 mca->mca_uptr = NULL;
1663 mcache_audit_t *mca = NULL;
1679 mca = mcl_audit_buf2mca(MC_MBUF, (mcache_obj_t *)m);
1680 mcache_audit_free_verify(mca, m, 0, m_maxsize(MC_MBUF));
1681 ms = (struct mbuf *)mca->mca_contents;
1727 mcl_audit_restore_mbuf(m, mca, TRUE);
1743 mcl_audit_mbuf(mca, o, FALSE, FALSE);
1889 mcache_audit_t *mca, *cl_mca;
1893 mca = mcl_audit_buf2mca(MC_MBUF, (mcache_obj_t *)m);
1894 ms = ((struct mbuf *)mca->mca_contents);
1905 mca->mca_uptr = cl_mca;
1906 cl_mca->mca_uptr = mca;
1908 ASSERT(mca->mca_uflags & MB_SCVALID);
2004 mcache_audit_t *mca;
2015 mca = mcl_audit_buf2mca(MC_MBUF, (mcache_obj_t *)m);
2016 mcl_audit_mbuf(mca, m, TRUE, alloc);
2017 mcache_buffer_log(mca, m, m_cache(class));
2019 mca->mca_uflags |= MB_COMP_INUSE;
2021 mca->mca_uflags &= ~MB_COMP_INUSE;
2029 ms = (struct mbuf *)mca->mca_contents;
2053 mca = mcl_audit_buf2mca(MC_CL, cl);
2060 mcl_audit_cluster(mca, cl, size, alloc, FALSE);
2061 mcache_buffer_log(mca, cl, m_cache(class));
2063 mca->mca_uflags |= MB_COMP_INUSE;
2065 mca->mca_uflags &= ~MB_COMP_INUSE;
2431 mcache_audit_t *mca = NULL;
2439 mca = mcl_audit_buf2mca(MC_CL, o);
2440 mcache_audit_free_verify(mca, o, 0, m_maxsize(MC_CL));
2465 mca = mcl_audit_buf2mca(MC_MBUF,
2467 ms = ((struct mbuf *)mca->mca_contents);
5065 mcache_audit_t *mca = mcl_audit_buf2mca(sp->sl_class,
5067 mcl_audit_verify_nextptr(next, mca);
5092 mcache_audit_t *mca, *mca_tail;
5105 mca = mca_tail = *mca_list;
5112 next = mca->mca_next;
5113 bzero(mca, sizeof (*mca));
5114 mca->mca_next = next;
5115 mclaudit[ix].cl_audit[i] = mca;
5120 mca->mca_contents_size = con_size;
5121 mca->mca_contents = con;
5123 bzero(mca->mca_contents, mca->mca_contents_size);
5126 mca_tail = mca;
5127 mca = mca->mca_next;
5144 mcache_audit_t *mca = NULL;
5159 mca = mclaudit[ix].cl_audit[MCLIDX(CLTOM(ix), o)];
5168 mca = mclaudit[ix].cl_audit[0];
5176 return (mca);
5180 mcl_audit_mbuf(mcache_audit_t *mca, void *addr, boolean_t composite,
5186 VERIFY(mca->mca_contents != NULL &&
5187 mca->mca_contents_size == AUDIT_CONTENTS_SIZE);
5189 mcl_audit_verify_nextptr(next, mca);
5193 mcl_audit_save_mbuf(m, mca);
5200 mcache_audit_free_verify_set(mca, addr, 0, m_maxsize(MC_MBUF));
5203 mcl_audit_restore_mbuf(m, mca, composite);
5207 mcl_audit_restore_mbuf(struct mbuf *m, mcache_audit_t *mca, boolean_t composite)
5209 struct mbuf *ms = (struct mbuf *)mca->mca_contents;
5221 bcopy(ms, m, mca->mca_contents_size);
5235 mcl_audit_save_mbuf(struct mbuf *m, mcache_audit_t *mca)
5238 bcopy(m, mca->mca_contents, mca->mca_contents_size);
5242 mcl_audit_cluster(mcache_audit_t *mca, void *addr, size_t size, boolean_t alloc,
5250 mcl_audit_verify_nextptr(next, mca);
5255 mcl_audit_verify_nextptr(next, mca);
5256 mcache_audit_free_verify_set(mca, addr, 0, size);
5263 mcache_audit_t *mca;
5266 mca = mcl_audit_buf2mca(MC_MBUF, (mcache_obj_t *)m);
5269 m, (u_int16_t)m->m_type, MT_FREE, mcache_dump_mca(mca));
5274 mcl_audit_verify_nextptr(void *next, mcache_audit_t *mca)
5280 mca->mca_addr, next, mbutl, embutl, mcache_dump_mca(mca));