Lines Matching refs:chunk
64 chunks. The first chunk of every allocation or unused block is
65 prefixed by a chunk header that stores the length of the chunk, the
66 length of the next lower ("left") chunk in physical memory, a bit
67 indicating whether the chunk is in use, and chunk-indexed link
68 pointers to the previous and next chunk in a "free list" to which
156 A thread can dynamically allocate a chunk of heap memory by calling
157 :c:func:`k_malloc`. The address of the allocated chunk is
159 chunk of heap memory cannot be found ``NULL`` is returned.
161 When the thread is finished with a chunk of heap memory it can release
162 the chunk back to the system heap by calling :c:func:`k_free`.
190 A chunk of heap memory is allocated by calling :c:func:`k_malloc`.
192 The following code allocates a 200 byte chunk of heap memory, then fills it
193 with zeros. A warning is issued if a suitable chunk is not obtained.
210 A chunk of heap memory is released by calling :c:func:`k_free`.
212 The following code allocates a 75 byte chunk of memory, then releases it