Searched refs:gd_kobj (Results 1 – 2 of 2) sorted by relevance
486 struct kobject *gd_kobj = &disk_to_dev(dev->gd)->kobj; in rnbd_clt_add_dev_kobj() local488 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() local546 ret = sysfs_create_link(rnbd_devs_kobj, gd_kobj, in rnbd_clt_add_dev_symlink()
88 struct kobject *gd_kobj; in process_msg_open_rsp() local102 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() local642 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()