Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/packet/af_packet.c packet_poll() -> packet_current_frame()

Type Parameter Key Value
PARAM_VALUE 0 po 4096-ptr_max
PARAM_VALUE 0 po->tp_version 0-2
PARAM_VALUE 0 po->tx_ring.pg_vec 1-u64max
PARAM_VALUE 1 rb 4096-ptr_max
PARAM_VALUE 1 rb->pg_vec 1-u64max
PARAM_VALUE 2 status 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sk->sk_write_queue.lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sk_buff_head)->lock

net/packet/af_packet.c tpacket_snd() -> packet_current_frame()

Type Parameter Key Value
PARAM_VALUE 0 po 4096-ptr_max
PARAM_VALUE 0 po->pg_vec_lock.dep_map->name 0-255
PARAM_VALUE 0 po->pg_vec_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 po->pg_vec_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 po->pg_vec_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 po->pg_vec_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 po->pg_vec_lock.wait_lock.owner (-1)
PARAM_VALUE 0 po->pg_vec_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 po->sk.sk_socket 4096-ptr_max
PARAM_VALUE 0 po->skb_completion.done 0
PARAM_VALUE 0 po->tx_ring.pg_vec 1-u64max
PARAM_VALUE 0 po->vnet_hdr_sz 0,10,12
PARAM_VALUE 1 rb 4096-ptr_max
PARAM_VALUE 1 rb->pg_vec 1-u64max
PARAM_VALUE 2 status 1
CAPPED_DATA 0 &po->pg_vec_lock 1
DATA_SOURCE 0 po $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &po->pg_vec_lock
HALF_LOCKED2 &vq->mutex
TYPE_LOCK (struct packet_sock)->pg_vec_lock