Searched refs:fit (Results 1 – 2 of 2) sorted by relevance
105 ssize_t fit; in attrlist_pack_fixed() local120 fit = lmin(count, ab->allocated - (ab->fixedcursor - ab->base)); in attrlist_pack_fixed()121 if (fit > 0) { in attrlist_pack_fixed()123 bcopy(source, ab->fixedcursor, fit); in attrlist_pack_fixed()144 ssize_t fit; in attrlist_pack_variable2() local163 fit = lmin(count, ab->allocated - (ab->varcursor - ab->base)); in attrlist_pack_variable2()164 if (fit > 0) { in attrlist_pack_variable2()166 bcopy(source, ab->varcursor, fit); in attrlist_pack_variable2()168 ab->varcursor += fit; in attrlist_pack_variable2()172 fit = lmin(extcount, ab->allocated - (ab->varcursor - ab->base)); in attrlist_pack_variable2()[all …]
105 The typed allocators assume that allocated types fit a very precise model.106 If the allocations you perform do not fit the model, then your types107 must be restructured to fit, for security reasons.126 - types should be small enough to fit in the zone allocator: