diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-08 12:59:05 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-26 11:03:06 +0000 |
commit | faf003ed8de7c1b1b4794ae15c90241825caeea4 (patch) | |
tree | 2c89de8148b9810ebd8c0b7471ef6aa23dc41db8 /posix/tst-vfork3.c | |
parent | 1dc17ea8f8492d618a91f0b7b3f1e7fd089889d1 (diff) | |
download | glibc-faf003ed8de7c1b1b4794ae15c90241825caeea4.zip glibc-faf003ed8de7c1b1b4794ae15c90241825caeea4.tar.gz glibc-faf003ed8de7c1b1b4794ae15c90241825caeea4.tar.bz2 |
malloc: Use memsize instead of CHUNK_AVAILABLE_SIZE
This is a pure refactoring change that does not affect behaviour.
The CHUNK_AVAILABLE_SIZE name was unclear, the memsize name tries to
follow the existing convention of mem denoting the allocation that is
handed out to the user, while chunk is its internally used container.
The user owned memory for a given chunk starts at chunk2mem(p) and
the size is memsize(p). It is not valid to use on dumped heap chunks.
Moved the definition next to other chunk and mem related macros.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'posix/tst-vfork3.c')
0 files changed, 0 insertions, 0 deletions