rockbox/firmware/include
Thomas Martitz af4e408555 buflib: Change buflib_available() and add buflib_allocatable().
buflib_allocatable() is what buflib_available() was before (it was in fact
simply renamed). It returns the largest contiguous block of memory. This
can be allocated and will definitely succeed, although larger allocations
may also succeed if the buffer can be compacted and shrinked.

buflib_available() now counts all free bytes, contiguous or not. This
better matches the description and how the caller use it.

Change-Id: I511e4eb5f4cf1821d957b3f4ef8a685ce40fe289
Reviewed-on: http://gerrit.rockbox.org/481
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
2013-07-07 10:46:07 +02:00
..
_ansi.h
assert.h
buflib.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
core_alloc.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
crc32-mi4.h
crc32-rkw.h Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.h
dbgcheck.h
diacritic.h
dir.h
dir_uncached.h Fix __PCTOOL__ dependencies on SIMULATOR 2012-03-03 18:54:47 +01:00
dircache.h Dircache: Allow dircache to be enabled without reboot. 2011-08-30 21:07:46 +00:00
file.h Fix database tool. 2012-07-31 10:33:27 +02:00
font_cache.h font_cache.c: Optimize and simplify cache search. ~25% font rendering boost 2011-10-16 20:17:44 +00:00
format.h
gcc_extensions.h Add a NO_INLINE attribute to gcc_extensions. 2012-04-26 16:04:43 -04:00
loader_strerror.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
lru.h Finish r30818 revert 2011-10-22 08:23:52 +00:00
memset16.h
rb-loader.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
rbunicode.h Add support for cp1252 (Western European) codepage. 2012-05-19 01:42:53 +02:00
strcasecmp.h
strcasestr.h
string-extra.h
strlcat.h
strlcpy.h
strnatcmp.h
strtok_r.h
timefuncs.h Remove USB time sync code when there's no RTC. 2011-12-16 00:09:28 +00:00