Searched refs:hstate_kobjs (Results 1 – 1 of 1) sorted by relevance
3249 static struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; variable3258 if (hstate_kobjs[i] == kobj) { in kobj_to_hstate()3456 struct kobject **hstate_kobjs, in hugetlb_sysfs_add_hstate() argument3462 hstate_kobjs[hi] = kobject_create_and_add(h->name, parent); in hugetlb_sysfs_add_hstate()3463 if (!hstate_kobjs[hi]) in hugetlb_sysfs_add_hstate()3466 retval = sysfs_create_group(hstate_kobjs[hi], hstate_attr_group); in hugetlb_sysfs_add_hstate()3468 kobject_put(hstate_kobjs[hi]); in hugetlb_sysfs_add_hstate()3469 hstate_kobjs[hi] = NULL; in hugetlb_sysfs_add_hstate()3486 hstate_kobjs, &hstate_attr_group); in hugetlb_sysfs_init()3503 struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; member[all …]