Searched refs:subtotalscount (Results 1 – 3 of 3) sorted by relevance
201 uint16_t subtotalscount; member
8984 #define KA_SIZE(namelen, subtotalscount) \ argument8985 …(sizeof(struct vm_allocation_site) + (namelen) + 1 + ((subtotalscount) * sizeof(struct vm_allocati…8988 ((char *)(&(alloc)->subtotals[(alloc->subtotalscount)]))9349 for (; subidx < allocation->subtotalscount; subidx++) { in kern_allocation_update_subtotal()9359 assert(subidx < allocation->subtotalscount); in kern_allocation_update_subtotal()9360 if (subidx >= allocation->subtotalscount) { in kern_allocation_update_subtotal()9383 kern_allocation_name_allocate(const char * name, uint16_t subtotalscount) in kern_allocation_name_allocate() argument9390 allocation = kalloc_data(KA_SIZE(namelen, subtotalscount), Z_WAITOK | Z_ZERO); in kern_allocation_name_allocate()9392 allocation->subtotalscount = subtotalscount; in kern_allocation_name_allocate()9406 KA_SIZE(KA_NAME_LEN(allocation), allocation->subtotalscount)); in kern_allocation_name_release()[all …]
3573 cstr = addressof(site.subtotals[site.subtotalscount])3644 for sub in range(site.subtotalscount):