Lines Matching refs:gid_group
370 struct attribute_group gid_group; member
387 for (i = 0; (a = p->gid_group.attrs[i]); ++i) in mlx4_port_release()
389 kfree(p->gid_group.attrs); in mlx4_port_release()
661 p->gid_group.name = "gid_idx"; in add_port()
662 p->gid_group.attrs = alloc_group_attrs(show_port_gid_idx, NULL, 1); in add_port()
663 if (!p->gid_group.attrs) { in add_port()
668 ret = sysfs_create_group(&p->kobj, &p->gid_group); in add_port()
680 kfree(p->gid_group.attrs[0]); in add_port()
681 kfree(p->gid_group.attrs); in add_port()
742 sysfs_remove_group(p, &mport->gid_group); in register_one_pkey_tree()
787 sysfs_remove_group(p, &port->gid_group); in unregister_pkey_tree()