Lines Matching refs:device_data
5432 struct lpfc_device_data *device_data; in lpfc_slave_alloc() local
5448 device_data = __lpfc_get_device_data(phba, in lpfc_slave_alloc()
5453 if (!device_data) { in lpfc_slave_alloc()
5455 device_data = lpfc_create_device_data(phba, in lpfc_slave_alloc()
5459 if (!device_data) in lpfc_slave_alloc()
5462 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc()
5464 device_data->rport_data = rport->dd_data; in lpfc_slave_alloc()
5465 device_data->available = true; in lpfc_slave_alloc()
5467 sdev->hostdata = device_data; in lpfc_slave_alloc()
5558 struct lpfc_device_data *device_data = sdev->hostdata; in lpfc_slave_destroy() local
5561 if ((phba->cfg_fof) && (device_data)) { in lpfc_slave_destroy()
5563 device_data->available = false; in lpfc_slave_destroy()
5564 if (!device_data->oas_enabled) in lpfc_slave_destroy()
5565 lpfc_delete_device_data(phba, device_data); in lpfc_slave_destroy()