Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming

This commit is contained in:
Gregory Nutt
2014-08-31 15:27:37 -06:00
parent 5a488475a8
commit 9cd1ddada4
16 changed files with 48 additions and 41 deletions
+2 -2
View File
@@ -151,7 +151,7 @@ int munmap(FAR void *start, size_t length)
/* Get the offset from the beginning of the region and the actual number
* of bytes to "unmap". All mappings must extend to the end of the region.
* There is no support for free a block of memory but leaving a block of
* memory at the end. This is a consequence of using kurealloc() to
* memory at the end. This is a consequence of using umm_realloc() to
* simulate the unmapping.
*/
@@ -195,7 +195,7 @@ int munmap(FAR void *start, size_t length)
else
{
newaddr = kurealloc(curr->addr, sizeof(struct fs_rammap_s) + length);
newaddr = umm_realloc(curr->addr, sizeof(struct fs_rammap_s) + length);
DEBUGASSERT(newaddr == (FAR void*)(curr->addr));
curr->length = length;
}