Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
H A Dhuge_memory.c333 static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) in hugepage_init_sysfs() argument
337 *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); in hugepage_init_sysfs()
338 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs()
343 err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
349 err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); in hugepage_init_sysfs()
358 sysfs_remove_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
360 kobject_put(*hugepage_kobj); in hugepage_init_sysfs()
364 static void __init hugepage_exit_sysfs(struct kobject *hugepage_kobj) in hugepage_exit_sysfs() argument
366 sysfs_remove_group(hugepage_kobj, &khugepaged_attr_group); in hugepage_exit_sysfs()
367 sysfs_remove_group(hugepage_kobj, in hugepage_exit_sysfs()
371 hugepage_init_sysfs(struct kobject **hugepage_kobj) hugepage_init_sysfs() argument
376 hugepage_exit_sysfs(struct kobject *hugepage_kobj) hugepage_exit_sysfs() argument
384 struct kobject *hugepage_kobj; hugepage_init() local
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhuge_memory.c409 static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) in hugepage_init_sysfs() argument
413 *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); in hugepage_init_sysfs()
414 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs()
419 err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
425 err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); in hugepage_init_sysfs()
434 sysfs_remove_group(*hugepage_kobj, &hugepage_attr_group); in hugepage_init_sysfs()
436 kobject_put(*hugepage_kobj); in hugepage_init_sysfs()
440 static void __init hugepage_exit_sysfs(struct kobject *hugepage_kobj) in hugepage_exit_sysfs() argument
442 sysfs_remove_group(hugepage_kobj, &khugepaged_attr_group); in hugepage_exit_sysfs()
443 sysfs_remove_group(hugepage_kobj, in hugepage_exit_sysfs()
447 hugepage_init_sysfs(struct kobject **hugepage_kobj) hugepage_init_sysfs() argument
452 hugepage_exit_sysfs(struct kobject *hugepage_kobj) hugepage_exit_sysfs() argument
460 struct kobject *hugepage_kobj; hugepage_init() local
[all...]

Completed in 4 milliseconds