Functions | |
| int32_t | ocs_scsi_ini_new_device (ocs_t *ocs) |
| Initializes any initiator fields on the ocs structure. More... | |
| int32_t | ocs_scsi_ini_del_device (ocs_t *ocs) |
| Tears down target members of ocs structure. More... | |
| int32_t | ocs_scsi_ini_new_domain (ocs_domain_t *domain) |
| accept new domain notification More... | |
| void | ocs_scsi_ini_del_domain (ocs_domain_t *domain) |
| accept domain lost notification More... | |
| int32_t | ocs_scsi_new_target (ocs_node_t *node) |
| receive notification of a new SCSI target node More... | |
| int32_t | ocs_scsi_del_target (ocs_node_t *node, ocs_scsi_del_target_reason_e reason) |
| Delete a SCSI target node. More... | |
| int32_t ocs_scsi_del_target | ( | ocs_node_t * | node, |
| ocs_scsi_del_target_reason_e | reason | ||
| ) |
Delete a SCSI target node.
The ocs_node_t structure has and elment of type ocs_scsi_ini_node_t named ni_node that is declared and used by a target-server for private information.
This function is only called if the base driver is enabled for target capability.
| node | pointer node being deleted |
| reason | reason for deleting the target |
Definition at line 258 of file ocs_ini_stub.c.
| int32_t ocs_scsi_ini_del_device | ( | ocs_t * | ocs | ) |
Tears down target members of ocs structure.
| ocs | pointer to ocs |
Definition at line 139 of file ocs_ini_stub.c.
| void ocs_scsi_ini_del_domain | ( | ocs_domain_t * | domain | ) |
accept domain lost notification
This function will only be called if the base-driver has been enabled for initiator capability.
Note that this call is made to initiator-client backends, the ocs_scsi_tgt_del_domain() function is called to target-server backends.
| domain | pointer to domain |
Definition at line 197 of file ocs_ini_stub.c.
| int32_t ocs_scsi_ini_new_device | ( | ocs_t * | ocs | ) |
Initializes any initiator fields on the ocs structure.
| ocs | pointer to ocs |
Definition at line 121 of file ocs_ini_stub.c.
| int32_t ocs_scsi_ini_new_domain | ( | ocs_domain_t * | domain | ) |
accept new domain notification
The domain context has the element ocs_scsi_ini_domain_t ini_domain which is declared by the initiator-client code and is used for initiator-client private data.
This function will only be called if the base-driver has been enabled for initiator capability.
Note that this call is made to initiator-client backends, the ocs_scsi_tgt_new_domain() function is called to target-server backends.
| domain | pointer to domain |
Definition at line 166 of file ocs_ini_stub.c.
| int32_t ocs_scsi_new_target | ( | ocs_node_t * | node | ) |
receive notification of a new SCSI target node
This function is only called if the base driver is enabled for initiator capability.
| node | pointer to new remote initiator node |
Definition at line 232 of file ocs_ini_stub.c.