Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_add() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 4 aging 15
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6,14,32
BUF_SIZE 3 mac 6,14,32
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 2 port_mask $2
DATA_SOURCE 3 mac $1
DATA_SOURCE 4 aging $4
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_del() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 4 aging 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6,14,32
BUF_SIZE 3 mac 6,14,32
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 2 port_mask $2
DATA_SOURCE 3 mac $1
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_next() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_search_and_del() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 port_mask 0
PARAM_VALUE 4 aging 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6
BUF_SIZE 3 mac 6
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 3 mac $2
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
UNITS 1 vid unit_array_size
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_search_and_del() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 0 *priv->regmap->cache->data 0-4294967295
PARAM_VALUE 0 *priv->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 3 mac 4096-ptr_max
PARAM_VALUE 4 aging 1-255
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6
BUF_SIZE 3 mac 6
CAPPED_DATA 0 priv->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->wr_table->n_yes_ranges 1
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 3 mac $2
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
UNITS 1 vid unit_array_size
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_search_and_insert() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 port_mask 0
PARAM_VALUE 4 aging 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6
BUF_SIZE 3 mac 6
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 3 mac $2
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
UNITS 1 vid unit_array_size
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_search_and_insert() -> qca8k_fdb_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 0-1
PARAM_VALUE 0 *priv->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 3 mac 4096-ptr_max
PARAM_VALUE 4 aging 1-255
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 3 mac 6
BUF_SIZE 3 mac 6
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 vid $3
DATA_SOURCE 3 mac $2
FUZZY_MAX 1 vid 1
NOCHECK_CALL
UNITS 0 priv unit_byte
UNITS 1 vid unit_array_size
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex