Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/nfc/nfcmrvl/usb.c nfcmrvl_bulk_complete() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 2 how 2080
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 len 0-u32max[c][u]
NO_OVERFLOW_SIMPLE 1 len
UNITS 1 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/nfc/fdp/fdp.c fdp_nci_send_patch() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cmd_cnt.counter 1
PARAM_VALUE 0 ndev->driver_data 4096-ptr_max
PARAM_VALUE 0 ndev->driver_data->ram_patch_version 0-4294967295
PARAM_VALUE 0 ndev->ops 4096-ptr_max
PARAM_VALUE 0 ndev->ops->init 0,8782083445668626432
PARAM_VALUE 0 ndev->ops->setup 5634939265862148096,6077193304604819456
PARAM_VALUE 0 ndev->req_completion.done 0-4294967293,u32max
PARAM_VALUE 0 ndev->req_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_completion.wait.lock.owner (-1)
PARAM_VALUE 0 ndev->req_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ndev->req_completion.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ndev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->req_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ndev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ndev->req_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ndev->req_lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ndev->req_result 0
PARAM_VALUE 0 ndev->req_status 0
PARAM_VALUE 1 len 4-258
PARAM_VALUE 2 how 3264
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
CAPPED_DATA 1 len 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 0 &ndev->req_lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nci_dev)->req_lock

net/nfc/nci/uart.c nci_uart_default_recv_buf() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 1-u64max
PARAM_VALUE 1 len 258
PARAM_VALUE 2 how 2080
LOCK2 &nu->rx_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock
TYPE_LOCK (struct nci_uart)->rx_lock

net/nfc/nci/spi.c __nci_spi_read() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 2 how 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

net/nfc/nci/spi.c send_acknowledge() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 1 len 0
PARAM_VALUE 2 how 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/nfc/nxp-nci/firmware.c nxp_nci_fw_send_chunk() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 2 how 3264
LOCK2 &info->info_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nxp_nci_info)->info_lock

net/nfc/nci/core.c nci_nfcc_loopback() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 len 4-65538
PARAM_VALUE 2 how 3264
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/nfc/nci/core.c nci_send_cmd() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->ops->disable_se 0,1169938961821376512
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->enable_se 0,7245849656210124800
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->ops->init 0,8782083445668626432
PARAM_VALUE 0 ndev->ops->post_setup 0,2081724076561776640,3317669546448752640
PARAM_VALUE 0 ndev->ops->setup 0,5634939265862148096,6077193304604819456
PARAM_VALUE 1 len 3-258
PARAM_VALUE 2 how 3264
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1)-8
STR_LEN 0 ndev (-1)-8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 0 &ndev->req_lock

net/nfc/nci/hci.c nci_hci_send_data() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->ops->disable_se 0,1169938961821376512
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->enable_se 0,7245849656210124800
PARAM_VALUE 0 ndev->ops->hci_cmd_received 0,2978361983549399040
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->ops->init 0,8782083445668626432
PARAM_VALUE 0 ndev->ops->post_setup 0,2081724076561776640,3317669546448752640
PARAM_VALUE 0 ndev->ops->se_io 0,1093042082371383296
PARAM_VALUE 0 ndev->ops->setup 0,5634939265862148096,6077193304604819456
PARAM_VALUE 2 how 2080
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1)-8
STR_LEN 0 ndev (-1)-8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 0 &ndev->req_lock

net/nfc/nci/hci.c nci_hci_send_data() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->ops->disable_se 0,1169938961821376512
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->enable_se 0,7245849656210124800
PARAM_VALUE 0 ndev->ops->hci_cmd_received 0,2978361983549399040
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->ops->init 0,8782083445668626432
PARAM_VALUE 0 ndev->ops->post_setup 0,2081724076561776640,3317669546448752640
PARAM_VALUE 0 ndev->ops->se_io 0,1093042082371383296
PARAM_VALUE 0 ndev->ops->setup 0,5634939265862148096,6077193304604819456
PARAM_VALUE 0 ndev->tx_q.next 4096-ptr_max
PARAM_VALUE 0 ndev->tx_q.prev 4096-ptr_max
PARAM_VALUE 2 how 2080
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1)-8
STR_LEN 0 ndev (-1)-8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 0 &ndev->req_lock

drivers/nfc/nfcmrvl/i2c.c nfcmrvl_i2c_read() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 2 how 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

net/nfc/nci/data.c nci_queue_tx_data_frags() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->init_data.gates->gate 0-255
PARAM_VALUE 0 ndev->ops->disable_se 0,1169938961821376512
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->enable_se 0,7245849656210124800
PARAM_VALUE 0 ndev->ops->hci_cmd_received 0,2978361983549399040
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->ops->init 0,8782083445668626432
PARAM_VALUE 0 ndev->ops->post_setup 0,2081724076561776640,3317669546448752640
PARAM_VALUE 0 ndev->ops->se_io 0,1093042082371383296
PARAM_VALUE 0 ndev->ops->setup 0,5634939265862148096,6077193304604819456
PARAM_VALUE 1 len 0-258,2147483651-u32max
PARAM_VALUE 2 how 2080
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
CAPPED_DATA 1 len 1
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1)-8
STR_LEN 0 ndev (-1)-8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &ndev->req_lock

drivers/nfc/nfcmrvl/fw_dnld.c alloc_lc_skb() -> nci_skb_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 len 3-258
PARAM_VALUE 2 how 3264
RX_PATH
HALF_LOCKED2 &pool->lock