aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE_data/allocator_test.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-11-15 12:31:59 +0100
committerSverker Eriksson <[email protected]>2012-11-15 18:20:48 +0100
commit51277f5dcf29a085dc478e560d3b92a438c8ae2f (patch)
tree9944e8bd0f1799c9741a715d01c7cda6a185010b /erts/emulator/test/alloc_SUITE_data/allocator_test.h
parent9a763d644ca0e549f2733fd414aee9e77691b376 (diff)
downloadotp-51277f5dcf29a085dc478e560d3b92a438c8ae2f.tar.gz
otp-51277f5dcf29a085dc478e560d3b92a438c8ae2f.tar.bz2
otp-51277f5dcf29a085dc478e560d3b92a438c8ae2f.zip
erts: Refactor renaming a couple of macros in alloc_util
To get a consistent naming scheme where FBLK = Free block ABLK = Allocated block
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data/allocator_test.h')
-rw-r--r--erts/emulator/test/alloc_SUITE_data/allocator_test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/allocator_test.h b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
index 463d5b08ab..c0396ddb61 100644
--- a/erts/emulator/test/alloc_SUITE_data/allocator_test.h
+++ b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
@@ -60,9 +60,9 @@ typedef void* erts_cond;
#define IS_MMAP_C(C) ((Ulong) ALC_TEST1(0x00a, (C)))
#define C_SZ(C) ((Ulong) ALC_TEST1(0x00b, (C)))
#define SBC2BLK(A, C) ((Block_t *) ALC_TEST2(0x00c, (A), (C)))
-#define BLK2SBC(A, B) ((Carrier_t *) ALC_TEST2(0x00d, (A), (B)))
-#define MBC2FBLK(A, C) ((Block_t *) ALC_TEST2(0x00e, (A), (C)))
-#define FBLK2MBC(A, B) ((Carrier_t *) ALC_TEST2(0x00f, (A), (B)))
+#define BLK_TO_SBC(A, B) ((Carrier_t *) ALC_TEST2(0x00d, (A), (B)))
+#define MBC_TO_FIRST_BLK(A, C) ((Block_t *) ALC_TEST2(0x00e, (A), (C)))
+#define FIRST_BLK_TO_MBC(A, B) ((Carrier_t *) ALC_TEST2(0x00f, (A), (B)))
#define FIRST_MBC(A) ((Carrier_t *) ALC_TEST1(0x010, (A)))
#define LAST_MBC(A) ((Carrier_t *) ALC_TEST1(0x011, (A)))
#define FIRST_SBC(A) ((Carrier_t *) ALC_TEST1(0x012, (A)))