Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/dsa/b53/b53_common.c, line 1265
- drivers/net/dsa/dsa_loop.c, line 114
- drivers/net/dsa/hirschmann/hellcreek.c
- drivers/net/dsa/mv88e6xxx/devlink.c
- net/dsa/devlink.c, line 261
Smatch caller information:
drivers/net/dsa/dsa_loop.c dsa_loop_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 1 |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/b53/b53_common.c b53_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 1 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->needs_standalone_vlan_filtering | 1 |
| PARAM_VALUE | 0 | ds->num_ports | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ds->vlan_filtering_is_global | 1 |
| PARAM_VALUE | 1 | resource_id | 1 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->needs_standalone_vlan_filtering | 1 |
| PARAM_VALUE | 0 | ds->num_ports | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ds->vlan_filtering_is_global | 1 |
| PARAM_VALUE | 1 | resource_id | 2 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/devlink.c mv88e6xxx_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 1 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/devlink.c mv88e6xxx_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 2 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/devlink.c mv88e6xxx_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 3 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/devlink.c mv88e6xxx_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 4 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/devlink.c mv88e6xxx_setup_devlink_resources() -> dsa_devlink_resource_occ_get_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | ds->devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ds->devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ds->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ds->user_mii_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | resource_id | 5 |
| PARAM_VALUE | 3 | occ_get_priv | 4096-ptr_max |
| BUF_SIZE | 3 | occ_get_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | occ_get_priv | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |