Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_alloc_rule() -> vcap_rule_exists()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 1 id 0,100,200,300,400,500,1000000-1000004
CAPPED_DATA 1 id 1
DATA_SOURCE 0 vctrl $0
DATA_SOURCE 1 id $5
RX_PATH
TASK_NOT_RUNNING
LOCK2 &admin->vctrl->lock
TYPE_LOCK (struct vcap_control)->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_set_rule_id() -> vcap_rule_exists()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 1 id 1-4294967294
RX_PATH
TASK_NOT_RUNNING
LOCK2 &admin->vctrl->lock
TYPE_LOCK (struct vcap_control)->lock