Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
net/core/dst.c __metadata_dst_init() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ops | 3077849720082661376 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 136 |
| BUF_SIZE | 0 | dst | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/core/dst.c dst_alloc() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 1-u64max |
| PARAM_VALUE | 1 | ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ops->kmem_cachep | 4096-ptr_max |
| PARAM_VALUE | 1 | ops->kmem_cachep->object_size | 0-4294967295 |
| PARAM_VALUE | 2 | dev->netdev_ops->ndo_init | 0,4096-ptr_max |
| PARAM_VALUE | 3 | initial_obsolete | (-1)-0,2 |
| BUF_SIZE | 1 | ops | (-1),256 |
| BUF_SIZE | 1 | ops | (-1),256 |
| BUF_SIZE | 2 | dev->name_node | (-1),64 |
| BUF_SIZE | 2 | dev->name_node->name | (-1),16 |
| CAPPED_DATA | 1 | ops->kmem_cachep | 1 |
| DATA_SOURCE | 0 | dst | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 1 | ops | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| DATA_SOURCE | 3 | initial_obsolete | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| HARD_MAX | 3 | initial_obsolete | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | dev->group | |
| NO_OVERFLOW_SIMPLE | 2 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 2 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 2 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 2 | dev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | dev->tx_queue_len | |
| UNITS | 2 | dev | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/sched/sch_frag.c sch_fragment() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 3185522576437841920 |
| PARAM_VALUE | 0 | dst->__pad | 0 |
| PARAM_VALUE | 0 | dst->__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | dst->__use | 0 |
| PARAM_VALUE | 0 | dst->_metrics | 0 |
| PARAM_VALUE | 0 | dst->dev | 0 |
| PARAM_VALUE | 0 | dst->dev_rcu | 0 |
| PARAM_VALUE | 0 | dst->dev_tracker | 0 |
| PARAM_VALUE | 0 | dst->error | 0 |
| PARAM_VALUE | 0 | dst->expires | 0 |
| PARAM_VALUE | 0 | dst->flags | 0 |
| PARAM_VALUE | 0 | dst->header_len | 0 |
| PARAM_VALUE | 0 | dst->input | 0 |
| PARAM_VALUE | 0 | dst->lastuse | 0 |
| PARAM_VALUE | 0 | dst->lwtstate | 0 |
| PARAM_VALUE | 0 | dst->obsolete | 0 |
| PARAM_VALUE | 0 | dst->ops | 0 |
| PARAM_VALUE | 0 | dst->output | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached.next | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached.prev | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached_list | 0 |
| PARAM_VALUE | 0 | dst->tclassid | 0 |
| PARAM_VALUE | 0 | dst->trailer_len | 0 |
| PARAM_VALUE | 0 | dst->xfrm | 0 |
| PARAM_VALUE | 1 | ops | 4900867413184507904 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sched/sch_frag.c sch_fragment() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 3185522576437841920 |
| PARAM_VALUE | 1 | ops | 4900867413184507904 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 8 |
| MEM_ZERO | 0 | dst | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv6/ioam6_iptunnel.c ioam6_build_state() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | ops | 0 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/openvswitch/actions.c ovs_fragment() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 5963623647734284288 |
| PARAM_VALUE | 0 | dst->__pad | 0 |
| PARAM_VALUE | 0 | dst->__rcuref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | dst->__use | 0 |
| PARAM_VALUE | 0 | dst->_metrics | 0 |
| PARAM_VALUE | 0 | dst->dev | 0 |
| PARAM_VALUE | 0 | dst->dev_rcu | 0 |
| PARAM_VALUE | 0 | dst->dev_tracker | 0 |
| PARAM_VALUE | 0 | dst->error | 0 |
| PARAM_VALUE | 0 | dst->expires | 0 |
| PARAM_VALUE | 0 | dst->flags | 0 |
| PARAM_VALUE | 0 | dst->header_len | 0 |
| PARAM_VALUE | 0 | dst->input | 0 |
| PARAM_VALUE | 0 | dst->lastuse | 0 |
| PARAM_VALUE | 0 | dst->lwtstate | 0 |
| PARAM_VALUE | 0 | dst->obsolete | 0 |
| PARAM_VALUE | 0 | dst->ops | 0 |
| PARAM_VALUE | 0 | dst->output | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached.next | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached.prev | 0 |
| PARAM_VALUE | 0 | dst->rt_uncached_list | 0 |
| PARAM_VALUE | 0 | dst->tclassid | 0 |
| PARAM_VALUE | 0 | dst->trailer_len | 0 |
| PARAM_VALUE | 0 | dst->xfrm | 0 |
| PARAM_VALUE | 1 | ops | 5831814669593153536 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/openvswitch/actions.c ovs_fragment() -> dst_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 5963623647734284288 |
| PARAM_VALUE | 1 | ops | 5831814669593153536 |
| PARAM_VALUE | 2 | dev | 0 |
| PARAM_VALUE | 3 | initial_obsolete | 0 |
| PARAM_VALUE | 4 | flags | 8 |
| MEM_ZERO | 0 | dst | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |