Searched refs:hugepage_kobj (Results 1 – 1 of 1) sorted by relevance
472 static void hugepage_exit_sysfs(struct kobject *hugepage_kobj);743 static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) in hugepage_init_sysfs() argument758 *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); in hugepage_init_sysfs()759 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs()764 err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()770 err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); in hugepage_init_sysfs()779 thpsize = thpsize_create(order, *hugepage_kobj); in hugepage_init_sysfs()792 hugepage_exit_sysfs(*hugepage_kobj); in hugepage_init_sysfs()795 sysfs_remove_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()797 kobject_put(*hugepage_kobj); in hugepage_init_sysfs()[all …]