Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/bonding/bond_main.c bond_check_params() -> bond_get_targets_ip()

Type Parameter Key Value
PARAM_VALUE 0 targets 4096-ptr_max
PARAM_VALUE 1 ip 1-4294967294
BUF_SIZE 0 targets 64

drivers/net/bonding/bond_main.c bond_validate_arp() -> bond_get_targets_ip()

Type Parameter Key Value
PARAM_VALUE 1 ip 1-u32max
BUF_SIZE 0 targets 64
DATA_SOURCE 1 ip $2
USER_DATA 1 ip 1-255

drivers/net/bonding/bond_options.c _bond_option_arp_ip_target_add() -> bond_get_targets_ip()

Type Parameter Key Value
PARAM_VALUE 1 ip 1-4294967294
BUF_SIZE 0 targets 64
BUF_SIZE 0 targets 64
DATA_SOURCE 1 ip $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/bonding/bond_options.c _bond_option_arp_ip_target_add() -> bond_get_targets_ip()

Type Parameter Key Value
PARAM_VALUE 0 targets 4096-ptr_max
PARAM_VALUE 1 ip 0
BUF_SIZE 0 targets 64
BUF_SIZE 0 targets 64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/bonding/bond_options.c bond_option_arp_ip_target_rem() -> bond_get_targets_ip()

Type Parameter Key Value
PARAM_VALUE 1 ip 1-4294967294
BUF_SIZE 0 targets 64
BUF_SIZE 0 targets 64
DATA_SOURCE 1 ip $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex