Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/packet/af_packet.c packet_create() -> packet_cached_dev_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | po | 4096-ptr_max |
| NS_CAPABLE | 0 | 13 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | po->num | 0-u16max |
| HALF_LOCKED2 | global &bt_proto_lock |
net/packet/af_packet.c packet_do_bind() -> packet_cached_dev_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | po | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &po->bind_lock | |
| TYPE_LOCK | (struct packet_sock)->bind_lock |
net/packet/af_packet.c packet_notifier() -> packet_cached_dev_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | po | 4096-ptr_max |
| CAPPED_DATA | 0 | po->ifindex | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &po->bind_lock | |
| TYPE_LOCK | (struct packet_sock)->bind_lock |
net/packet/af_packet.c packet_release() -> packet_cached_dev_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | po | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &po->bind_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct packet_sock)->bind_lock |