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_release() -> packet_set_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->core.prot_inuse | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node.pprev | 0 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req_u | 7853359711930425344 |
| PARAM_VALUE | 2 | closing | 1 |
| PARAM_VALUE | 3 | tx_ring | 0 |
| CAPPED_DATA | 0 | sk | 1 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &inode->i_rwsem |
net/packet/af_packet.c packet_release() -> packet_set_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->core.prot_inuse | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->packet.sklist_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node.pprev | 0 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req_u | 7853359711930425344 |
| PARAM_VALUE | 1 | req_u->req.tp_block_nr | 0 |
| PARAM_VALUE | 2 | closing | 1 |
| PARAM_VALUE | 3 | tx_ring | 1 |
| CAPPED_DATA | 0 | sk | 1 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &inode->i_rwsem |
net/packet/af_packet.c packet_setsockopt() -> packet_set_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | req_u | 4001203688830705664 |
| PARAM_VALUE | 2 | closing | 0 |
| PARAM_VALUE | 3 | tx_ring | 0-1 |
| FUZZY_MAX | 3 | tx_ring | 1 |
| HARD_MAX | 3 | tx_ring | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | req_u->req.tp_block_nr | 0-u32max |
| USER_DATA | 1 | req_u->req.tp_block_size | 0-u32max |
| USER_DATA | 1 | req_u->req.tp_frame_nr | 0-u32max |
| USER_DATA | 1 | req_u->req.tp_frame_size | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_block_nr | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_block_size | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_feature_req_word | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_frame_nr | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_frame_size | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_retire_blk_tov | 0-u32max |
| USER_DATA | 1 | req_u->req3.tp_sizeof_priv | 0-u32max |
| USER_DATA | 3 | tx_ring | 0[c] |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &smc->clcsock_release_lock |