ESP-IDF
osi_calloc_func()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
osi_calloc_func()
osi_calloc_func() function
Syntax
Show:
Summary
Declaration
Definition
from
allocator.h:29
void
*
osi_calloc_func
(
size_t
size
)
;
Implemented in
allocator.c:228
Arguments
Argument
size
Examples
References
from
examples
Code
Location
Referrer
void
*
osi_calloc_func
(
size_t
size
)
allocator.c:228
void
*
osi_calloc_func
(
size_t
size
)
;
allocator.h:29
char
*
new_string
=
(
char
*
)
osi_calloc
(
size
)
;
allocator.c:204
osi_strdup()
dst
->
wifi_conn_report
.
extra_info
=
osi_calloc
(
sizeof
(
esp_blufi_extra_info_t
)
)
;
blufi_prf.c:713
btc_blufi_call_deep_copy()
if
(
(
p_buf
=
(
tBTA_GATTC_DATA
*
)
osi_calloc
(
sizeof
(
tBTA_GATTC_DATA
)
)
)
!=
NULL
)
{
bta_gattc_act.c:1820
bta_gattc_enc_cmpl_cback()
char
*
buf
=
osi_calloc
(
BTA_HF_CLIENT_RFC_READ_MAX
)
;
bta_hf_client_act.c:499
bta_hf_client_rfc_data()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_OPERATOR_NAME
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:612
bta_hf_client_operator_name()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_NUMBER
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:638
bta_hf_client_clip()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_NUMBER
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:663
bta_hf_client_ccwa()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_CLCC
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:711
bta_hf_client_clcc()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_CNUM
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:744
bta_hf_client_cnum()
if
(
(
evt
=
osi_calloc
(
sizeof
(
tBTA_HF_CLIENT_NUMBER
)
)
)
!=
NULL
)
{
bta_hf_client_act.c:771
bta_hf_client_binp()
t
=
osi_calloc
(
sizeof
(
*
t
)
)
;
bta_jv_act.c:2635
fcchan_get()
t
=
osi_calloc
(
sizeof
(
*
t
)
)
;
bta_jv_act.c:2708
fcclient_alloc()
av_dest
->
meta_msg
.
p_data
=
osi_calloc
(
av_src
->
meta_msg
.
len
)
;
btc_av.c:1039
btc_av_event_deep_copy()
av_dest
->
meta_msg
.
p_msg
=
osi_calloc
(
sizeof
(
tAVRC_MSG
)
)
;
btc_av.c:1045
btc_av_event_deep_copy()
av_dest
->
meta_msg
.
p_msg
->
vendor
.
p_vendor_data
=
osi_calloc
(
btc_av.c:1051
btc_av_event_deep_copy()
uint8_t
*
buf
=
(
uint8_t
*
)
osi_calloc
(
RC_CMD_PRS_BUF_LEN
)
;
btc_avrc.c:737
handle_rc_metamsg_cmd()
char
*
str
=
(
char
*
)
osi_calloc
(
length
*
2
+
1
)
;
btc_config.c:253
btc_config_set_bin()
pkt_linked_item_t
*
linked_pkt
=
osi_calloc
(
BT_PKT_LINKED_HDR_SIZE
+
sizeof
(
esp_ble_gap_cb_param_t
)
)
;
btc_gap_ble.c:664
btc_process_adv_rpt_pkt()
bluetooth_sdp_record
*
record
=
(
bluetooth_sdp_record
*
)
osi_calloc
(
get_sdp_record_size
(
src_record
)
)
;
btc_sdp.c:1319
btc_sdp_arg_deep_copy()
connection
=
osi_calloc
(
sizeof
(
background_connection_t
)
)
;
btm_ble_bgconn.c:78
background_connection_add()
if
(
(
p_inq
->
p_bd_db
=
(
tINQ_BDADDR
*
)
osi_calloc
(
BT_DEFAULT_BUFFER_SIZE
)
)
!=
NULL
)
{
btm_inq.c:1776
btm_initiate_inquiry()
BT_HDR
*
event
=
osi_calloc
(
sizeof
(
BT_HDR
)
+
sizeof
(
command_complete_hack_t
)
)
;
btu_hcif.c:1226
btu_hcif_command_complete_evt()
BT_HDR
*
event
=
osi_calloc
(
sizeof
(
BT_HDR
)
+
sizeof
(
command_status_hack_t
)
)
;
btu_hcif.c:1470
btu_hcif_command_status_evt()
buffer_t
*
ret
=
osi_calloc
(
sizeof
(
buffer_t
)
)
;
buffer.c:59
buffer_new_slice()
config_t
*
config
=
osi_calloc
(
sizeof
(
config_t
)
)
;
config.c:55
config_new_empty()
char
*
keyname
=
osi_calloc
(
keyname_bufsz
)
;
config.c:364
get_config_size_from_flash()
char
*
line
=
osi_calloc
(
1024
)
;
config.c:412
config_save()
char
*
keyname
=
osi_calloc
(
keyname_bufsz
)
;
config.c:414
config_save()
char
*
buf
=
osi_calloc
(
config_size
)
;
config.c:416
config_save()
char
*
line
=
osi_calloc
(
1024
)
;
config.c:566
config_parse()
char
*
section
=
osi_calloc
(
1024
)
;
config.c:567
config_parse()
char
*
keyname
=
osi_calloc
(
keyname_bufsz
)
;
config.c:569
config_parse()
buf
=
osi_calloc
(
buf_size
)
;
config.c:576
config_parse()
section_t
*
section
=
osi_calloc
(
sizeof
(
section_t
)
)
;
config.c:667
section_new()
entry_t
*
entry
=
osi_calloc
(
sizeof
(
entry_t
)
)
;
config.c:703
entry_new()
fixed_pkt_queue_t
*
ret
=
osi_calloc
(
sizeof
(
fixed_pkt_queue_t
)
)
;
fixed_pkt_queue.c:23
fixed_pkt_queue_new()
fixed_queue_t
*
ret
=
osi_calloc
(
sizeof
(
fixed_queue_t
)
)
;
fixed_queue.c:40
fixed_queue_new()
future_t
*
ret
=
osi_calloc
(
sizeof
(
future_t
)
)
;
future.c:28
future_new()
future_t
*
ret
=
osi_calloc
(
sizeof
(
future_t
)
)
;
future.c:48
future_new_immediate()
if
(
(
p_buf
=
(
BT_HDR
*
)
osi_calloc
(
GATT_DB_BUF_SIZE
)
)
==
NULL
)
{
gatt_db.c:1470
allocate_svc_db_buf()
if
(
(
p_buf
=
(
BT_HDR
*
)
osi_calloc
(
len
)
)
==
NULL
)
{
gatt_sr.c:191
process_read_multi_rsp()
if
(
(
p_buf
=
(
BT_HDR
*
)
osi_calloc
(
len
)
)
==
NULL
)
{
gatt_sr.c:312
process_read_multi_var_rsp()
if
(
(
p_msg
=
(
BT_HDR
*
)
osi_calloc
(
msg_len
)
)
==
NULL
)
{
gatt_sr.c:943
gatts_process_primary_service_req()
if
(
(
p_msg
=
(
BT_HDR
*
)
osi_calloc
(
buf_len
)
)
==
NULL
)
{
gatt_sr.c:997
gatts_process_find_info()
if
(
(
p_msg
=
(
BT_HDR
*
)
osi_calloc
(
msg_len
)
)
==
NULL
)
{
gatt_sr.c:1140
gatts_process_read_by_type_req()
if
(
(
p_msg
=
(
BT_HDR
*
)
osi_calloc
(
buf_len
)
)
==
NULL
)
{
gatt_sr.c:1478
gatts_process_read_req()
hash_map_t
*
hash_map
=
osi_calloc
(
sizeof
(
hash_map_t
)
)
;
hash_map.c:59
hash_map_new_internal()
hash_map
->
bucket
=
osi_calloc
(
sizeof
(
hash_map_bucket_t
)
*
num_bucket
)
;
hash_map.c:70
hash_map_new_internal()
hash_map_entry
=
osi_calloc
(
sizeof
(
hash_map_entry_t
)
)
;
hash_map.c:151
hash_map_set()
hci_hal_env
.
adv_fc_cmd_buf
=
osi_calloc
(
HCI_CMD_LINKED_BUF_SIZE
(
HCIC_PARAM_SIZE_BLE_UPDATE_ADV_FLOW_CONTROL
)
)
;
hci_hal_h4.c:114
hci_hal_env_init()
pkt
=
(
BT_HDR
*
)
osi_calloc
(
pkt_size
)
;
hci_hal_h4.c:577
host_recv_pkt_cb()
pkt_linked_item_t
*
linked_pkt
=
osi_calloc
(
HCI_CMD_LINKED_BUF_SIZE
(
param_len
)
)
;
hcimsgs.h:58
hci_get_cmd_buf()
registration_control_block
=
(
tL2C_RCB
*
)
osi_calloc
(
sizeof
(
tL2C_RCB
)
)
;
l2c_api.c:343
L2CA_SetConnectionCallbacks()
list_t
*
list
=
(
list_t
*
)
osi_calloc
(
sizeof
(
list_t
)
)
;
list.c:25
list_new_internal()
list_node_t
*
node
=
(
list_node_t
*
)
osi_calloc
(
sizeof
(
list_node_t
)
)
;
list.c:118
list_insert_after()
list_node_t
*
node
=
(
list_node_t
*
)
osi_calloc
(
sizeof
(
list_node_t
)
)
;
list.c:137
list_prepend()
list_node_t
*
node
=
(
list_node_t
*
)
osi_calloc
(
sizeof
(
list_node_t
)
)
;
list.c:156
list_append()
partial_packet
=
(
BT_HDR
*
)
osi_calloc
(
full_length
+
sizeof
(
BT_HDR
)
)
;
packet_fragmenter.c:173
reassemble_and_dispatch()
s_stack_config_env
=
osi_calloc
(
sizeof
(
struct
stack_config_env_tag
)
)
;
stack_config.c:30
bluedriod_config_init()
osi_thread_t
*
thread
=
(
osi_thread_t
*
)
osi_calloc
(
sizeof
(
osi_thread_t
)
)
;
thread.c:217
osi_thread_create()
thread
->
work_queues
=
(
struct
work_queue
*
*
)
osi_calloc
(
sizeof
(
struct
work_queue
*
)
*
work_queue_num
)
;
thread.c:223
osi_thread_create()
struct
osi_event
*
event
=
osi_calloc
(
sizeof
(
struct
osi_event
)
)
;
thread.c:380
osi_event_create()
Call Tree
from
examples
osi_calloc_func()
is called by 53 functions and calls 3 functions:
osi_strdup()
btc_blufi_call_deep_copy()
buffer_new_slice()
config_new_empty()
get_config_size_from_flash()
config_save()
config_parse()
section_new()
entry_new()
fixed_queue_new()
fixed_pkt_queue_new()
future_new()
future_new_immediate()
hash_map_new_internal()
hash_map_set()
list_new_internal()
list_insert_after()
list_prepend()
list_append()
osi_thread_create()
osi_event_create()
fcchan_get()
fcclient_alloc()
bta_hf_client_rfc_data()
bta_hf_client_operator_name()
bta_hf_client_clip()
bta_hf_client_ccwa()
bta_hf_client_clcc()
bta_hf_client_cnum()
bta_hf_client_binp()
btc_config_set_bin()
btc_av_event_deep_copy()
handle_rc_metamsg_cmd()
btc_sdp_arg_deep_copy()
hci_get_cmd_buf()
hci_hal_env_init()
host_recv_pkt_cb()
reassemble_and_dispatch()
background_connection_add()
btm_initiate_inquiry()
btu_hcif_command_complete_evt()
btu_hcif_command_status_evt()
allocate_svc_db_buf()
process_read_multi_rsp()
process_read_multi_var_rsp()
gatts_process_primary_service_req()
gatts_process_find_info()
gatts_process_read_by_type_req()
gatts_process_read_req()
L2CA_SetConnectionCallbacks()
bluedriod_config_init()
bta_gattc_enc_cmpl_cback()
btc_process_adv_rpt_pkt()
All items filtered out
osi_calloc_func()
calloc()
esp_log_timestamp()
esp_log_write()
All items filtered out
Data Use
from
examples
osi_calloc_func()
reads 1 variable:
esp_log_level_t::ESP_LOG_ERROR
All items filtered out
osi_calloc_func()
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