Lines Matching refs:hstate_kobjs
3529 static struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; variable
3538 if (hstate_kobjs[i] == kobj) { in kobj_to_hstate()
3841 struct kobject **hstate_kobjs, in hugetlb_sysfs_add_hstate() argument
3847 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()
3864 kobject_put(hstate_kobjs[hi]); in hugetlb_sysfs_add_hstate()
3865 hstate_kobjs[hi] = NULL; in hugetlb_sysfs_add_hstate()
3885 struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; member
3915 if (nhs->hstate_kobjs[i] == kobj) { in kobj_to_node_hstate()
3940 struct kobject *hstate_kobj = nhs->hstate_kobjs[idx]; in hugetlb_unregister_node()
3948 nhs->hstate_kobjs[idx] = NULL; in hugetlb_unregister_node()
3979 nhs->hstate_kobjs, in hugetlb_register_node()
4035 hstate_kobjs, &hstate_attr_group); in hugetlb_sysfs_init()