Defined in 1 files as a function:
Referenced in 10 files:
- drivers/net/ethernet/marvell/prestera/prestera_router.c, line 1058
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c, line 369
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c, line 236
- drivers/net/ethernet/rocker/rocker_ofdpa.c, line 1339
- include/net/neighbour.h
- include/trace/events/neigh.h, line 23
- net/ipv4/route.c, line 820
- net/ipv6/ndisc.c, line 1081
- net/ipv6/route.c, line 220
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_sp_span_dmac() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920,4470746977272516608 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 1-u64max |
| BUF_SIZE | 1 | pkey | 16 |
| BUF_SIZE | 1 | pkey | 16 |
| CAPPED_DATA | 2 | dev | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/neighbour.c __neigh_lookup() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->phash_buckets | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 5928197438728912896 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ip_ptr->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->crcount | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->gsquery | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->loaded | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->multiaddr | 0-4294967295 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->reporter | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->sfmode | 0-4294967295 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->timer.flags | 0-4294967295 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->tm_running | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->unsolicit_count | 0-255 |
| PARAM_VALUE | 2 | dev->ip_ptr->mc_list->users | s32min-s32max |
| PARAM_VALUE | 2 | dev->nd_net.net->ipv4.fib_main->tb_data->kv->key | 0-4294967295 |
| BUF_SIZE | 1 | pkey | 4 |
| BUF_SIZE | 1 | pkey | 4 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->ip_ptr | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | dev->group | |
| NO_OVERFLOW_SIMPLE | 2 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 2 | dev->proto_down | |
| 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 | &tbl->proxy_queue.lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port_ipv4_resolve() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 4 |
| CAPPED_DATA | 2 | dev | 1 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &rtnl_mutex |
net/sched/sch_teql.c __neigh_lookup_errno() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->header_ops | 1-u64max |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop_dead_neigh_replace() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 16 |
| UNITS | 2 | dev | unit_byte |
| LOCK2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop_neigh_init() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 4096-ptr_max |
| BUF_SIZE | 0 | tbl | (-1),1136 |
| BUF_SIZE | 0 | tbl | (-1),1136 |
| BUF_SIZE | 1 | pkey | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
| HALF_LOCKED2 | &mlxsw_sp->router->lock |
net/ipv4/arp.c __neigh_lookup() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->key_len | 0-u16max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 5928197438728912896 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ip_ptr->dev | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 4 |
| BUF_SIZE | 1 | pkey | 4 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->ip_ptr | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | dev->group | |
| NO_OVERFLOW_SIMPLE | 2 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 2 | dev->proto_down | |
| 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 | &tbl->proxy_queue.lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/arp.c __neigh_lookup_errno() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 1490166327278428160 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 4 |
| BUF_SIZE | 1 | pkey | 4 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->type | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| NS_CAPABLE | 0 | 12 | |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv6/route.c __neigh_lookup() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4470746977272516608 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ethtool_ops->create_rxfh_context | 0-s64max |
| PARAM_VALUE | 2 | dev->ethtool_ops->get_link_ext_state | 0-s64max |
| PARAM_VALUE | 2 | dev->ethtool_ops->get_mm_stats | 0-s64max |
| PARAM_VALUE | 2 | dev->ethtool_ops->modify_rxfh_context | 0-s64max |
| PARAM_VALUE | 2 | dev->ethtool_ops->remove_rxfh_context | 0-s64max |
| PARAM_VALUE | 2 | dev->ethtool_ops->rxfh_max_num_contexts | 0-4294967295 |
| PARAM_VALUE | 2 | dev->ethtool_ops->supported_coalesce_params | 0-4294967295 |
| PARAM_VALUE | 2 | dev->ip6_ptr->cnf.accept_redirects | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 2 | dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 2 | dev->ndisc_ops->fill_addr_option | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ndisc_ops->parse_options | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ndisc_ops->update | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 2 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| BUF_SIZE | 1 | pkey | 16 |
| BUF_SIZE | 1 | pkey | 16 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->ip6_ptr | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | &sk->sk_lock.slock |
net/ipv6/route.c ip6_neigh_lookup() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4470746977272516608 |
| BUF_SIZE | 1 | pkey | (-1),4,16 |
| BUF_SIZE | 1 | pkey | (-1),4,16 |
| DATA_SOURCE | 1 | pkey | $3 [m] |
| DATA_SOURCE | 2 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c mlx5e_ipsec_init_macs() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->dev_addr | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 0,4 |
| BUF_SIZE | 1 | pkey | 0,4 |
| CAPPED_DATA | 2 | dev | 1 |
| MEM_ZERO | 1 | pkey | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sa_entry->x->lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/marvell/prestera/prestera_router.c __prestera_k_arb_hw_state_upd() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 4 |
| UNITS | 2 | dev | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/ipv6/ndisc.c __neigh_lookup() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 2 | dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 2 | dev->ndisc_ops->fill_addr_option | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ndisc_ops->parse_options | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ndisc_ops->update | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 2 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| BUF_SIZE | 1 | pkey | 16 |
| BUF_SIZE | 1 | pkey | 16 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->ip6_ptr | 1 |
| CAPPED_DATA | 2 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| DATA_SOURCE | 1 | pkey | $1 |
| DATA_SOURCE | 2 | dev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/ipv6/ndisc.c ndisc_recv_na() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4470746977272516608 |
| PARAM_VALUE | 0 | tbl->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->nht | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | pkey | 4096-ptr_max |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ip6_ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->ip6_ptr->cnf.forwarding | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | pkey | 16 |
| CAPPED_DATA | 2 | dev | 1 |
| CAPPED_DATA | 2 | dev->ip6_ptr | 1 |
| CAPPED_DATA | 2 | dev->nd_net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | dev->group | |
| NO_OVERFLOW_SIMPLE | 2 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 2 | dev->proto_down | |
| 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 |
net/ipv4/route.c __ip_do_redirect() -> neigh_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 272374513716817920 |
| PARAM_VALUE | 1 | pkey | 2223433572429602816 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | pkey | 4 |
| CAPPED_DATA | 2 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dev | unit_byte |