Searched refs:hstate_kobjs (Results 1 – 1 of 1) sorted by relevance
3529 static struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; variable3538 if (hstate_kobjs[i] == kobj) { in kobj_to_hstate()3841 struct kobject **hstate_kobjs, in hugetlb_sysfs_add_hstate() argument3847 hstate_kobjs[hi] = kobject_create_and_add(h->name, parent); in hugetlb_sysfs_add_hstate()3848 if (!hstate_kobjs[hi]) in hugetlb_sysfs_add_hstate()3851 retval = sysfs_create_group(hstate_kobjs[hi], hstate_attr_group); in hugetlb_sysfs_add_hstate()3853 kobject_put(hstate_kobjs[hi]); in hugetlb_sysfs_add_hstate()3854 hstate_kobjs[hi] = NULL; in hugetlb_sysfs_add_hstate()3859 retval = sysfs_create_group(hstate_kobjs[hi], in hugetlb_sysfs_add_hstate()3863 sysfs_remove_group(hstate_kobjs[hi], hstate_attr_group); in hugetlb_sysfs_add_hstate()[all …]