incubator-nuttx/mm/iob
Zhe Weng 44a04733d4 mm/iob: Don't return NULL in iob_pack
We don't want to get a NULL pointer after iob_pack on an IOB chain with
several iobs with length 0, it should return one IOB with length 0.
Otherwise each place calls iob_pack needs to check the result.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-04-22 19:26:22 +08:00
..
Kconfig mm/iob: revert "modify iob to support header padding and alignment features" 2022-12-21 01:43:02 +08:00
Make.defs mm/iob: add a helper function to get iob count in chain 2022-12-21 01:40:24 +08:00
iob.h
iob_add_queue.c
iob_alloc.c
iob_alloc_qentry.c
iob_clone.c mm/iob: Support neg offset in iob_clone 2023-03-08 23:09:25 +02:00
iob_concat.c
iob_contig.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
iob_copyin.c mm/iob: Support negative offset when copyin/out. 2023-01-31 00:39:15 +08:00
iob_copyout.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
iob_count.c mm/iob: add a helper function to get iob count in chain 2022-12-21 01:40:24 +08:00
iob_dump.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
iob_free.c
iob_free_chain.c
iob_free_qentry.c
iob_free_queue.c
iob_free_queue_qentry.c
iob_get_queue_size.c
iob_initialize.c mm/iob: revert "modify iob to support header padding and alignment features" 2022-12-21 01:43:02 +08:00
iob_navail.c
iob_notifier.c
iob_pack.c mm/iob: Don't return NULL in iob_pack 2023-04-22 19:26:22 +08:00
iob_peek_queue.c
iob_remove_queue.c
iob_reserve.c mm/iob: reserved bytes should be updated after each iteration 2022-12-07 21:24:25 +08:00
iob_statistics.c
iob_tailroom.c
iob_test.c
iob_trimhead.c
iob_trimhead_queue.c
iob_trimtail.c
iob_update_pktlen.c mm/iob: new function iob_update_pktlen() to update packet length of the iob 2022-11-29 13:16:23 +08:00