Searched refs:rnbd_devs_kobj (Results 1 – 2 of 2) sorted by relevance
25 static struct kobject *rnbd_devs_kobj; variable48 rnbd_devs_kobj, "%pg", bdev); in rnbd_srv_create_dev_sysfs()228 rnbd_devs_kobj = kobject_create_and_add("devices", &rnbd_dev->kobj); in rnbd_srv_create_sysfs_files()229 if (!rnbd_devs_kobj) { in rnbd_srv_create_sysfs_files()246 kobject_del(rnbd_devs_kobj); in rnbd_srv_destroy_sysfs_files()247 kobject_put(rnbd_devs_kobj); in rnbd_srv_destroy_sysfs_files()
30 static struct kobject *rnbd_devs_kobj; variable469 sysfs_remove_link(rnbd_devs_kobj, dev->blk_symlink_name); in rnbd_clt_remove_dev_symlink()546 ret = sysfs_create_link(rnbd_devs_kobj, gd_kobj, in rnbd_clt_add_dev_symlink()662 rnbd_devs_kobj = kobject_create_and_add("devices", &rnbd_dev->kobj); in rnbd_clt_create_sysfs_files()663 if (!rnbd_devs_kobj) { in rnbd_clt_create_sysfs_files()681 kobject_del(rnbd_devs_kobj); in rnbd_clt_destroy_sysfs_files()682 kobject_put(rnbd_devs_kobj); in rnbd_clt_destroy_sysfs_files()