From be4f67c834719a8d12f5588d42d64bd39d1cb0c6 Mon Sep 17 00:00:00 2001 From: nodist Date: Fri, 3 Jul 2026 13:27:41 -0400 Subject: add more lifecycle --- docs/application/buffer.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/application/buffer.md') diff --git a/docs/application/buffer.md b/docs/application/buffer.md index ea30458..92de6ae 100644 --- a/docs/application/buffer.md +++ b/docs/application/buffer.md @@ -7,10 +7,15 @@ ```c typedef struct _kpl_buffer { KPL_ALLOC_HEADER(struct _kpl_buffer); - size_t byte_length; + size_t byte_length : KPL_ALLOC_POOL_SIZE; + int32_t io_register_index : KPL_ALLOC_WEIGHT; kpl_interface *interface; uint8_t bytes[]; } kpl_buffer; ``` +## Io uring buffer register + +### Set `io_register_index` to -1 of not used + ## Unicode Methods -- cgit v1.2.3