walnux/include/nuttx
Xiang Xiao 73723dd31c drivers/rwbuffer: Avoid ftl driver allocate the temporary erase buffer
If the buffer to be flushed isn't multipled by the erase size,
let's pad the buffer proactively to avoid the allocation in ftl.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I6d7904aafab93a7886a594319d65826b81cd3cd1

3Change-Id: I88276149cc7826e7416929ca60b06314e96079a6
2020-08-29 02:57:36 -07:00
..
1wire ds28e17.h edited online with Bitbucket 2018-04-05 12:08:56 +00:00
analog drivers/analog/ and include/nuttx/analog: Fix typos and nxstyle issues. 2020-06-12 16:04:02 -03:00
audio Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
binfmt binfmt: exec_spawn as internal function shouldn't modify errno 2020-05-03 12:15:54 -06:00
can drivers/can: base readers checks on cd_readers list itself 2020-07-11 15:06:56 -03:00
contactless Merged in raiden00/nuttx_l0f0 (pull request #848) 2019-04-05 15:49:45 +00:00
crypto Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
drivers drivers/rwbuffer: Avoid ftl driver allocate the temporary erase buffer 2020-08-29 02:57:36 -07:00
eeprom Check return from nxsem_wait_initialize() (#661) 2020-03-30 20:59:47 -06:00
fs Fix nxstyle warning 2020-08-22 17:37:21 -06:00
i2c include/nuttx/i2c/i2c_master.h: Fix a small typo. 2018-12-07 18:53:57 -06:00
input include/nuttx/input/djoystick.h: Fix some trivial typos and nxstyle 2020-06-11 17:05:13 -06:00
ioexpander gpio: extend gpio_pintype_e for pulldown/up and opendrain 2020-07-07 08:34:25 -05:00
lcd drivers/lcd: Add support for the ST7735 TFT controller. 2020-06-21 14:13:32 -06:00
leds drivers/leds/ncp5623c&pca9635pw: Fix nxstyle issues. 2020-06-12 17:51:23 -03:00
lib math: Implement cbrt 2020-08-14 07:27:55 -05:00
mbox Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
mm net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
modem drivers/modem/altair: Update altair modem driver 2020-07-28 09:09:18 +02:00
mtd Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
net Fix nxstyle warning 2020-08-22 17:37:21 -06:00
nx drivers/video: Refine the update region notification mechanism 2020-08-10 08:08:33 +02:00
power arch: samd5e5: 2020-08-27 11:46:50 -03:00
rf drivers/rf/dat-31r5-sp.c: dd support to the DAT-31R5-SP+ digital attenuator. Creates a the new device driver directory drivers/rf/ to support drivers related to RF peripherals. It also adds support for the DAT-31R5-SP+ digital attenuator. 2019-09-05 13:28:28 -06:00
rptun Fix nxstyle warning 2020-08-22 17:37:21 -06:00
sensors drivers/sensors/mpu60x0: Add I2C support. 2020-06-24 23:30:34 -03:00
serial Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
spi drivers/spi/spi_bitbang.c: Fix typos and nxstyle complaints. 2020-06-21 14:13:32 -06:00
syslog Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
timers Fix nxstyle warning 2020-08-22 17:37:21 -06:00
usb Added USB MSC state change notifier in notifier work queue. 2020-08-09 11:54:04 -06:00
video drivers/video: Refine the update region notification mechanism 2020-08-10 08:08:33 +02:00
wireless wireless: gs2200m: Add flags member 2020-08-06 16:57:18 +09:00
.gitignore
addrenv.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
arch.h arch: up_assert shouldn't call exit directly 2020-07-19 01:21:36 +01:00
ascii.h ASCII: Improve some naming 2016-04-14 16:20:36 -06:00
b2c.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
board.h nuttx:board.h add extern C under cpp 2020-08-26 00:36:14 +08:00
cache.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
can.h net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
cancelpt.h Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
clock.h Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
compiler.h libxx: Make __dso_handle weak 2020-07-10 13:51:26 +09:00
elf.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
environ.h All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR). 2019-08-26 17:31:29 -06:00
envpath.h binfmt/ and libs/libc: Make exepath_*() more common: 2018-11-08 07:27:14 -06:00
init.h libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
irq.h arch: up_assert shouldn't call exit directly 2020-07-19 01:21:36 +01:00
kmalloc.h Include malloc.h instead of stdlib.h for mallinfo() 2020-06-15 07:21:19 -06:00
kthread.h CI check: fix nxstyle warning 2020-07-02 01:53:23 -05:00
list.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
mmcsd.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
module.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
mqueue.h mqueue: Add nxmq_open/nxmq_close/nxmq_unlink function 2020-05-04 07:20:02 -06:00
mutex.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
nuttx.h Kconfig: Move 'option modules' from NSH_FILE_APPS to BUILD_LOADABLE 2018-08-27 07:06:57 -06:00
page.h Run codespell -w against all files 2020-02-22 14:45:07 -06:00
pgalloc.h mm/mm_gran: Add a function to get information about the state of the granuale allocator. 2017-11-14 14:41:03 -06:00
progmem.h Merged in ebsong/nuttx (pull request #722) 2018-09-21 03:18:38 +00:00
pthread.h sched/pthread: Implement pthread_attr_[get|set]detachstate 2020-08-20 10:46:14 +01:00
random.h Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sched.h sched/wdog: Don't dynamically allocate wdog_s 2020-08-11 12:28:55 -06:00
sched_note.h Fix note structure members types 2020-07-22 11:55:21 -05:00
scsi.h Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
sdio.h Fix nxstyle warning 2020-04-13 12:01:39 -06:00
semaphore.h Implement proposed POSIX _clockwait variants of existing _timedwait functions 2020-07-27 20:39:59 -03:00
signal.h build: Remove 'u' prefix from userspace library 2020-05-01 15:56:55 -06:00
spawn.h syscall: nx_task_spawn should exist in the flat build just like the protected build 2020-05-02 09:56:23 -06:00
spinlock.h sched/semaphore/spinlock.c: spin_trylock handle memory barrier and instrumentation correctly. 2019-11-03 19:40:58 -06:00
streams.h drivers/syslog: syslog_force does not set errno so do not test against it. Some changes to comments. 2019-09-16 07:48:48 -06:00
symtab.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
time.h Remove TIME_EXTENDED option to more conform C standard 2020-01-23 08:17:22 -06:00
tls.h Move pthread-specific data into TLS 2020-05-08 18:05:04 +01:00
tree.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
userspace.h sched: Call c++ global variables constructor inside nxtask_startup 2020-07-01 07:55:33 -06:00
vt100.h Add ANSI/VT100 color codes 2014-11-10 15:10:57 -06:00
wdog.h sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
wqueue.h Added USB MSC state change notifier in notifier work queue. 2020-08-09 11:54:04 -06:00
zoneinfo.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00