tab_attr          383 drivers/infiniband/core/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          388 drivers/infiniband/core/sysfs.c 	gid_attr = rdma_get_gid_attr(p->ibdev, p->port_num, tab_attr->index);
tab_attr          400 drivers/infiniband/core/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          405 drivers/infiniband/core/sysfs.c 	gid_attr = rdma_get_gid_attr(p->ibdev, p->port_num, tab_attr->index);
tab_attr          442 drivers/infiniband/core/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          447 drivers/infiniband/core/sysfs.c 	ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey);
tab_attr          521 drivers/infiniband/core/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          523 drivers/infiniband/core/sysfs.c 	int offset = tab_attr->index & 0xffff;
tab_attr          524 drivers/infiniband/core/sysfs.c 	int width  = (tab_attr->index >> 16) & 0xff;
tab_attr          528 drivers/infiniband/core/sysfs.c 	ret = get_perf_mad(p->ibdev, p->port_num, tab_attr->attr_id, &data,
tab_attr          736 drivers/infiniband/core/sysfs.c 	struct attribute **tab_attr;
tab_attr          740 drivers/infiniband/core/sysfs.c 	tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL);
tab_attr          741 drivers/infiniband/core/sysfs.c 	if (!tab_attr)
tab_attr          762 drivers/infiniband/core/sysfs.c 		tab_attr[i] = &element->attr.attr;
tab_attr          765 drivers/infiniband/core/sysfs.c 	return tab_attr;
tab_attr          769 drivers/infiniband/core/sysfs.c 		kfree(tab_attr[i]);
tab_attr          770 drivers/infiniband/core/sysfs.c 	kfree(tab_attr);
tab_attr          442 drivers/infiniband/hw/mlx4/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          446 drivers/infiniband/hw/mlx4/sysfs.c 	if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >=
tab_attr          452 drivers/infiniband/hw/mlx4/sysfs.c 			      [p->port_num - 1][tab_attr->index]);
tab_attr          459 drivers/infiniband/hw/mlx4/sysfs.c 	struct port_table_attribute *tab_attr =
tab_attr          476 drivers/infiniband/hw/mlx4/sysfs.c 				    [tab_attr->index] = idx;
tab_attr          478 drivers/infiniband/hw/mlx4/sysfs.c 			     tab_attr->index, idx);
tab_attr          501 drivers/infiniband/hw/mlx4/sysfs.c 	struct attribute **tab_attr;
tab_attr          505 drivers/infiniband/hw/mlx4/sysfs.c 	tab_attr = kcalloc(1 + len, sizeof (struct attribute *), GFP_KERNEL);
tab_attr          506 drivers/infiniband/hw/mlx4/sysfs.c 	if (!tab_attr)
tab_attr          529 drivers/infiniband/hw/mlx4/sysfs.c 		tab_attr[i] = &element->attr.attr;
tab_attr          531 drivers/infiniband/hw/mlx4/sysfs.c 	return tab_attr;
tab_attr          535 drivers/infiniband/hw/mlx4/sysfs.c 		kfree(tab_attr[i]);
tab_attr          536 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(tab_attr);