Searched refs:tab_attr (Results 1 – 1 of 1) sorted by relevance
287 struct port_table_attribute *tab_attr = in show_port_gid() local292 ret = ib_query_gid(p->ibdev, p->port_num, tab_attr->index, &gid); in show_port_gid()302 struct port_table_attribute *tab_attr = in show_port_pkey() local307 ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); in show_port_pkey()323 struct port_table_attribute *tab_attr = in show_pma_counter() local325 int offset = tab_attr->index & 0xffff; in show_pma_counter()326 int width = (tab_attr->index >> 16) & 0xff; in show_pma_counter()478 struct attribute **tab_attr; in alloc_group_attrs() local482 tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); in alloc_group_attrs()483 if (!tab_attr) in alloc_group_attrs()[all …]