rkobj 829 fs/btrfs/sysfs.c struct raid_kobject *rkobj; rkobj 843 fs/btrfs/sysfs.c rkobj = kzalloc(sizeof(*rkobj), GFP_NOFS); rkobj 844 fs/btrfs/sysfs.c if (!rkobj) { rkobj 851 fs/btrfs/sysfs.c rkobj->flags = cache->flags; rkobj 852 fs/btrfs/sysfs.c kobject_init(&rkobj->kobj, &btrfs_raid_ktype); rkobj 853 fs/btrfs/sysfs.c ret = kobject_add(&rkobj->kobj, &space_info->kobj, "%s", rkobj 854 fs/btrfs/sysfs.c btrfs_bg_type_to_raid_name(rkobj->flags)); rkobj 857 fs/btrfs/sysfs.c kobject_put(&rkobj->kobj); rkobj 863 fs/btrfs/sysfs.c space_info->block_group_kobjs[index] = &rkobj->kobj;