Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/packet/af_packet.c __tpacket_has_room() -> packet_lookup_frame()

Type Parameter Key Value
PARAM_VALUE 0 po 4096-ptr_max
PARAM_VALUE 0 po->prot_hook.func 8756427805827137536
PARAM_VALUE 0 po->tp_version 0-1
PARAM_VALUE 1 rb 4096-ptr_max
PARAM_VALUE 3 status 0
DATA_SOURCE 0 po $0
RX_PATH
TASK_NOT_RUNNING

net/packet/af_packet.c packet_current_frame() -> packet_lookup_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 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 3 status 0-1
DATA_SOURCE 0 po $0
DATA_SOURCE 1 rb $1
DATA_SOURCE 3 status $2
HARD_MAX 3 status 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_write_queue.lock
HALF_LOCKED2 bh
HALF_LOCKED2 0 &po->pg_vec_lock

net/packet/af_packet.c packet_current_rx_frame() -> packet_lookup_frame()

Type Parameter Key Value
PARAM_VALUE 0 po 4096-ptr_max
PARAM_VALUE 0 po->tp_version 0-1
PARAM_VALUE 0 po->vnet_hdr_sz 0,10,12
PARAM_VALUE 1 rb 4096-ptr_max
PARAM_VALUE 3 status 0
DATA_SOURCE 0 po $0
DATA_SOURCE 3 status $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sk->sk_receive_queue.lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct sk_buff_head)->lock

net/packet/af_packet.c packet_previous_frame() -> packet_lookup_frame()

Type Parameter Key Value
PARAM_VALUE 0 po 4096-ptr_max
PARAM_VALUE 0 po->rx_ring.pg_vec 1-u64max
PARAM_VALUE 0 po->tp_version 0-1
PARAM_VALUE 1 rb 4096-ptr_max
PARAM_VALUE 1 rb->pg_vec 1-u64max
PARAM_VALUE 3 status 0
DATA_SOURCE 0 po $0
DATA_SOURCE 1 rb $1
DATA_SOURCE 3 status $2
FUZZY_MAX 0 po->tp_version 1
HARD_MAX 0 po->tp_version 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sk->sk_receive_queue.lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sk_buff_head)->lock