Searched refs:swap_kobj (Results 1 – 1 of 1) sorted by relevance
921 struct kobject *swap_kobj; in swap_init_sysfs() local923 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()