Searched refs:hugepage_kobj (Results 1 – 1 of 1) sorted by relevance
348 static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) in hugepage_init_sysfs() argument352 *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); in hugepage_init_sysfs()353 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs()358 err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()364 err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); in hugepage_init_sysfs()373 sysfs_remove_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()375 kobject_put(*hugepage_kobj); in hugepage_init_sysfs()379 static void __init hugepage_exit_sysfs(struct kobject *hugepage_kobj) in hugepage_exit_sysfs() argument381 sysfs_remove_group(hugepage_kobj, &khugepaged_attr_group); in hugepage_exit_sysfs()382 sysfs_remove_group(hugepage_kobj, &hugepage_attr_group); in hugepage_exit_sysfs()[all …]