Searched refs:subtotalscount (Results 1 – 3 of 3) sorted by relevance
296 uint16_t subtotalscount; member
10052 #define KA_SIZE(namelen, subtotalscount) \ argument10053 …(sizeof(struct vm_allocation_site) + (namelen) + 1 + ((subtotalscount) * sizeof(struct vm_allocati…10056 ((char *)(&(alloc)->subtotals[(alloc->subtotalscount)]))10500 for (subidx = 0; subidx < allocation->subtotalscount; subidx++) { in kern_allocation_update_subtotal()10506 if (subidx >= allocation->subtotalscount) { in kern_allocation_update_subtotal()10507 for (subidx = 0; subidx < allocation->subtotalscount; subidx++) { in kern_allocation_update_subtotal()10516 assert(subidx < allocation->subtotalscount); in kern_allocation_update_subtotal()10517 if (subidx >= allocation->subtotalscount) { in kern_allocation_update_subtotal()10542 kern_allocation_name_allocate(const char * name, uint16_t subtotalscount) in kern_allocation_name_allocate() argument10549 allocation = kalloc_data(KA_SIZE(namelen, subtotalscount), Z_WAITOK | Z_ZERO); in kern_allocation_name_allocate()[all …]
3693 cstr = addressof(site.subtotals[site.subtotalscount])3774 for sub in range(site.subtotalscount):