Defined in 1 files as a prototype:
Defined in 2 files as a member:
- drivers/net/ethernet/chelsio/cxgb3/t3cdev.h, line 61 (as a member)
- drivers/net/ethernet/mellanox/mlx5/core/en_rep.h, line 112 (as a member)
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
-
drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c
- line 35
- line 36
- line 42
- line 42
- line 45
- line 46
- line 73
- line 77
- line 81
- line 99
- line 105
- line 207
- line 208
- line 208
- line 249
- line 260
- line 262
- line 264
- line 279
- line 279
- line 282
- line 286
- line 287
- line 288
- line 292
- line 293
- line 299
- line 300
- line 310
- line 310
- line 313
- line 316
- line 320
- line 322
- line 323
- line 332
- line 338
- line 347
- line 351
- line 354
- line 365
- line 365
- line 368
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
- include/trace/events/neigh.h, line 72
- net/core/neighbour.c
- net/core/net-traces.c, line 52
- net/ipv4/arp.c
- net/ipv6/ndisc.c, line 784
Smatch caller information:
net/core/neighbour.c neigh_event_ns() -> neigh_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | neigh | 1-ptr_max |
| PARAM_VALUE | 2 | new | 4 |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | nlmsg_pid | 0 |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 1 | lladdr | (-1),32 |
| BUF_SIZE | 1 | lladdr | (-1),32 |
| DATA_SOURCE | 0 | neigh | r __neigh_lookup |
| DATA_SOURCE | 1 | lladdr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tbl->proxy_queue.lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/arp.c arp_invalidate() -> neigh_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | neigh | 4096-ptr_max |
| PARAM_VALUE | 0 | neigh->refcnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | lladdr | 0 |
| PARAM_VALUE | 2 | new | 32 |
| PARAM_VALUE | 3 | flags | 129 |
| PARAM_VALUE | 4 | nlmsg_pid | 0 |
| CAPPED_DATA | 0 | neigh->dev | 1 |
| DATA_SOURCE | 0 | neigh | r neigh_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/arp.c arp_process() -> neigh_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | neigh | 1-ptr_max |
| PARAM_VALUE | 0 | neigh->parms | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 2,4 |
| PARAM_VALUE | 3 | flags | 0-1 |
| PARAM_VALUE | 4 | nlmsg_pid | 0 |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 1 | lladdr | (-1),32 |
| BUF_SIZE | 1 | lladdr | (-1),32 |
| FUZZY_MAX | 3 | flags | 1 |
| BIT_INFO | 2 | new | 0x0,0x6 |
| BIT_INFO | 3 | flags | 0x0,0x1 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tbl->proxy_queue.lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/arp.c arp_req_set() -> neigh_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | neigh | 0-ptr_max |
| PARAM_VALUE | 2 | new | 4,128 |
| PARAM_VALUE | 3 | flags | 129 |
| PARAM_VALUE | 4 | nlmsg_pid | 0 |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 1 | lladdr | 0,14 |
| DATA_SOURCE | 0 | neigh | r __neigh_lookup_errno |
| NS_CAPABLE | 0 | 12 | |
| BIT_INFO | 2 | new | 0x0,0x84 |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &smc->sk | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv6/ndisc.c ndisc_update() -> neigh_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | neigh | 1-ptr_max |
| PARAM_VALUE | 2 | new | 2,4 |
| PARAM_VALUE | 3 | flags | 3,6-7,70-71 |
| PARAM_VALUE | 4 | nlmsg_pid | 0 |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| BUF_SIZE | 0 | neigh | (-1)-s32max |
| DATA_SOURCE | 0 | neigh | $1 |
| DATA_SOURCE | 1 | lladdr | $2 |
| DATA_SOURCE | 2 | new | $3 |
| DATA_SOURCE | 3 | flags | $4 |
| FUZZY_MAX | 2 | new | 4 |
| BIT_INFO | 2 | new | 0x0,0x6 |
| BIT_INFO | 3 | flags | 0x2,0x7f |
| HARD_MAX | 2 | new | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |