Searched refs:uv_hubs (Results 1 – 1 of 1) sorted by relevance
27 static struct uv_hub **uv_hubs; variable245 uv_hubs = kcalloc(uv_bios_obj_cnt, sizeof(*uv_hubs), GFP_KERNEL); in uv_hubs_init()246 if (!uv_hubs) { in uv_hubs_init()252 uv_hubs[i] = kzalloc(sizeof(*uv_hubs[i]), GFP_KERNEL); in uv_hubs_init()253 if (!uv_hubs[i]) { in uv_hubs_init()259 uv_hubs[i]->hub_info = &hub_buf[i]; in uv_hubs_init()260 cache_obj_to_cnode(uv_hubs[i]->hub_info); in uv_hubs_init()262 uv_hubs[i]->kobj.kset = uv_hubs_kset; in uv_hubs_init()264 ret = kobject_init_and_add(&uv_hubs[i]->kobj, &hub_attr_type, in uv_hubs_init()268 kobject_uevent(&uv_hubs[i]->kobj, KOBJ_ADD); in uv_hubs_init()[all …]