Searched refs:gid_group (Results 1 – 2 of 2) sorted by relevance
371 struct attribute_group gid_group; member388 for (i = 0; (a = p->gid_group.attrs[i]); ++i) in mlx4_port_release()390 kfree(p->gid_group.attrs); in mlx4_port_release()674 p->gid_group.name = "gid_idx"; in add_port()675 p->gid_group.attrs = alloc_group_attrs(show_port_gid_idx, NULL, 1); in add_port()676 if (!p->gid_group.attrs) { in add_port()681 ret = sysfs_create_group(&p->kobj, &p->gid_group); in add_port()693 kfree(p->gid_group.attrs[0]); in add_port()694 kfree(p->gid_group.attrs); in add_port()755 sysfs_remove_group(p, &mport->gid_group); in register_one_pkey_tree()[all …]
62 struct attribute_group gid_group; member673 if (p->gid_group.attrs) { in ib_port_release()674 for (i = 0; (a = p->gid_group.attrs[i]); ++i) in ib_port_release()677 kfree(p->gid_group.attrs); in ib_port_release()1077 p->gid_group.name = "gids"; in add_port()1078 p->gid_group.attrs = alloc_group_attrs(show_port_gid, attr.gid_tbl_len); in add_port()1079 if (!p->gid_group.attrs) { in add_port()1084 ret = sysfs_create_group(&p->kobj, &p->gid_group); in add_port()1177 sysfs_remove_group(&p->kobj, &p->gid_group); in add_port()1181 kfree(p->gid_group.attrs[i]); in add_port()[all …]