Lines Matching defs:hub_info
115 struct uv_bios_hub_info *hub_info;
121 static ssize_t hub_name_show(struct uv_bios_hub_info *hub_info, char *buf)
123 return sysfs_emit(buf, "%s\n", hub_info->name);
126 static ssize_t hub_location_show(struct uv_bios_hub_info *hub_info, char *buf)
128 return sysfs_emit(buf, "%s\n", hub_info->location);
131 static ssize_t hub_partition_show(struct uv_bios_hub_info *hub_info, char *buf)
133 return sysfs_emit(buf, "%d\n", hub_info->f.fields.this_part);
136 static ssize_t hub_shared_show(struct uv_bios_hub_info *hub_info, char *buf)
138 return sysfs_emit(buf, "%d\n", hub_info->f.fields.is_shared);
140 static ssize_t hub_nasid_show(struct uv_bios_hub_info *hub_info, char *buf)
142 int cnode = get_obj_to_cnode(hub_info->id);
146 static ssize_t hub_cnode_show(struct uv_bios_hub_info *hub_info, char *buf)
148 return sysfs_emit(buf, "%d\n", get_obj_to_cnode(hub_info->id));
153 ssize_t (*show)(struct uv_bios_hub_info *hub_info, char *buf);
154 ssize_t (*store)(struct uv_bios_hub_info *hub_info, const char *buf, size_t sz);
192 struct uv_bios_hub_info *bios_hub_info = hub->hub_info;
259 uv_hubs[i]->hub_info = &hub_buf[i];
260 cache_obj_to_cnode(uv_hubs[i]->hub_info);