Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot.c ocelot_add_vlan_unaware_pvid() -> ocelot_vlan_member_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 3 untagged 1
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 vid r ocelot_vlan_unaware_pvid
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot.c ocelot_port_setup_dsa_8021q_cpu() -> ocelot_vlan_member_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->fwd_domain_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 vid 4000-4095
PARAM_VALUE 3 untagged 1
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
CAPPED_DATA 0 &ocelot->fwd_domain_lock 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
FUZZY_MAX 2 vid 4095
HARD_MAX 2 vid 4095
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->fwd_domain_lock
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ocelot)->fwd_domain_lock

drivers/net/ethernet/mscc/ocelot.c ocelot_vlan_add() -> ocelot_vlan_member_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 vid 1-u16max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 vid $2
DATA_SOURCE 3 untagged $4
BIT_INFO 3 untagged 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 1-254[c]
USER_DATA 2 vid 1-4095
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size
UNITS 2 vid unit_array_size