Searched refs:root_device (Results 1 – 5 of 5) sorted by relevance
109 struct device *root_device; in vfio_ap_matrix_dev_create() local111 root_device = root_device_register(VFIO_AP_ROOT_NAME); in vfio_ap_matrix_dev_create()112 if (IS_ERR(root_device)) in vfio_ap_matrix_dev_create()113 return PTR_ERR(root_device); in vfio_ap_matrix_dev_create()136 matrix_dev->device.parent = root_device; in vfio_ap_matrix_dev_create()158 root_device_unregister(root_device); in vfio_ap_matrix_dev_create()164 struct device *root_device = matrix_dev->device.parent; in vfio_ap_matrix_dev_destroy() local169 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()432 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()
3483 struct root_device { struct3488 static inline struct root_device *to_root_device(struct device *d) in to_root_device() argument3490 return container_of(d, struct root_device, dev); in to_root_device()3522 struct root_device *root; in __root_device_register()3525 root = kzalloc(sizeof(struct root_device), GFP_KERNEL); in __root_device_register()3569 struct root_device *root = to_root_device(dev); in root_device_unregister()
447 extern int nfs_root_data(char **root_device, char **root_data); /*__init*/