Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 30 files:
- drivers/block/aoe/aoenet.c, line 212
- drivers/net/ethernet/amd/xgbe/xgbe-selftest.c, line 128
- drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c, line 228
- drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
- drivers/net/ppp/pppoe.c
- drivers/net/wan/hdlc.c, line 368
- drivers/net/wan/lapbether.c, line 502
- drivers/scsi/bnx2fc/bnx2fc_fcoe.c
- drivers/scsi/fcoe/fcoe.c
- net/802/mrp.c, line 944
- net/batman-adv/hard-interface.c, line 787
- net/can/af_can.c
- net/core/dev.c, line 635
- net/core/selftests.c, line 252
- net/dsa/dsa.c, line 1878
- net/ieee802154/6lowpan/rx.c, line 317
- net/ieee802154/socket.c, line 1131
- net/ipv4/af_inet.c, line 2001
- net/ipv4/arp.c, line 1518
- net/ipv4/ipconfig.c
- net/ipv6/af_inet6.c, line 869
- net/iucv/af_iucv.c, line 2334
- net/llc/llc_core.c, line 134
- net/mctp/route.c, line 1762
- net/mpls/af_mpls.c, line 2852
- net/ncsi/ncsi-manage.c, line 1803
- net/packet/af_packet.c
- net/phonet/af_phonet.c, line 513
- net/tipc/bearer.c
- net/x25/af_x25.c, line 1804
Smatch caller information:
net/mctp/route.c mctp_routes_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 2779110386753671168 |
| NOCHECK_CALL |
drivers/net/wan/lapbether.c lapbeth_init_driver() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 2747638365627142144 |
| NOCHECK_CALL |
net/dsa/dsa.c dsa_init_module() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 6174858246287192064 |
| NOCHECK_CALL |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 5342453301051449344 |
| PARAM_VALUE | 0 | pt->type | 35092 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 4738466780782895104 |
| PARAM_VALUE | 0 | pt->type | 1673 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c mlx5e_test_loopback_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 8785680913717850112 |
| PARAM_VALUE | 0 | pt->type | 2048 |
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_lock | ||
| TYPE_LOCK | (struct mlx5e_priv)->state_lock |
net/packet/af_packet.c __fanout_link() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pt->ignore_outgoing | 0-1[c] |
| LOCK2 | &f->lock | ||
| HALF_LOCKED2 | &po->bind_lock | ||
| HALF_LOCKED2 | global &fanout_mutex | ||
| TYPE_LOCK | (struct packet_fanout)->lock |
net/packet/af_packet.c __register_prot_hook() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &po->bind_lock |
drivers/block/aoe/aoenet.c aoenet_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 3906244941316493312 |
| NOCHECK_CALL |
net/tipc/bearer.c tipc_attach_loopback() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 4747091855905820672 |
| PARAM_VALUE | 0 | pt->type | 35018 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/tipc/bearer.c tipc_enable_l2_media() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 5460151729496109056 |
| PARAM_VALUE | 0 | pt->type | 35018 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/mpls/af_mpls.c mpls_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 7775369898454749184 |
| NOCHECK_CALL |
drivers/scsi/fcoe/fcoe.c fcoe_interface_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 8755819951259561984 |
| PARAM_VALUE | 0 | pt->type | 35078 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/fcoe/fcoe.c fcoe_interface_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 4181865773438210048 |
| PARAM_VALUE | 0 | pt->type | 35092 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/fcoe/fcoe.c fcoe_interface_setup() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 3874140930804412416 |
| PARAM_VALUE | 0 | pt->type | 35092 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
net/batman-adv/hard-interface.c batadv_hardif_enable_interface() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 85744453369499648 |
| PARAM_VALUE | 0 | pt->type | 17157 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/802/mrp.c mrp_register_application() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 83552181607993352 |
| PARAM_VALUE | 0 | pt->func | 5224911035394273280 |
| NOCHECK_CALL |
net/llc/llc_core.c llc_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 2028293778482098176 |
| NOCHECK_CALL |
drivers/net/wan/hdlc.c hdlc_module_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 6461692962579456000 |
| NOCHECK_CALL |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c __stmmac_test_dvlanfilt() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 7460396449781211136 |
| PARAM_VALUE | 0 | pt->type | 33024 |
| NOCHECK_CALL |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c __stmmac_test_loopback() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 5126413502027735040 |
| PARAM_VALUE | 0 | pt->type | 2048 |
| NOCHECK_CALL |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c __stmmac_test_vlanfilt() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 7460396449781211136 |
| PARAM_VALUE | 0 | pt->type | 2048 |
| NOCHECK_CALL |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_test_arpoffload() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 3986471799462191104 |
| PARAM_VALUE | 0 | pt->type | 2054 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_test_flowctrl() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 2104919729096335360 |
| PARAM_VALUE | 0 | pt->type | 34824 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_test_vlanoff_common() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 7460396449781211136 |
| PARAM_VALUE | 0 | pt->type | 2048,33024 |
| NOCHECK_CALL |
net/can/af_can.c can_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 1239862739720151040 |
| NOCHECK_CALL |
net/can/af_can.c can_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4381321378330099712 |
| NOCHECK_CALL |
net/can/af_can.c can_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 8781852759187943424 |
| NOCHECK_CALL |
net/phonet/af_phonet.c phonet_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 6664966831484174336 |
| NOCHECK_CALL |
net/core/selftests.c __net_test_loopback() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 8062568394326511616 |
| PARAM_VALUE | 0 | pt->type | 2048 |
| NOCHECK_CALL |
net/ipv4/af_inet.c inet_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 7914246269782286336 |
| NOCHECK_CALL |
drivers/net/ppp/pppoe.c pppoe_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 5232216309688815616 |
| NOCHECK_CALL |
drivers/net/ppp/pppoe.c pppoe_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 3299555674339389440 |
| NOCHECK_CALL |
net/ipv4/arp.c arp_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4297439326396424192 |
| NOCHECK_CALL |
net/ieee802154/socket.c af_ieee802154_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4281401151085404160 |
| NOCHECK_CALL |
net/ipv4/ipconfig.c ic_bootp_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 933976516756807680 |
| NOCHECK_CALL |
net/ipv4/ipconfig.c ic_rarp_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 1715283197208002560 |
| NOCHECK_CALL |
net/ncsi/ncsi-manage.c ncsi_register_dev() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 3348309833613213696 |
| PARAM_VALUE | 0 | pt->type | 35064 |
| NOCHECK_CALL |
net/ieee802154/6lowpan/rx.c lowpan_rx_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 6862440021845405696 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/af_inet6.c ipv6_packet_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 3526022620094095360 |
| NOCHECK_CALL |
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c __xgbe_test_loopback() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->af_packet_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pt->func | 5267447083339972608 |
| PARAM_VALUE | 0 | pt->type | 2048 |
| NOCHECK_CALL |
net/x25/af_x25.c x25_init() -> dev_add_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pt | 3640202623449399296 |
| NOCHECK_CALL |