Searched refs:root_device (Results 1 – 5 of 5) sorted by relevance
76 struct device *root_device; in vfio_ap_matrix_dev_create() local78 root_device = root_device_register(VFIO_AP_ROOT_NAME); in vfio_ap_matrix_dev_create()79 if (IS_ERR(root_device)) in vfio_ap_matrix_dev_create()80 return PTR_ERR(root_device); in vfio_ap_matrix_dev_create()104 matrix_dev->device.parent = root_device; in vfio_ap_matrix_dev_create()126 root_device_unregister(root_device); in vfio_ap_matrix_dev_create()132 struct device *root_device = matrix_dev->device.parent; in vfio_ap_matrix_dev_destroy() local137 root_device_unregister(root_device); in vfio_ap_matrix_dev_destroy()
290 struct fw_device *root_device, *irm_device; in bm_work() local312 root_device = root_node->data; in bm_work()313 root_device_is_running = root_device && in bm_work()314 atomic_read(&root_device->state) == FW_DEVICE_RUNNING; in bm_work()315 root_device_is_cmc = root_device && root_device->cmc; in bm_work()448 } else if (root_device == NULL) { in bm_work()
302 int __init nfs_root_data(char **root_device, char **root_data) in nfs_root_data() argument313 *root_device = nfs_root_device; in nfs_root_data()
4186 struct root_device { struct4191 static inline struct root_device *to_root_device(struct device *d) in to_root_device() argument4193 return container_of(d, struct root_device, dev); in to_root_device()4225 struct root_device *root; in __root_device_register()4228 root = kzalloc(sizeof(struct root_device), GFP_KERNEL); in __root_device_register()4272 struct root_device *root = to_root_device(dev); in root_device_unregister()
506 extern int nfs_root_data(char **root_device, char **root_data); /*__init*/