Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_ptp.c ocelot_ipv4_ptp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 cookie 3-513
PARAM_VALUE 3 take_ts 1
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
BIT_INFO 2 cookie 0x0,0xffffffff
BIT_INFO 2 cookie 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_ptp.c ocelot_ipv4_ptp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next->next 4096-ptr_max
PARAM_VALUE 2 cookie 2-512
PARAM_VALUE 3 take_ts 0
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
BIT_INFO 2 cookie 0x0,0xffffffff
BIT_INFO 2 cookie 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_ptp.c ocelot_ipv6_ptp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next->next 4096-ptr_max
PARAM_VALUE 2 cookie 5-515
PARAM_VALUE 3 take_ts 1
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
BIT_INFO 2 cookie 0x0,0xffffffff
BIT_INFO 2 cookie 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_ptp.c ocelot_ipv6_ptp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next->next 4096-ptr_max
PARAM_VALUE 2 cookie 4-514
PARAM_VALUE 3 take_ts 0
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
BIT_INFO 2 cookie 0x0,0xffffffff
BIT_INFO 2 cookie 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_ptp.c ocelot_l2_ptp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 cookie 1-511
PARAM_VALUE 3 take_ts 1
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
BIT_INFO 2 cookie 0x0,0xffffffff
BIT_INFO 2 cookie 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_trap_add() -> ocelot_trap_add()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->mact_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 cookie 0-510
PARAM_VALUE 3 take_ts 0
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
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size