Searched refs:subtotalscount (Results 1 – 3 of 3) sorted by relevance
196 uint16_t subtotalscount; member
8979 #define KA_SIZE(namelen, subtotalscount) \ argument8980 …(sizeof(struct vm_allocation_site) + (namelen) + 1 + ((subtotalscount) * sizeof(struct vm_allocati…8983 ((char *)(&(alloc)->subtotals[(alloc->subtotalscount)]))9312 for (; subidx < allocation->subtotalscount; subidx++) { in kern_allocation_update_subtotal()9322 assert(subidx < allocation->subtotalscount); in kern_allocation_update_subtotal()9323 if (subidx >= allocation->subtotalscount) { in kern_allocation_update_subtotal()9346 kern_allocation_name_allocate(const char * name, uint16_t subtotalscount) in kern_allocation_name_allocate() argument9353 allocation = kalloc_data(KA_SIZE(namelen, subtotalscount), Z_WAITOK | Z_ZERO); in kern_allocation_name_allocate()9355 allocation->subtotalscount = subtotalscount; in kern_allocation_name_allocate()9369 KA_SIZE(KA_NAME_LEN(allocation), allocation->subtotalscount)); in kern_allocation_name_release()[all …]
3389 cstr = addressof(site.subtotals[site.subtotalscount])3470 for sub in range(site.subtotalscount):