Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_add_mc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_add_mc | 3518355671144546304 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 0 |
| PARAM_VALUE | 3 | addr | 1012441480744280064 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_add_mc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->map_nolock->async | 0 |
| PARAM_VALUE | 0 | priv->map_nolock->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_add_mc | 3518355671144546304 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 1 |
| PARAM_VALUE | 3 | addr | 1012441480744280064 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_add_uc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_add_uc | 4836847032024363008 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 1 |
| PARAM_VALUE | 3 | addr | 2340237235761991680 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_del_mc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_del_mc | 6310078877987467264 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 0 |
| PARAM_VALUE | 3 | addr | 8577734142668406784 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_del_mc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->map_nolock->async | 0 |
| PARAM_VALUE | 0 | priv->map_nolock->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_del_mc | 6310078877987467264 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 1 |
| PARAM_VALUE | 3 | addr | 8577734142668406784 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_del_uc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_del_uc | 8354196444402233344 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 1 |
| PARAM_VALUE | 3 | addr | 4272036652442009600 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| LOCK2 | 0 | &priv->l2_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_l2.c rtl8365mb_l2_get_next_uc() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->l2_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->l2_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->l2_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->l2_get_next_uc | 3008495907038097408 |
| PARAM_VALUE | 1 | table | 4 |
| PARAM_VALUE | 2 | op | 0 |
| PARAM_VALUE | 3 | addr | 3582038195181588480 |
| PARAM_VALUE | 4 | method | 7 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 6 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 12 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | addr | $1 |
| DATA_SOURCE | 5 | port | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &priv->l2_lock | |
| TYPE_LOCK | (struct realtek_priv)->l2_lock |
drivers/net/dsa/realtek/rtl8365mb_vlan.c rtl8365mb_vlan_4k_read() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | table | 3 |
| PARAM_VALUE | 2 | op | 0 |
| PARAM_VALUE | 3 | *addr | 1-4095 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 8493189819924836352 |
| PARAM_VALUE | 7 | size | 3 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 6 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *addr | 1-4095[c] |
| UNITS | 0 | priv | unit_byte |
| UNITS | 7 | size | unit_array_size |
| USER_PTR | 3 | addr | |
| LOCK2 | &priv->vlan_lock | ||
| HALF_LOCKED2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct realtek_priv)->vlan_lock |
drivers/net/dsa/realtek/rtl8365mb_vlan.c rtl8365mb_vlan_4k_write() -> rtl8365mb_table_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->map_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->map_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->map_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->map_nolock->async | 0-1 |
| PARAM_VALUE | 0 | priv->map_nolock->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | priv->map_nolock->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | table | 3 |
| PARAM_VALUE | 2 | op | 1 |
| PARAM_VALUE | 3 | addr | 3173667634499981312 |
| PARAM_VALUE | 3 | *addr | 0 |
| PARAM_VALUE | 4 | method | 0 |
| PARAM_VALUE | 5 | port | 0 |
| PARAM_VALUE | 6 | data | 4096-ptr_max |
| PARAM_VALUE | 7 | size | 3 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | data | 6 |
| DATA_SOURCE | 0 | priv | $0 |
| NOSPEC | 3 | *addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *addr | 0[c] |
| UNITS | 0 | priv | unit_byte |
| UNITS | 7 | size | unit_array_size |
| USER_PTR | 3 | addr | |
| LOCK2 | &priv->vlan_lock | ||
| HALF_LOCKED2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct realtek_priv)->vlan_lock |