Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c64 struct port_table_attribute { struct
287 struct port_table_attribute *tab_attr = in show_port_gid()
288 container_of(attr, struct port_table_attribute, attr); in show_port_gid()
302 struct port_table_attribute *tab_attr = in show_port_pkey()
303 container_of(attr, struct port_table_attribute, attr); in show_port_pkey()
315 struct port_table_attribute port_pma_attr_##_name = { \
323 struct port_table_attribute *tab_attr = in show_pma_counter()
324 container_of(attr, struct port_table_attribute, attr); in show_pma_counter()
466 struct port_table_attribute *element; in alloc_group_attrs()
474 element = kzalloc(sizeof(struct port_table_attribute), in alloc_group_attrs()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dsysfs.c436 struct port_table_attribute { struct
445 struct port_table_attribute *tab_attr = in show_port_pkey() argument
446 container_of(attr, struct port_table_attribute, attr); in show_port_pkey()
462 struct port_table_attribute *tab_attr = in store_port_pkey()
463 container_of(attr, struct port_table_attribute, attr); in store_port_pkey()
505 struct port_table_attribute *element; in alloc_group_attrs()
513 element = kzalloc(sizeof (struct port_table_attribute), in alloc_group_attrs()