Searched refs:gid_group (Results 1 – 2 of 2) sorted by relevance
368 struct attribute_group gid_group; member385 for (i = 0; (a = p->gid_group.attrs[i]); ++i) in mlx4_port_release()387 kfree(p->gid_group.attrs); in mlx4_port_release()671 p->gid_group.name = "gid_idx"; in add_port()672 p->gid_group.attrs = alloc_group_attrs(show_port_gid_idx, NULL, 1); in add_port()673 if (!p->gid_group.attrs) { in add_port()678 ret = sysfs_create_group(&p->kobj, &p->gid_group); in add_port()690 kfree(p->gid_group.attrs[0]); in add_port()691 kfree(p->gid_group.attrs); in add_port()752 sysfs_remove_group(p, &mport->gid_group); in register_one_pkey_tree()[all …]
60 struct attribute_group gid_group; member678 if (p->gid_group.attrs) { in ib_port_release()679 for (i = 0; (a = p->gid_group.attrs[i]); ++i) in ib_port_release()682 kfree(p->gid_group.attrs); in ib_port_release()1090 p->gid_group.name = "gids"; in add_port()1091 p->gid_group.attrs = alloc_group_attrs(show_port_gid, attr.gid_tbl_len); in add_port()1092 if (!p->gid_group.attrs) { in add_port()1097 ret = sysfs_create_group(&p->kobj, &p->gid_group); in add_port()1206 sysfs_remove_group(&p->kobj, &p->gid_group); in add_port()1210 kfree(p->gid_group.attrs[i]); in add_port()[all …]