5-24 DAS ACI 3.0 Asynchronous Support Layer
601626-B
Figure 5-23 Common Structure for aci_async_entry
struct _aci_async_entry
{
pid_t pid; /* process id, -1
means slot is empty */
int aci_func; /* DAS_MOUNT,
DAS_DISMOUNT, DAS_FORCE,
DAS_INSERT, DAS_EJECT,
DAS_EJECT_COMPLETE
*/
int d_errno; /* DAS error code
*/
char d_text[DAS_SZ_MSG_LEN]; /* error message
*/
union _parms /*
parameters data */
{
async_drive_parms st_drive_parms; /* mount,
dismount, force parameters */
async_ei_parms st_ei_parms; /* insert, eject,
eject_complete
parameters
*/
} parms;
union _response /*
response data */
{
async_mount_parms st_mount_parms; /*
mount command response */
async_response st_response; /*
dismount, force, eject,
eject_complete
response */
async_insert_response st_insert_response; /*
insert command response */
} response;
} aci_async_entry;