Home
last modified time | relevance | path

Searched refs:fit (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.41.9/bsd/vfs/ !
H A Dvfs_attrlist.c105 ssize_t fit; in attrlist_pack_fixed() local
120 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() local
163 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 …]
/xnu-8792.41.9/doc/allocators/ !
H A Dapi-basics.md105 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 types
107 must be restructured to fit, for security reasons.
126 - types should be small enough to fit in the zone allocator: