Home
last modified time | relevance | path

Searched refs:CHUNK_PSIZE (Results 1 - 7 of 7) sorted by relevance

/third_party/musl/src/malloc/oldmalloc/
H A Dmalloc_impl.h92 #define CHUNK_PSIZE(c) ((c)->psize & -2) macro
93 #define PREV_CHUNK(c) ((struct chunk *)((char *)(c) - CHUNK_PSIZE(c)))
H A Dmalloc.c537 size_t psize = self->psize & C_INUSE ? 0 : CHUNK_PSIZE(self); in __bin_chunk()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
H A Dmalloc_impl.h76 #define CHUNK_PSIZE(c) ((c)->psize & -2) macro
77 #define PREV_CHUNK(c) ((struct chunk *)((char *)(c) - CHUNK_PSIZE(c)))
H A Dmalloc.c497 size_t psize = self->psize & C_INUSE ? 0 : CHUNK_PSIZE(self); in __bin_chunk()
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dmemory_check.c417 checksum = CHUNK_SIZE(self) ^ CHUNK_PSIZE(self) ^ NODE_MAGIC; in is_invalid()
428 cur->checksum = CHUNK_SIZE(cur) ^ CHUNK_PSIZE(cur) ^ NODE_MAGIC; in calculate_checksum()
432 next->checksum = CHUNK_SIZE(next) ^ CHUNK_PSIZE(next) ^ NODE_MAGIC; in calculate_checksum()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemory_check.c402 checksum = CHUNK_SIZE(self) ^ CHUNK_PSIZE(self) ^ NODE_MAGIC; in is_invalid()
413 cur->checksum = CHUNK_SIZE(cur) ^ CHUNK_PSIZE(cur) ^ NODE_MAGIC; in calculate_checksum()
417 next->checksum = CHUNK_SIZE(next) ^ CHUNK_PSIZE(next) ^ NODE_MAGIC; in calculate_checksum()
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
H A Dmalloc.c447 size_t psize = self->psize & C_INUSE ? 0 : CHUNK_PSIZE(self); in __bin_chunk()

Completed in 8 milliseconds