ESP-IDF
net_buf_alloc_len()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
net_buf_alloc_len()
net_buf_alloc_len() function
Syntax
Show:
Summary
Declaration
from
buf.c:540
struct
net_buf
*
net_buf_alloc_len
(
struct
net_buf_pool
*
pool
,
size_t
size
,
int32_t
timeout
)
#endif
;
Arguments
Argument
pool
size
timeout
Related Functions
Found 4 other functions taking a
net_buf_pool
argument:
Function
bt_mesh_adv_create_from_pool()
net_buf_alloc_fixed()
bt_mesh_unref_buf_from_pool()
pool_get_uninit()
Examples
References
from
examples
Code
Location
Referrer
struct
net_buf
*
net_buf_alloc_len
(
struct
net_buf_pool
*
pool
,
size_t
size
,
buf.c:540
return
net_buf_alloc_len
(
pool
,
fixed
->
data_size
,
timeout
)
;
buf.c:619
net_buf_alloc_fixed()
Call Tree
from
examples
net_buf_alloc_len()
is called by 1 function and calls 5 functions:
net_buf_alloc_fixed()
All items filtered out
net_buf_alloc_len()
bt_mesh_buf_lock()
bt_mesh_buf_unlock()
net_buf_reset()
pool_get_uninit()
data_alloc()
All items filtered out
Data Use
from
examples
net_buf_alloc_len()
reads 5 variables and writes 7 variables:
net_buf::ref
net_buf::
::
::__buf
net_buf_pool::buf_count
net_buf_pool::uninit_count
net_buf_pool::avail_count
All items filtered out
net_buf_alloc_len()
net_buf::
::frags
net_buf::ref
net_buf::flags
net_buf::
::
::size
net_buf::
::
::__buf
net_buf_pool::uninit_count
net_buf_pool::avail_count
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out