Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/infiniband/core/verbs.c ib_resolve_eth_dmac() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 0 naddr 0-255
BUF_SIZE 1 buf 6
RX_PATH
NOCHECK_CALL

drivers/net/amt.c amt_build_igmp_gq() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 0 naddr 3758096385
PARAM_VALUE 1 buf 0-u32max
BUF_SIZE 1 buf 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read

drivers/net/amt.c amt_membership_query_handler() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 0-u32max
BUF_SIZE 1 buf 6
NOCHECK_CALL
UNITS 0 naddr unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/amt.c amt_multicast_data_handler() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 0-u32max
BUF_SIZE 1 buf 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 naddr unit_byte
LOCK2 rcu_read

drivers/net/amt.c amt_update_handler() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 0-u32max
BUF_SIZE 1 buf 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 naddr unit_byte
LOCK2 rcu_read

net/bridge/br_switchdev.c br_switchdev_mdb_populate() -> ip_eth_mc_map()

Type Parameter Key Value
BUF_SIZE 1 buf 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 naddr 0-u32max
UNITS 0 naddr unit_byte
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 bh

net/batman-adv/multicast.c batadv_mcast_mla_br_addr_cpy() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 5670848647844134912
BUF_SIZE 1 buf 6
BUF_SIZE 1 buf 6
DATA_SOURCE 1 buf $0
NOCHECK_CALL
UNITS 0 naddr unit_byte
HALF_LOCKED2 &pool->lock

net/batman-adv/multicast.c batadv_mcast_mla_meshif_get_ipv4() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 5722946788439031808
BUF_SIZE 1 buf 6
NOCHECK_CALL
UNITS 0 naddr unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

net/ipv4/arp.c arp_mc_map() -> ip_eth_mc_map()

Type Parameter Key Value
BUF_SIZE 1 buf 32
BUF_SIZE 1 buf 32
DATA_SOURCE 0 naddr $0
DATA_SOURCE 1 buf $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 naddr 0-u32max
UNITS 0 naddr unit_byte

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_ethtool_add_mac_rule_by_ipv4() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 8884080650546552832
BUF_SIZE 1 buf 6
DATA_SOURCE 0 naddr $4
NOCHECK_CALL
USER_DATA 0 naddr 0-u32max
UNITS 0 naddr unit_byte

net/bridge/br_multicast.c br_ip4_multicast_alloc_query() -> ip_eth_mc_map()

Type Parameter Key Value
PARAM_VALUE 1 buf 0-u32max
BUF_SIZE 1 buf 6
DATA_SOURCE 0 naddr $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 naddr unit_byte
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 &brmctx->br->multicast_lock
TYPE_LOCK (struct net_bridge)->multicast_lock