Home
last modified time | relevance | path

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

/drivers/block/rnbd/
Drnbd-clt-sysfs.c486 struct kobject *gd_kobj = &disk_to_dev(dev->gd)->kobj; in rnbd_clt_add_dev_kobj() local
488 ret = kobject_init_and_add(&dev->kobj, &rnbd_dev_ktype, gd_kobj, "%s", in rnbd_clt_add_dev_kobj()
495 kobject_uevent(gd_kobj, KOBJ_ONLINE); in rnbd_clt_add_dev_kobj()
528 struct kobject *gd_kobj = &disk_to_dev(dev->gd)->kobj; in rnbd_clt_add_dev_symlink() local
546 ret = sysfs_create_link(rnbd_devs_kobj, gd_kobj, in rnbd_clt_add_dev_symlink()
Drnbd-clt.c88 struct kobject *gd_kobj; in process_msg_open_rsp() local
102 gd_kobj = &disk_to_dev(dev->gd)->kobj; in process_msg_open_rsp()
103 kobject_uevent(gd_kobj, KOBJ_ONLINE); in process_msg_open_rsp()
633 struct kobject *gd_kobj; in set_dev_states_to_disconnected() local
642 gd_kobj = &disk_to_dev(dev->gd)->kobj; in set_dev_states_to_disconnected()
643 kobject_uevent(gd_kobj, KOBJ_OFFLINE); in set_dev_states_to_disconnected()