Home
last modified time | relevance | path

Searched refs:hugepage_kobj (Results 1 – 1 of 1) sorted by relevance

/mm/
Dhuge_memory.c571 static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) in hugepage_init_sysfs() argument
575 *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); in hugepage_init_sysfs()
576 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs()
581 err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
587 err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); in hugepage_init_sysfs()
596 sysfs_remove_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
598 kobject_put(*hugepage_kobj); in hugepage_init_sysfs()
602 static void __init hugepage_exit_sysfs(struct kobject *hugepage_kobj) in hugepage_exit_sysfs() argument
604 sysfs_remove_group(hugepage_kobj, &khugepaged_attr_group); in hugepage_exit_sysfs()
605 sysfs_remove_group(hugepage_kobj, &hugepage_attr_group); in hugepage_exit_sysfs()
[all …]