Home
last modified time | relevance | path

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

/xnu-11215.81.4/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-11215.81.4/doc/allocators/
H A Dapi-basics.md107 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 types
109 must be restructured to fit, for security reasons.
128 - types should be small enough to fit in the zone allocator:
/xnu-11215.81.4/doc/mach_ipc/
H A Dkmsg.md123 inline buffer of the kmsg is used to fit all parts of the mach message this way:
/xnu-11215.81.4/doc/lifecycle/
H A Dhibernation.md167 memory. Its assumed this will fit in memory in its entirety. The image is