#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
#
# Memory Management
#
-# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION is not set
+# CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION is not set
# CONFIG_MM_SMALL is not set
CONFIG_MM_REGIONS=1
# CONFIG_ARCH_HAVE_HEAP2 is not set
user-mode heap. This value may need to be aligned to units of the
size of the smallest memory protection region.
-config DISABLE_REALLOC_NEIGHBOR_EXTENTION
+config DISABLE_REALLOC_NEIGHBOR_EXTENSION
bool "Disable Realloc Neighbor Extension"
default n
---help---
#endif
{
FAR struct mm_allocnode_s *oldnode;
-#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION
+#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION
FAR struct mm_freenode_s *prev;
FAR struct mm_freenode_s *next;
#endif
size_t newsize;
size_t oldsize;
-#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION
+#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION
size_t prevsize = 0;
size_t nextsize = 0;
#endif
oldsize = oldnode->size;
-#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENTION
+#ifndef CONFIG_DISABLE_REALLOC_NEIGHBOR_EXTENSION
if (newsize <= oldsize) {
/* Handle the special case where we are not going to change the size
* of the allocation.