Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/xen-netfront.c xennet_mark_tx_pending() -> get_id_from_list()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 1 list 512
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &queue->tx_lock
HALF_LOCKED2 irq_flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netfront_queue)->tx_lock

drivers/net/xen-netfront.c xennet_mark_tx_pending() -> get_id_from_list()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 *head 0-u16max
PARAM_VALUE 1 list 4096-ptr_max
BUF_SIZE 1 list 512
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &queue->tx_lock
HALF_LOCKED2 irq_flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netfront_queue)->tx_lock

drivers/net/xen-netfront.c xennet_tx_setup_grant() -> get_id_from_list()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 1 list 512
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &queue->tx_lock
HALF_LOCKED2 &rinfo->ring_lock
HALF_LOCKED2 flags