Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/packet/af_packet.c tpacket_destruct_skb() -> __packet_set_status()
| 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.pending_refcnt | 4096-ptr_max |
| PARAM_VALUE | 0 | po->tx_ring.pg_vec | 1-u64max |
| PARAM_VALUE | 1 | frame | 0,2-u64max |
| PARAM_VALUE | 2 | status | s32min,0,536870912 |
| DATA_SOURCE | 1 | frame | r skb_zcopy_get_nouarg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &commonring->lock | ||
| HALF_LOCKED2 | &dlc->lock | ||
| HALF_LOCKED2 | &fq->q.lock | ||
| HALF_LOCKED2 | &priv->driver_lock | ||
| HALF_LOCKED2 | &qp->q.lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &rfcomm_dev_lock | ||
| HALF_LOCKED2 | global &rfcomm_ioctl_mutex | ||
| HALF_LOCKED2 | global &rfcomm_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/packet/af_packet.c tpacket_rcv() -> __packet_set_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | po | 4096-ptr_max |
| PARAM_VALUE | 0 | po->rx_ring.rx_owner_map | 4096-ptr_max |
| PARAM_VALUE | 0 | po->tp_version | 0-1 |
| PARAM_VALUE | 0 | po->vnet_hdr_sz | 0,10,12 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| DATA_SOURCE | 1 | frame | r packet_current_rx_frame |
| BIT_INFO | 2 | status | 0x1,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sk->sk_receive_queue.lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sk_buff_head)->lock |
net/packet/af_packet.c tpacket_snd() -> __packet_set_status()
| 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->tp_version | 0-2 |
| PARAM_VALUE | 0 | po->tx_ring.pg_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | po->vnet_hdr_sz | 0,10,12 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| CAPPED_DATA | 0 | &po->pg_vec_lock | 1 |
| DATA_SOURCE | 0 | po | $0 |
| DATA_SOURCE | 1 | frame | r packet_current_frame |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &po->pg_vec_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct packet_sock)->pg_vec_lock |
net/packet/af_packet.c tpacket_snd() -> __packet_set_status()
| 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_common.skc_refcnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | po->sk.sk_socket | 4096-ptr_max |
| PARAM_VALUE | 0 | po->skb_completion.done | 0 |
| PARAM_VALUE | 0 | po->tp_version | 0-2 |
| PARAM_VALUE | 0 | po->tx_ring.pg_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | po->vnet_hdr_sz | 0,10,12 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 2 |
| CAPPED_DATA | 0 | &po->pg_vec_lock | 1 |
| DATA_SOURCE | 0 | po | $0 |
| DATA_SOURCE | 1 | frame | r packet_current_frame |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &po->pg_vec_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct packet_sock)->pg_vec_lock |
net/packet/af_packet.c tpacket_snd() -> __packet_set_status()
| 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->tp_version | 0-2 |
| PARAM_VALUE | 0 | po->tx_ring.pg_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | po->vnet_hdr_sz | 0,10,12 |
| PARAM_VALUE | 1 | frame | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 1,4 |
| CAPPED_DATA | 0 | &po->pg_vec_lock | 1 |
| DATA_SOURCE | 0 | po | $0 |
| DATA_SOURCE | 1 | frame | r packet_current_frame |
| FUZZY_MAX | 2 | status | 4 |
| BIT_INFO | 2 | status | 0x0,0x5 |
| HARD_MAX | 2 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &po->pg_vec_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct packet_sock)->pg_vec_lock |