ac_flags
Word ac_flags; /* and its associated flags */
ac.ac_flags = 0;
acp->ac_flags |= FLG_AC_BINDTO;
acp->ac_flags |= FLG_AC_BINDFROM;
if (((racp->ac_flags & FLG_AC_BINDFROM) == 0) ||
((dacp->ac_flags & FLG_AC_BINDTO) == 0))
if (((racp->ac_flags & FLG_AC_BINDFROM) == 0) ||
((dacp->ac_flags & FLG_AC_BINDTO) == 0))
(racp->ac_flags & FLG_AC_BINDFROM) == 0)
if ((dacp->ac_flags & FLG_AC_BINDTO) == 0)
if (aes_ctx->ac_flags & CTR_MODE) {
} else if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) {
} else if (aes_ctx->ac_flags & (CBC_MODE|CMAC_MODE)) {
if (aes_ctx->ac_flags & CTR_MODE) {
} else if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) {
} else if (aes_ctx->ac_flags & CBC_MODE) {
if ((aes_ctx->ac_flags & P11_DECRYPTED) == 0) {
aes_ctx->ac_flags |= P11_DECRYPTED;
if (ctx->ac_flags & ECB_MODE) {
} else if (ctx->ac_flags & (CBC_MODE|CMAC_MODE)) {
} else if (ctx->ac_flags & CTR_MODE) {
} else if (ctx->ac_flags & CCM_MODE) {
} else if (ctx->ac_flags & GMAC_MODE) {
} else if (ctx->ac_flags & GCM_MODE) {
aes_ctx->ac_flags |= ECB_MODE;
!(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|CMAC_MODE|GMAC_MODE))) {
!(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE))) {
switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE)) {
if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & GCM_MODE) {
if (aes_ctx.ac_flags & PROVIDER_OWNS_KEY_SCHEDULE) {
if (aes_ctx.ac_flags & PROVIDER_OWNS_KEY_SCHEDULE) {
if (aes_ctx.ac_flags & CCM_MODE) {
} else if (aes_ctx.ac_flags & (GCM_MODE|GMAC_MODE)) {
if (aes_ctx->ac_flags & PROVIDER_OWNS_KEY_SCHEDULE) {
aes_ctx->ac_flags |= PROVIDER_OWNS_KEY_SCHEDULE;
aes_ctx->ac_flags |= ECB_MODE;
if (aes_ctx->ac_flags & PROVIDER_OWNS_KEY_SCHEDULE) {
if (((aes_ctx->ac_flags & (CMAC_MODE|CTR_MODE|CCM_MODE|
switch (aes_ctx->ac_flags & (CMAC_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) {
if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & GCM_MODE) {
} else if (aes_ctx->ac_flags & GMAC_MODE) {
} else if (aes_ctx->ac_flags & CMAC_MODE) {
if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE))
switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) {
if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) {
if ((aes_ctx->ac_flags & CTR_MODE) == 0)
if ((aes_ctx->ac_flags & (CMAC_MODE|GMAC_MODE)) == 0 &&
if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) != 0) {
} else if ((aes_ctx->ac_flags & CTR_MODE) == 0) {
if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE))
if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & GCM_MODE) {
} else if (aes_ctx->ac_flags & CMAC_MODE) {
} else if (aes_ctx->ac_flags & GMAC_MODE) {
} else if ((aes_ctx->ac_flags & CTR_MODE) == 0) {
(aes_ctx->ac_flags & CTR_MODE) == 0) {
if (aes_ctx->ac_flags & CCM_MODE) {
} else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) {
if ((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) {
(void *)ac, ac->ac_flags));
if (ac->ac_flags & AMR_CMD_DATAOUT) {
ac->ac_flags |= AMR_CMD_MAPPED;
if ((ac->ac_flags & AMR_CMD_MAPPED) && ac->ac_data) {
ac->ac_flags &= ~AMR_CMD_MAPPED;
(void *)ac, ac->ac_flags));
if (ac->ac_flags & AMR_CMD_DATAOUT) {
if (ac->ac_flags & AMR_CMD_PKT_CONSISTENT) {
if (ac->ac_flags & AMR_CMD_PKT_DMA_PARTIAL) {
if ((!(ac->ac_flags & AMR_CMD_MAPPED)) && (ac->ac_buf == NULL)) {
ac->ac_flags |= AMR_CMD_MAPPED;
if (!(ac->ac_flags & AMR_CMD_MAPPED)) {
ac->ac_flags |= AMR_CMD_MAPPED;
if ((ac->ac_flags & AMR_CMD_MAPPED) &&
ac->ac_flags &= ~AMR_CMD_MAPPED;
ac->ac_flags &= ~AMR_CMD_GOT_SLOT;
ac->ac_flags &= ~AMR_CMD_BUSY;
ac->ac_flags |= AMR_CMD_DATAOUT;
ac->ac_flags |= AMR_CMD_DATAIN;
ac->ac_flags |= AMR_CMD_PKT_CONSISTENT;
ac->ac_flags |= AMR_CMD_PKT_DMA_PARTIAL;
(ac->ac_flags & AMR_CMD_DATAIN) ?
if (ac->ac_flags & AMR_CMD_MAPPED) {
ac->ac_flags &= ~AMR_CMD_MAPPED;
if (ac->ac_flags & AMR_CMD_DATAOUT) {
if (!(ac->ac_flags & AMR_CMD_GOT_SLOT)) {
ac->ac_flags |= AMR_CMD_GOT_SLOT;
ac->ac_flags |= AMR_CMD_BUSY;
ac->ac_flags &= ~AMR_CMD_BUSY;
ac->ac_flags &= ~AMR_CMD_GOT_SLOT;
ac.ac_flags |= AMR_CMD_DATAOUT;
ac.ac_flags |= AMR_CMD_DATAOUT;
uint32_t ac_flags;
ata_ctlp->ac_flags |= AC_GHD_INIT;
if (ata_ctlp->ac_flags & AC_GHD_INIT)
ata_ctlp->ac_flags |= AC_BMSTATREG_PIO_BROKEN;
if (!(ata_ctlp->ac_flags & AC_ATTACHED))
!(ata_ctlp->ac_flags & AC_BMSTATREG_PIO_BROKEN)))) {
!(ata_ctlp->ac_flags & AC_BMSTATREG_PIO_BROKEN)) {
ata_ctlp->ac_flags |= AC_ATAPI_INIT;
ata_ctlp->ac_flags |= AC_DISK_INIT;
ata_ctlp->ac_flags |= AC_ATTACHED;
ata_ctlp->ac_flags &= ~AC_ATTACHED;
if (ata_ctlp->ac_flags & AC_DISK_INIT)
if (ata_ctlp->ac_flags & AC_ATAPI_INIT)
uint_t ac_flags;
P->ac_dip, P->ac_flags, P->ac_timing_flags);
ata_ctlp->ac_flags |= AC_SCSI_HBA_TRAN_ALLOC;
ata_ctlp->ac_flags |= AC_SCSI_HBA_ATTACH;
if (ata_ctlp->ac_flags & AC_SCSI_HBA_ATTACH)
if (ata_ctlp->ac_flags & AC_SCSI_HBA_TRAN_ALLOC)