Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswap_state.c921 struct kobject *swap_kobj; in swap_init_sysfs() local
923 swap_kobj = kobject_create_and_add("swap", mm_kobj); in swap_init_sysfs()
924 if (!swap_kobj) { in swap_init_sysfs()
928 err = sysfs_create_group(swap_kobj, &swap_attr_group); in swap_init_sysfs()
936 kobject_put(swap_kobj); in swap_init_sysfs()