Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching full:pinuse

2136   access to non-existent (or non-owned) memory. If pinuse is set for
2147 Each freshly allocated chunk must have both cinuse and pinuse set.
2174 3. Chunks allocated via mmap, have both cinuse and pinuse bits
2257 #define pinuse(p) ((p)->head & PINUSE_BIT)
2276 /* extract next chunk's pinuse bit */
2283 /* Set size, pinuse bit, and foot */
2287 /* Set size, pinuse bit, foot, and clear next pinuse */
3016 /* Check if p has its pinuse bit on */
3017 #define ok_pinuse(p) pinuse(p)
3052 /* Set cinuse bit and pinuse bit of next chunk */
3057 /* Set cinuse and pinuse of this chunk and pinuse of next chunk */
3062 /* Set size, cinuse and pinuse bit of this chunk */
3248 assert(pinuse(p));
3249 assert(!pinuse(chunk_plus_offset(p, sz)));
3271 /* If not pinuse and not mmapped, previous chunk has OK offset */
3272 assert(is_mmapped(p) || pinuse(p) || next_chunk(prev_chunk(p)) == p);
3290 assert(pinuse(p));
3445 assert(pinuse(q));
3964 assert(pinuse(oldfirst));
4387 if (!pinuse(p)) {
4727 if (!pinuse(p)) {
5663 if (!pinuse(p)) {