Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/netdevsim/fib.c nsim_fib4_rt_create() -> nsim_fib_rt_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->fail_route_offload | 0 |
| PARAM_VALUE | 1 | fib_rt | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | addr_len | 4 |
| PARAM_VALUE | 5 | family | 2 |
| BUF_SIZE | 2 | addr | 4 |
| DATA_SOURCE | 0 | data | $0 |
| NOCHECK_CALL | |||
| UNITS | 3 | addr_len | unit_byte |
| LOCK2 | &data->fib_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct nsim_fib_data)->fib_lock |
drivers/net/netdevsim/fib.c nsim_fib6_rt_create() -> nsim_fib_rt_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->fail_route_offload | 0 |
| PARAM_VALUE | 1 | fib_rt | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | addr_len | 16 |
| PARAM_VALUE | 5 | family | 10 |
| BUF_SIZE | 2 | addr | 16 |
| DATA_SOURCE | 0 | data | $0 |
| NOCHECK_CALL | |||
| UNITS | 3 | addr_len | unit_byte |
| LOCK2 | &data->fib_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct nsim_fib_data)->fib_lock |