Lines Matching refs:cookie
148 struct net_device *rdma_ndev, void *cookie) in is_eth_port_of_netdev_filter() argument
157 real_dev = rdma_vlan_dev_real_dev(cookie); in is_eth_port_of_netdev_filter()
159 real_dev = cookie; in is_eth_port_of_netdev_filter()
161 res = ((rdma_is_upper_dev_rcu(rdma_ndev, cookie) && in is_eth_port_of_netdev_filter()
172 struct net_device *rdma_ndev, void *cookie) in is_eth_port_inactive_slave_filter() argument
202 struct net_device *rdma_ndev, void *cookie) in is_ndev_for_default_gid_filter() argument
204 struct net_device *cookie_ndev = cookie; in is_ndev_for_default_gid_filter()
228 struct net_device *rdma_ndev, void *cookie) in pass_all_filter() argument
234 struct net_device *rdma_ndev, void *cookie) in upper_device_filter() argument
241 if (rdma_ndev == cookie) in upper_device_filter()
245 res = rdma_is_upper_dev_rcu(rdma_ndev, cookie); in upper_device_filter()
266 void *cookie) in is_upper_ndev_bond_master_filter() argument
268 struct net_device *cookie_ndev = cookie; in is_upper_ndev_bond_master_filter()
430 struct net_device *rdma_ndev, void *cookie) in add_netdev_ips() argument
432 _add_netdev_ips(ib_dev, port, cookie); in add_netdev_ips()
436 struct net_device *rdma_ndev, void *cookie) in del_netdev_ips() argument
438 ib_cache_gid_del_all_netdev_gids(ib_dev, port, cookie); in del_netdev_ips()
451 struct net_device *rdma_ndev, void *cookie) in del_default_gids() argument
453 struct net_device *cookie_ndev = cookie; in del_default_gids()
463 struct net_device *rdma_ndev, void *cookie) in add_default_gids() argument
465 struct net_device *event_ndev = cookie; in add_default_gids()
476 void *cookie) in enum_all_gids_of_dev_cb() argument
521 void *cookie) in callback_for_addr_gid_device_scan() argument
523 struct update_gid_event_work *parsed = cookie; in callback_for_addr_gid_device_scan()
552 void *cookie, in handle_netdev_upper() argument
557 struct net_device *ndev = cookie; in handle_netdev_upper()
585 struct net_device *rdma_ndev, void *cookie) in del_netdev_upper_ips() argument
587 handle_netdev_upper(ib_dev, port, cookie, _roce_del_all_netdev_gids); in del_netdev_upper_ips()
591 struct net_device *rdma_ndev, void *cookie) in add_netdev_upper_ips() argument
593 handle_netdev_upper(ib_dev, port, cookie, _add_netdev_ips); in add_netdev_upper_ips()
598 void *cookie) in del_netdev_default_ips_join() argument