Lines Matching refs:hub_info

114 	struct uv_bios_hub_info *hub_info;  member
120 static ssize_t hub_name_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_name_show() argument
122 return sysfs_emit(buf, "%s\n", hub_info->name); in hub_name_show()
125 static ssize_t hub_location_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_location_show() argument
127 return sysfs_emit(buf, "%s\n", hub_info->location); in hub_location_show()
130 static ssize_t hub_partition_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_partition_show() argument
132 return sprintf(buf, "%d\n", hub_info->f.fields.this_part); in hub_partition_show()
135 static ssize_t hub_shared_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_shared_show() argument
137 return sprintf(buf, "%d\n", hub_info->f.fields.is_shared); in hub_shared_show()
139 static ssize_t hub_nasid_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_nasid_show() argument
141 int cnode = get_obj_to_cnode(hub_info->id); in hub_nasid_show()
145 static ssize_t hub_cnode_show(struct uv_bios_hub_info *hub_info, char *buf) in hub_cnode_show() argument
147 return sprintf(buf, "%d\n", get_obj_to_cnode(hub_info->id)); in hub_cnode_show()
152 ssize_t (*show)(struct uv_bios_hub_info *hub_info, char *buf);
153 ssize_t (*store)(struct uv_bios_hub_info *hub_info, const char *buf, size_t sz);
191 struct uv_bios_hub_info *bios_hub_info = hub->hub_info; in hub_type_show()
258 uv_hubs[i]->hub_info = &hub_buf[i]; in uv_hubs_init()
259 cache_obj_to_cnode(uv_hubs[i]->hub_info); in uv_hubs_init()