Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/eir.c create_default_scan_rsp() -> eir_append_local_name()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->hci_drv->specific_handler_count 0,2
PARAM_VALUE 0 hdev->interleave_scan.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->req_workqueue->work_color s32min-s32max
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->workqueue->flags 0-4294967295
PARAM_VALUE 0 hdev->workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->workqueue->nr_drainers s32min-s32max
PARAM_VALUE 0 hdev->workqueue->work_color s32min-s32max
PARAM_VALUE 0 *hdev->adv_data 0-255
PARAM_VALUE 2 ad_len 0,4
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 1 ptr 31,251
BUF_SIZE 1 ptr 31,251
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 ptr $1
FUZZY_MAX 2 ad_len 0
BIT_INFO 2 ad_len 0x0,0x4
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hdev->adv_data_len
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->lock
HALF_LOCKED2 0 &hdev->req_lock

net/bluetooth/eir.c eir_create_scan_rsp() -> eir_append_local_name()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->hci_drv->specific_handler_count 0,2
PARAM_VALUE 0 hdev->interleave_scan.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->req_workqueue->work_color s32min-s32max
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->workqueue->flags 0-4294967295
PARAM_VALUE 0 hdev->workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->workqueue->nr_drainers s32min-s32max
PARAM_VALUE 0 hdev->workqueue->work_color s32min-s32max
PARAM_VALUE 0 *hdev->adv_data 0-255
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 1 ptr 31,251
BUF_SIZE 1 ptr 31,251
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 ptr $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hdev->adv_data_len
NO_OVERFLOW_SIMPLE 0 hdev->scan_rsp_data_len
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->lock
HALF_LOCKED2 0 &hdev->req_lock

net/bluetooth/mgmt.c calculate_name_len() -> eir_append_local_name()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->le_features 4096-ptr_max
PARAM_VALUE 1 ptr 337416920574545920
PARAM_VALUE 2 ad_len 0
BUF_SIZE 0 hdev (-1)-s32max
BUF_SIZE 0 hdev (-1)-s32max
BUF_SIZE 1 ptr 12
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &mgmt_chan_list_lock
HALF_LOCKED2 sk
HALF_LOCKED2 0 &hdev->cmd_sync_work_lock
HALF_LOCKED2 0 &hdev->lock
HALF_LOCKED2 0 &hdev->req_lock