Lines Matching full:domain
60 * of the domain states defined by the SCI_BASE_DOMAIN state
86 SCI_BASE_DOMAIN_T * domain in scif_sas_domain_starting_port_ready_handler() argument
90 sci_base_object_get_logger(domain), in scif_sas_domain_starting_port_ready_handler()
93 domain in scif_sas_domain_starting_port_ready_handler()
96 // The domain was previously completely stopped. Now that the port is in scif_sas_domain_starting_port_ready_handler()
97 // ready we can transition the domain to the ready state. in scif_sas_domain_starting_port_ready_handler()
99 &domain->state_machine, SCI_BASE_DOMAIN_STATE_READY in scif_sas_domain_starting_port_ready_handler()
111 * when a user attempts to discover a domain.
113 * @param[in] domain This parameter specifies the domain object
124 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_discover_handler() argument
129 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *)domain; in scif_sas_domain_ready_discover_handler()
132 sci_base_object_get_logger(domain), in scif_sas_domain_ready_discover_handler()
135 domain, op_timeout, device_timeout in scif_sas_domain_ready_discover_handler()
157 * @param[in] domain This parameter specifies the domain object
164 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_port_not_ready_handler() argument
169 sci_base_object_get_logger(domain), in scif_sas_domain_ready_port_not_ready_handler()
172 domain, in scif_sas_domain_ready_port_not_ready_handler()
181 &domain->state_machine, SCI_BASE_DOMAIN_STATE_STOPPING in scif_sas_domain_ready_port_not_ready_handler()
192 * @param[in] domain This parameter specifies the domain object
208 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_start_io_handler() argument
213 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_sas_domain_ready_start_io_handler()
220 sci_base_object_get_logger(domain), in scif_sas_domain_ready_start_io_handler()
223 domain, remote_device, io_request in scif_sas_domain_ready_start_io_handler()
232 // Add the IO to the list of outstanding requests on the domain. in scif_sas_domain_ready_start_io_handler()
245 * @param[in] domain This parameter specifies the domain object
261 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_complete_io_handler() argument
271 sci_base_object_get_logger(domain), in scif_sas_domain_ready_complete_io_handler()
274 domain, remote_device, io_request in scif_sas_domain_ready_complete_io_handler()
277 // Remove the IO from the list of outstanding requests on the domain. in scif_sas_domain_ready_complete_io_handler()
289 * @param[in] domain This parameter specifies the domain object
305 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_continue_io_handler() argument
311 sci_base_object_get_logger(domain), in scif_sas_domain_ready_continue_io_handler()
314 domain, remote_device, io_request in scif_sas_domain_ready_continue_io_handler()
325 * @param[in] domain This parameter specifies the domain object
341 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_start_task_handler() argument
346 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_sas_domain_ready_start_task_handler()
353 sci_base_object_get_logger(domain), in scif_sas_domain_ready_start_task_handler()
356 domain, remote_device, task_request in scif_sas_domain_ready_start_task_handler()
365 // Add the task to the list of outstanding requests on the domain. in scif_sas_domain_ready_start_task_handler()
378 * @param[in] domain This parameter specifies the domain object
394 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_complete_task_handler() argument
404 sci_base_object_get_logger(domain), in scif_sas_domain_ready_complete_task_handler()
407 domain, remote_device, task_request in scif_sas_domain_ready_complete_task_handler()
410 // Remove the IO from the list of outstanding requests on the domain. in scif_sas_domain_ready_complete_task_handler()
423 * @param[in] domain This parameter specifies the domain object
439 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_start_high_priority_io_handler() argument
444 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_sas_domain_ready_start_high_priority_io_handler()
451 sci_base_object_get_logger(domain), in scif_sas_domain_ready_start_high_priority_io_handler()
454 domain, remote_device, io_request in scif_sas_domain_ready_start_high_priority_io_handler()
463 // Add the IO to the list of outstanding requests on the domain. in scif_sas_domain_ready_start_high_priority_io_handler()
465 // When domain is in READY state, this high priority io is likely in scif_sas_domain_ready_start_high_priority_io_handler()
468 // IO's probably has already been added to the domain's list as a in scif_sas_domain_ready_start_high_priority_io_handler()
488 * @param[in] domain This parameter specifies the domain object
505 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_complete_high_priority_io_handler() argument
519 sci_base_object_get_logger(domain), in scif_sas_domain_ready_complete_high_priority_io_handler()
522 domain, remote_device, io_request, response_data in scif_sas_domain_ready_complete_high_priority_io_handler()
530 // completion path. Thus, only change the domain request counter if in scif_sas_domain_ready_complete_high_priority_io_handler()
552 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_stopping_device_stop_complete_handler() argument
556 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *) domain; in scif_sas_domain_stopping_device_stop_complete_handler()
559 sci_base_object_get_logger(domain), in scif_sas_domain_stopping_device_stop_complete_handler()
562 domain, remote_device in scif_sas_domain_stopping_device_stop_complete_handler()
575 * @param[in] domain This parameter specifies the domain object
591 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_stopping_complete_io_handler() argument
596 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *) domain; in scif_sas_domain_stopping_complete_io_handler()
600 sci_base_object_get_logger(domain), in scif_sas_domain_stopping_complete_io_handler()
603 domain, remote_device, io_request in scif_sas_domain_stopping_complete_io_handler()
607 domain, remote_device, io_request in scif_sas_domain_stopping_complete_io_handler()
621 * @param[in] domain This parameter specifies the domain object
637 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_stopping_complete_high_priority_io_handler() argument
644 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *) domain; in scif_sas_domain_stopping_complete_high_priority_io_handler()
648 sci_base_object_get_logger(domain), in scif_sas_domain_stopping_complete_high_priority_io_handler()
651 domain, remote_device, io_request in scif_sas_domain_stopping_complete_high_priority_io_handler()
655 domain, remote_device, io_request, response_data, completion_status in scif_sas_domain_stopping_complete_high_priority_io_handler()
669 * @param[in] domain This parameter specifies the domain object
680 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_stopping_complete_task_handler() argument
685 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *) domain; in scif_sas_domain_stopping_complete_task_handler()
689 sci_base_object_get_logger(domain), in scif_sas_domain_stopping_complete_task_handler()
692 domain, remote_device, task_request in scif_sas_domain_stopping_complete_task_handler()
696 domain, remote_device, task_request in scif_sas_domain_stopping_complete_task_handler()
715 * @param[in] domain This parameter specifies the domain object
722 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_port_not_ready_handler() argument
727 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_port_not_ready_handler()
730 domain, in scif_sas_domain_discovering_port_not_ready_handler()
737 &domain->state_machine, SCI_BASE_DOMAIN_STATE_STOPPING in scif_sas_domain_discovering_port_not_ready_handler()
745 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_device_start_complete_handler() argument
749 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *)domain; in scif_sas_domain_discovering_device_start_complete_handler()
752 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_device_start_complete_handler()
755 domain, remote_device in scif_sas_domain_discovering_device_start_complete_handler()
758 //domain will decide what's next step. in scif_sas_domain_discovering_device_start_complete_handler()
768 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_device_stop_complete_handler() argument
773 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_device_stop_complete_handler()
776 domain, remote_device in scif_sas_domain_discovering_device_stop_complete_handler()
787 * @param[in] domain This parameter specifies the domain object
803 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_start_high_priority_io_handler() argument
808 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_sas_domain_discovering_start_high_priority_io_handler()
815 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_start_high_priority_io_handler()
818 domain, remote_device, io_request in scif_sas_domain_discovering_start_high_priority_io_handler()
827 // Add the IO to the list of outstanding requests on the domain. in scif_sas_domain_discovering_start_high_priority_io_handler()
830 // the domain's list as a SCIF_SAS_TASK_REQUEST. We need to check in scif_sas_domain_discovering_start_high_priority_io_handler()
849 * @param[in] domain This parameter specifies the domain object
865 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_complete_io_handler() argument
871 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_complete_io_handler()
874 domain, remote_device, io_request in scif_sas_domain_discovering_complete_io_handler()
878 domain, remote_device, io_request in scif_sas_domain_discovering_complete_io_handler()
887 * @param[in] domain This parameter specifies the domain object
903 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_complete_high_priority_io_handler() argument
917 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_complete_high_priority_io_handler()
920 domain, remote_device, io_request, response_data in scif_sas_domain_discovering_complete_high_priority_io_handler()
925 // Remove the IO from the list of outstanding requests on the domain. in scif_sas_domain_discovering_complete_high_priority_io_handler()
930 // completion path. Thus, only change the domain request counter if in scif_sas_domain_discovering_complete_high_priority_io_handler()
952 * @param[in] domain This parameter specifies the domain object
968 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_continue_io_handler() argument
974 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_continue_io_handler()
977 domain, remote_device, io_request in scif_sas_domain_discovering_continue_io_handler()
987 * a task on a domain in DISCOVER state, only hard reset is allowed.
989 * @param[in] domain This parameter specifies the domain object
1004 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_start_task_handler() argument
1017 //If the domain is in the middle of smp DISCOVER process, in scif_sas_domain_discovering_start_task_handler()
1019 scif_sas_domain_cancel_smp_activities(fw_device->domain); in scif_sas_domain_discovering_start_task_handler()
1021 return scif_sas_domain_ready_start_task_handler(domain, remote_device, task_request); in scif_sas_domain_discovering_start_task_handler()
1025 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_start_task_handler()
1027 "Domain:0x%x Device:0x%x State:0x%x start task message invalid\n", in scif_sas_domain_discovering_start_task_handler()
1028 domain, remote_device, in scif_sas_domain_discovering_start_task_handler()
1029 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_discovering_start_task_handler()
1042 * @param[in] domain This parameter specifies the domain object
1058 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_complete_task_handler() argument
1066 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_complete_task_handler()
1069 domain, remote_device, task_request in scif_sas_domain_discovering_complete_task_handler()
1073 domain, remote_device, task_request in scif_sas_domain_discovering_complete_task_handler()
1085 * when a user attempts to discover a domain and a discovery
1088 * @param[in] domain This parameter specifies the domain object
1105 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_discover_handler() argument
1111 sci_base_object_get_logger((SCIF_SAS_DOMAIN_T *)domain), in scif_sas_domain_default_discover_handler()
1113 "Domain:0x%x State:0x%x requested to discover in invalid state\n", in scif_sas_domain_default_discover_handler()
1114 domain, in scif_sas_domain_default_discover_handler()
1115 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_discover_handler()
1125 * @param[in] domain This parameter specifies the domain object
1132 SCI_BASE_DOMAIN_T * domain in scif_sas_domain_default_port_ready_handler() argument
1136 sci_base_object_get_logger(domain), in scif_sas_domain_default_port_ready_handler()
1138 "Domain:0x%x State:0x%x port now ready\n", in scif_sas_domain_default_port_ready_handler()
1139 domain, in scif_sas_domain_default_port_ready_handler()
1140 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_port_ready_handler()
1150 * @param[in] domain This parameter specifies the domain object
1157 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_port_not_ready_handler() argument
1162 sci_base_object_get_logger(domain), in scif_sas_domain_default_port_not_ready_handler()
1164 "Domain:0x%x State:0x%x Port Not Ready 0x%x in invalid state\n", in scif_sas_domain_default_port_not_ready_handler()
1165 domain, in scif_sas_domain_default_port_not_ready_handler()
1166 sci_base_state_machine_get_state(&domain->state_machine), in scif_sas_domain_default_port_not_ready_handler()
1175 * when a user attempts to start an IO on a domain and a start
1178 * @param[in] domain This parameter specifies the domain object
1193 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_start_io_handler() argument
1199 sci_base_object_get_logger(domain), in scif_sas_domain_default_start_io_handler()
1201 "Domain:0x%x Device:0x%x State:0x%x start IO message invalid\n", in scif_sas_domain_default_start_io_handler()
1202 domain, remote_device, in scif_sas_domain_default_start_io_handler()
1203 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_start_io_handler()
1211 * when a user attempts to complete an IO on a domain and a
1214 * @param[in] domain This parameter specifies the domain object
1229 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_complete_io_handler() argument
1235 sci_base_object_get_logger(domain), in scif_sas_domain_default_complete_io_handler()
1237 "Domain:0x%x Device:0x%x State:0x%x complete IO message invalid\n", in scif_sas_domain_default_complete_io_handler()
1238 domain, remote_device, in scif_sas_domain_default_complete_io_handler()
1239 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_complete_io_handler()
1248 * when a user attempts to complete an IO on a domain and a
1251 * @param[in] domain This parameter specifies the domain object
1266 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_complete_high_priority_io_handler() argument
1274 sci_base_object_get_logger(domain), in scif_sas_domain_default_complete_high_priority_io_handler()
1276 "Domain:0x%x Device:0x%x State:0x%x complete IO message invalid\n", in scif_sas_domain_default_complete_high_priority_io_handler()
1277 domain, remote_device, in scif_sas_domain_default_complete_high_priority_io_handler()
1278 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_complete_high_priority_io_handler()
1286 * when a user attempts to continue an IO on a domain and a
1289 * @param[in] domain This parameter specifies the domain object
1304 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_continue_io_handler() argument
1310 sci_base_object_get_logger(domain), in scif_sas_domain_default_continue_io_handler()
1312 "Domain:0x%x Device:0x%x State:0x%x contineu IO message invalid\n", in scif_sas_domain_default_continue_io_handler()
1313 domain, remote_device, in scif_sas_domain_default_continue_io_handler()
1314 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_continue_io_handler()
1322 * when a user attempts to start a task on a domain and a start
1325 * @param[in] domain This parameter specifies the domain object
1340 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_start_task_handler() argument
1346 sci_base_object_get_logger(domain), in scif_sas_domain_default_start_task_handler()
1348 "Domain:0x%x Device:0x%x State:0x%x start task message invalid\n", in scif_sas_domain_default_start_task_handler()
1349 domain, remote_device, in scif_sas_domain_default_start_task_handler()
1350 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_start_task_handler()
1358 * when a user attempts to complete a task on a domain and a
1361 * @param[in] domain This parameter specifies the domain object
1376 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_complete_task_handler() argument
1382 sci_base_object_get_logger(domain), in scif_sas_domain_default_complete_task_handler()
1384 "Domain:0x%x Device:0x%x State:0x%x complete task message invalid\n", in scif_sas_domain_default_complete_task_handler()
1385 domain, remote_device, in scif_sas_domain_default_complete_task_handler()
1386 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_complete_task_handler()
1396 * @param[in] domain This parameter specifies the domain object
1407 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_device_start_complete_handler() argument
1412 sci_base_object_get_logger(domain), in scif_sas_domain_default_device_start_complete_handler()
1414 "Domain:0x%x Device:0x%x State:0x%x device stop complete message invalid\n", in scif_sas_domain_default_device_start_complete_handler()
1415 domain, remote_device, in scif_sas_domain_default_device_start_complete_handler()
1416 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_device_start_complete_handler()
1426 * @param[in] domain This parameter specifies the domain object
1437 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_device_stop_complete_handler() argument
1442 sci_base_object_get_logger(domain), in scif_sas_domain_default_device_stop_complete_handler()
1444 "Domain:0x%x Device:0x%x State:0x%x device stop complete message invalid\n", in scif_sas_domain_default_device_stop_complete_handler()
1445 domain, remote_device, in scif_sas_domain_default_device_stop_complete_handler()
1446 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_device_stop_complete_handler()
1454 * when sci user try to destruct a remote device of this domain.
1456 * @param[in] domain This parameter specifies the domain object
1467 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_default_device_destruct_handler() argument
1472 sci_base_object_get_logger(domain), in scif_sas_domain_default_device_destruct_handler()
1474 "Domain:0x%x Device:0x%x State:0x%x device destruct in invalid state\n", in scif_sas_domain_default_device_destruct_handler()
1475 domain, remote_device, in scif_sas_domain_default_device_destruct_handler()
1476 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_default_device_destruct_handler()
1485 * device of this domain in discovering state. Mainly the device
1486 * is removed from domain's remote_device_list.
1488 * @param[in] domain This parameter specifies the domain object
1495 * successfully removed from domain.
1499 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_discovering_device_destruct_handler() argument
1503 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *)domain; in scif_sas_domain_discovering_device_destruct_handler()
1506 sci_base_object_get_logger(domain), in scif_sas_domain_discovering_device_destruct_handler()
1508 "Domain:0x%x Device:0x%x State:0x%x device destruct in domain DISCOVERING state\n", in scif_sas_domain_discovering_device_destruct_handler()
1509 domain, remote_device, in scif_sas_domain_discovering_device_destruct_handler()
1510 sci_base_state_machine_get_state(&domain->state_machine) in scif_sas_domain_discovering_device_destruct_handler()
1513 //remove the remote device from domain's remote_device_list in scif_sas_domain_discovering_device_destruct_handler()