Lines Matching refs:ge
1272 struct mlx4_ib_gid_entry *ge; in add_gid_entry() local
1274 ge = kzalloc(sizeof *ge, GFP_KERNEL); in add_gid_entry()
1275 if (!ge) in add_gid_entry()
1278 ge->gid = *gid; in add_gid_entry()
1280 ge->port = mqp->port; in add_gid_entry()
1281 ge->added = 1; in add_gid_entry()
1285 list_add_tail(&ge->list, &mqp->gid_list); in add_gid_entry()
1904 struct mlx4_ib_gid_entry *ge; in find_gid_entry() local
1908 list_for_each_entry_safe(ge, tmp, &qp->gid_list, list) { in find_gid_entry()
1909 if (!memcmp(raw, ge->gid.raw, 16)) { in find_gid_entry()
1910 ret = ge; in find_gid_entry()
1925 struct mlx4_ib_gid_entry *ge; in mlx4_ib_mcg_detach() local
1962 ge = find_gid_entry(mqp, gid->raw); in mlx4_ib_mcg_detach()
1963 if (ge) { in mlx4_ib_mcg_detach()
1965 ndev = ge->added ? mdev->iboe.netdevs[ge->port - 1] : NULL; in mlx4_ib_mcg_detach()
1971 list_del(&ge->list); in mlx4_ib_mcg_detach()
1972 kfree(ge); in mlx4_ib_mcg_detach()