Home
last modified time | relevance | path

Searched refs:pkey_group (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c369 struct attribute_group pkey_group; member
384 for (i = 0; (a = p->pkey_group.attrs[i]); ++i) in mlx4_port_release()
386 kfree(p->pkey_group.attrs); in mlx4_port_release()
647 p->pkey_group.name = "pkey_idx"; in add_port()
648 p->pkey_group.attrs = in add_port()
652 if (!p->pkey_group.attrs) { in add_port()
657 ret = sysfs_create_group(&p->kobj, &p->pkey_group); in add_port()
685 kfree(p->pkey_group.attrs[i]); in add_port()
686 kfree(p->pkey_group.attrs); in add_port()
741 sysfs_remove_group(p, &mport->pkey_group); in register_one_pkey_tree()
[all …]