Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/vfs/
H A Dvfs_attrlist.c151 ssize_t fit; in attrlist_pack_fixed() local
166 fit = lmin(count, ab->allocated - (ab->fixedcursor - ab->base)); in attrlist_pack_fixed()
167 if (fit > 0) { in attrlist_pack_fixed()
169 bcopy(source, ab->fixedcursor, fit); in attrlist_pack_fixed()
190 ssize_t fit; in attrlist_pack_variable2() local
209 fit = lmin(count, ab->allocated - (ab->varcursor - ab->base)); in attrlist_pack_variable2()
210 if (fit > 0) { in attrlist_pack_variable2()
212 bcopy(source, ab->varcursor, fit); in attrlist_pack_variable2()
214 ab->varcursor += fit; in attrlist_pack_variable2()
218 fit = lmin(extcount, ab->allocated - (ab->varcursor - ab->base)); in attrlist_pack_variable2()
[all …]
/xnu-12377.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:
H A Dguard-objects.md15 pointer ranges of `kmem_alloc()`, which previously used a first-fit allocator.
/xnu-12377.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-12377.81.4/doc/debugging/
H A Dextensible_paniclog.md213 …xtensible panic log. We will cut off the extensible panic log if we cannot fit all the buffers int…
/xnu-12377.81.4/doc/lifecycle/
H A Dhibernation.md167 memory. Its assumed this will fit in memory in its entirety. The image is
/xnu-12377.81.4/doc/arm/
H A Dsme.md277 to fit in a single Mach message, xnu's Mach thread-state APIs divide the `Z`