Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dsysfs.c1463 if (fs_info->discard_kobj) { in btrfs_sysfs_remove_mounted()
1464 sysfs_remove_files(fs_info->discard_kobj, discard_attrs); in btrfs_sysfs_remove_mounted()
1465 kobject_del(fs_info->discard_kobj); in btrfs_sysfs_remove_mounted()
1466 kobject_put(fs_info->discard_kobj); in btrfs_sysfs_remove_mounted()
2043 fs_info->discard_kobj = kobject_create_and_add("discard", fsid_kobj); in btrfs_sysfs_add_mounted()
2044 if (!fs_info->discard_kobj) { in btrfs_sysfs_add_mounted()
2049 error = sysfs_create_files(fs_info->discard_kobj, discard_attrs); in btrfs_sysfs_add_mounted()
H A Dfs.h568 struct kobject *discard_kobj; member