Searched refs:fit (Results 1 – 4 of 4) 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 …]
107 The typed allocators assume that allocated types fit a very precise model.108 If the allocations you perform do not fit the model, then your types109 must be restructured to fit, for security reasons.128 - types should be small enough to fit in the zone allocator:
123 inline buffer of the kmsg is used to fit all parts of the mach message this way:
167 memory. Its assumed this will fit in memory in its entirety. The image is