Lines Matching refs:memq
62 memquery_t memq;
134 bzero(&memq, sizeof (memq));
136 ret = kphysm_del_span_query(base, npgs, &memq);
146 query_checker(base, npgs, &memq);
147 if (memq.phys_pages != npgs) {
153 "memq.phys_pages != npgs (%ld != %ld)",
154 (u_long)memq.phys_pages, (u_long)npgs);
159 statp->phys_pages = memq.phys_pages;
160 statp->managed = memq.managed;
162 statp->nonrelocatable = memq.phys_pages;
164 statp->nonrelocatable = memq.nonrelocatable;
233 memquery_t memq;
242 memq.phys_pages = 0;
243 memq.managed = 0;
244 memq.nonrelocatable = 0;
245 memq.first_nonrelocatable = 0;
246 memq.last_nonrelocatable = 0;
262 memq.phys_pages += amemq.phys_pages;
267 memq.managed += amemq.managed;
272 memq.nonrelocatable += amemq.nonrelocatable;
283 memq.first_nonrelocatable = abase;
286 memq.last_nonrelocatable = abase;
289 if (mqp->phys_pages != memq.phys_pages) {
291 mqp->phys_pages, memq.phys_pages);
293 if (mqp->managed != memq.managed) {
295 mqp->managed, memq.managed);
297 if (mqp->nonrelocatable != memq.nonrelocatable) {
299 mqp->nonrelocatable, memq.nonrelocatable);
301 if (mqp->first_nonrelocatable != memq.first_nonrelocatable) {
303 mqp->first_nonrelocatable, memq.first_nonrelocatable);
305 if (mqp->last_nonrelocatable != memq.last_nonrelocatable) {
307 mqp->last_nonrelocatable, memq.last_nonrelocatable);