Searched refs:addr_array (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 367 u8 addr_array[][ETH_ALEN], int size) in mlx5e_fill_addr_array() 380 ether_addr_copy(addr_array[i++], ndev->dev_addr); in mlx5e_fill_addr_array() 382 ether_addr_copy(addr_array[i++], ndev->broadcast); in mlx5e_fill_addr_array() 389 ether_addr_copy(addr_array[i++], hn->ai.addr); in mlx5e_fill_addr_array() 398 u8 (*addr_array)[ETH_ALEN] = NULL; in mlx5e_vport_context_update_addr_list() local 423 addr_array = kcalloc(size, ETH_ALEN, GFP_KERNEL); in mlx5e_vport_context_update_addr_list() 424 if (!addr_array) { in mlx5e_vport_context_update_addr_list() 428 mlx5e_fill_addr_array(priv, list_type, addr_array, size); in mlx5e_vport_context_update_addr_list() 431 err = mlx5_modify_nic_vport_mac_list(priv->mdev, list_type, addr_array, size); in mlx5e_vport_context_update_addr_list() 437 kfree(addr_array); in mlx5e_vport_context_update_addr_list()
|
/drivers/scsi/ |
D | mvumi.c | 90 static void mvumi_unmap_pci_addr(struct pci_dev *dev, void **addr_array) in mvumi_unmap_pci_addr() argument 96 addr_array[i]) in mvumi_unmap_pci_addr() 97 pci_iounmap(dev, addr_array[i]); in mvumi_unmap_pci_addr() 100 static int mvumi_map_pci_addr(struct pci_dev *dev, void **addr_array) in mvumi_map_pci_addr() argument 106 addr_array[i] = pci_iomap(dev, i, 0); in mvumi_map_pci_addr() 107 if (!addr_array[i]) { in mvumi_map_pci_addr() 110 mvumi_unmap_pci_addr(dev, addr_array); in mvumi_map_pci_addr() 114 addr_array[i] = NULL; in mvumi_map_pci_addr() 116 dev_dbg(&dev->dev, "Bar %d : %p.\n", i, addr_array[i]); in mvumi_map_pci_addr()
|