Lines Matching refs:mtp
79 struct memory_type *mtp; in mbpr() local
132 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_MEM_NAME); in mbpr()
133 if (mtp == NULL) { in mbpr()
137 mbuf_count = memstat_get_count(mtp); in mbpr()
138 mbuf_bytes = memstat_get_bytes(mtp); in mbpr()
139 mbuf_free = memstat_get_free(mtp); in mbpr()
140 mbuf_failures = memstat_get_failures(mtp); in mbpr()
141 mbuf_sleeps = memstat_get_sleeps(mtp); in mbpr()
142 mbuf_size = memstat_get_size(mtp); in mbpr()
144 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_PACKET_MEM_NAME); in mbpr()
145 if (mtp == NULL) { in mbpr()
150 packet_count = memstat_get_count(mtp); in mbpr()
151 packet_bytes = memstat_get_bytes(mtp); in mbpr()
152 packet_free = memstat_get_free(mtp); in mbpr()
153 packet_sleeps = memstat_get_sleeps(mtp); in mbpr()
154 packet_failures = memstat_get_failures(mtp); in mbpr()
156 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_CLUSTER_MEM_NAME); in mbpr()
157 if (mtp == NULL) { in mbpr()
162 cluster_count = memstat_get_count(mtp); in mbpr()
163 cluster_limit = memstat_get_countlimit(mtp); in mbpr()
164 cluster_free = memstat_get_free(mtp); in mbpr()
165 cluster_failures = memstat_get_failures(mtp); in mbpr()
166 cluster_sleeps = memstat_get_sleeps(mtp); in mbpr()
167 cluster_size = memstat_get_size(mtp); in mbpr()
169 mtp = memstat_mtl_find(mtlp, ALLOCATOR_MALLOC, MBUF_TAG_MEM_NAME); in mbpr()
170 if (mtp == NULL) { in mbpr()
175 tag_bytes = memstat_get_bytes(mtp); in mbpr()
177 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_JUMBOP_MEM_NAME); in mbpr()
178 if (mtp == NULL) { in mbpr()
183 jumbop_count = memstat_get_count(mtp); in mbpr()
184 jumbop_limit = memstat_get_countlimit(mtp); in mbpr()
185 jumbop_free = memstat_get_free(mtp); in mbpr()
186 jumbop_failures = memstat_get_failures(mtp); in mbpr()
187 jumbop_sleeps = memstat_get_sleeps(mtp); in mbpr()
188 jumbop_size = memstat_get_size(mtp); in mbpr()
190 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_JUMBO9_MEM_NAME); in mbpr()
191 if (mtp == NULL) { in mbpr()
196 jumbo9_count = memstat_get_count(mtp); in mbpr()
197 jumbo9_limit = memstat_get_countlimit(mtp); in mbpr()
198 jumbo9_free = memstat_get_free(mtp); in mbpr()
199 jumbo9_failures = memstat_get_failures(mtp); in mbpr()
200 jumbo9_sleeps = memstat_get_sleeps(mtp); in mbpr()
201 jumbo9_size = memstat_get_size(mtp); in mbpr()
203 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_JUMBO16_MEM_NAME); in mbpr()
204 if (mtp == NULL) { in mbpr()
209 jumbo16_count = memstat_get_count(mtp); in mbpr()
210 jumbo16_limit = memstat_get_countlimit(mtp); in mbpr()
211 jumbo16_free = memstat_get_free(mtp); in mbpr()
212 jumbo16_failures = memstat_get_failures(mtp); in mbpr()
213 jumbo16_sleeps = memstat_get_sleeps(mtp); in mbpr()
214 jumbo16_size = memstat_get_size(mtp); in mbpr()