port_gid_table 260 drivers/infiniband/hw/mlx4/main.c struct mlx4_port_gid_table *port_gid_table; port_gid_table 276 drivers/infiniband/hw/mlx4/main.c port_gid_table = &iboe->gids[attr->port_num - 1]; port_gid_table 279 drivers/infiniband/hw/mlx4/main.c if (!memcmp(&port_gid_table->gids[i].gid, port_gid_table 281 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[i].gid_type == attr->gid_type) { port_gid_table 285 drivers/infiniband/hw/mlx4/main.c if (free < 0 && rdma_is_zero_gid(&port_gid_table->gids[i].gid)) port_gid_table 293 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[free].ctx = kmalloc(sizeof(*port_gid_table->gids[free].ctx), GFP_ATOMIC); port_gid_table 294 drivers/infiniband/hw/mlx4/main.c if (!port_gid_table->gids[free].ctx) { port_gid_table 297 drivers/infiniband/hw/mlx4/main.c *context = port_gid_table->gids[free].ctx; port_gid_table 298 drivers/infiniband/hw/mlx4/main.c memcpy(&port_gid_table->gids[free].gid, port_gid_table 300 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[free].gid_type = attr->gid_type; port_gid_table 301 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[free].ctx->real_index = free; port_gid_table 302 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[free].ctx->refcount = 1; port_gid_table 307 drivers/infiniband/hw/mlx4/main.c struct gid_cache_context *ctx = port_gid_table->gids[found].ctx; port_gid_table 317 drivers/infiniband/hw/mlx4/main.c free_gid_entry(&port_gid_table->gids[free]); port_gid_table 320 drivers/infiniband/hw/mlx4/main.c memcpy(&gids[i].gid, &port_gid_table->gids[i].gid, sizeof(union ib_gid)); port_gid_table 321 drivers/infiniband/hw/mlx4/main.c gids[i].gid_type = port_gid_table->gids[i].gid_type; port_gid_table 332 drivers/infiniband/hw/mlx4/main.c free_gid_entry(&port_gid_table->gids[free]); port_gid_table 346 drivers/infiniband/hw/mlx4/main.c struct mlx4_port_gid_table *port_gid_table; port_gid_table 357 drivers/infiniband/hw/mlx4/main.c port_gid_table = &iboe->gids[attr->port_num - 1]; port_gid_table 364 drivers/infiniband/hw/mlx4/main.c free_gid_entry(&port_gid_table->gids[real_index]); port_gid_table 378 drivers/infiniband/hw/mlx4/main.c &port_gid_table->gids[i].gid, port_gid_table 381 drivers/infiniband/hw/mlx4/main.c port_gid_table->gids[i].gid_type; port_gid_table 399 drivers/infiniband/hw/mlx4/main.c struct mlx4_port_gid_table *port_gid_table; port_gid_table 415 drivers/infiniband/hw/mlx4/main.c port_gid_table = &iboe->gids[port_num - 1]; port_gid_table 418 drivers/infiniband/hw/mlx4/main.c if (!memcmp(&port_gid_table->gids[i].gid, port_gid_table 420 drivers/infiniband/hw/mlx4/main.c attr->gid_type == port_gid_table->gids[i].gid_type) { port_gid_table 421 drivers/infiniband/hw/mlx4/main.c ctx = port_gid_table->gids[i].ctx; port_gid_table 3017 drivers/infiniband/hw/mlx4/qp.c struct mlx4_port_gid_table *port_gid_table; port_gid_table 3020 drivers/infiniband/hw/mlx4/qp.c port_gid_table = &iboe->gids[port_num - 1]; port_gid_table 3022 drivers/infiniband/hw/mlx4/qp.c memcpy(gid, &port_gid_table->gids[index].gid, sizeof(*gid)); port_gid_table 3023 drivers/infiniband/hw/mlx4/qp.c *gid_type = port_gid_table->gids[index].gid_type;