Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/packet/af_packet.c packet_increment_rx_head() -> packet_increment_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buff | 4096-ptr_max |
| DATA_SOURCE | 0 | buff | $1 |
| 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 tpacket_snd() -> packet_increment_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buff | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &po->pg_vec_lock | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct packet_sock)->pg_vec_lock |
net/packet/af_packet.c tpacket_snd() -> packet_increment_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buff | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &po->pg_vec_lock | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct packet_sock)->pg_vec_lock |