Searched refs:root_device (Results 1 – 5 of 5) sorted by relevance
81 struct device *root_device; in vfio_ap_matrix_dev_create() local83 root_device = root_device_register(VFIO_AP_ROOT_NAME); in vfio_ap_matrix_dev_create()84 if (IS_ERR(root_device)) in vfio_ap_matrix_dev_create()85 return PTR_ERR(root_device); in vfio_ap_matrix_dev_create()109 matrix_dev->device.parent = root_device; in vfio_ap_matrix_dev_create()131 root_device_unregister(root_device); in vfio_ap_matrix_dev_create()137 struct device *root_device = matrix_dev->device.parent; in vfio_ap_matrix_dev_destroy() local142 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()
4062 struct root_device { struct4067 static inline struct root_device *to_root_device(struct device *d) in to_root_device() argument4069 return container_of(d, struct root_device, dev); in to_root_device()4101 struct root_device *root; in __root_device_register()4104 root = kzalloc(sizeof(struct root_device), GFP_KERNEL); in __root_device_register()4148 struct root_device *root = to_root_device(dev); in root_device_unregister()
477 extern int nfs_root_data(char **root_device, char **root_data); /*__init*/