Home
last modified time | relevance | path

Searched refs:io_ctx (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.h527 ahc_cmd_set_transaction_status(scb->io_ctx,status); in ahc_set_transaction_status()
540 ahc_cmd_set_scsi_status(scb->io_ctx, status); in ahc_set_scsi_status()
552 return (ahc_cmd_get_transaction_status(scb->io_ctx)); in ahc_get_transaction_status()
564 return (ahc_cmd_get_scsi_status(scb->io_ctx)); in ahc_get_scsi_status()
585 return (scb->io_ctx->sc_data_direction); in ahc_get_transfer_dir()
591 scsi_set_resid(scb->io_ctx, resid); in ahc_set_residual()
603 return scsi_get_resid(scb->io_ctx); in ahc_get_residual()
648 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahc_freeze_scb()
649 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahc_freeze_scb()
H A Daic79xx_osm.h509 ahd_cmd_set_transaction_status(scb->io_ctx,status); in ahd_set_transaction_status()
522 ahd_cmd_set_scsi_status(scb->io_ctx, status); in ahd_set_scsi_status()
534 return (ahd_cmd_get_transaction_status(scb->io_ctx)); in ahd_get_transaction_status()
546 return (ahd_cmd_get_scsi_status(scb->io_ctx)); in ahd_get_scsi_status()
567 return (scb->io_ctx->sc_data_direction); in ahd_get_transfer_dir()
573 scsi_set_resid(scb->io_ctx, resid); in ahd_set_residual()
585 return scsi_get_resid(scb->io_ctx); in ahd_get_residual()
632 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahd_freeze_scb()
633 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahd_freeze_scb()
H A Daic7xxx_osm.c464 cmd = scb->io_ctx; in ahc_linux_unmap_scb()
1451 scb->io_ctx = cmd; in ahc_linux_run_command()
1695 cmd = scb->io_ctx; in ahc_done()
1737 } else if (amount_xferred < scb->io_ctx->underflow) { in ahc_done()
1742 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahc_done()
1743 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahc_done()
1827 cmd = scb->io_ctx; in ahc_linux_handle_scsi_status()
2101 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd()
H A Daic79xx_osm.c538 cmd = scb->io_ctx; in ahd_linux_unmap_scb()
814 reset_scb->io_ctx = cmd; in ahd_linux_dev_reset()
1571 scb->io_ctx = cmd; in ahd_linux_run_command()
1765 cmd = scb->io_ctx; in ahd_done()
1807 } else if (amount_xferred < scb->io_ctx->underflow) { in ahd_done()
1812 for (i = 0; i < scb->io_ctx->cmd_len; i++) in ahd_done()
1813 printk(" 0x%x", scb->io_ctx->cmnd[i]); in ahd_done()
1897 cmd = scb->io_ctx; in ahd_linux_handle_scsi_status()
2178 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd()
H A Daic7xxx.h568 ahc_io_ctx_t io_ctx; member
H A Daic79xx.h607 ahd_io_ctx_t io_ctx; member
H A Daic7xxx_core.c4068 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_NONE); in ahc_handle_msg_reject()
4076 ahc_set_tags(ahc, scb->io_ctx, devinfo, AHC_QUEUE_BASIC); in ahc_handle_msg_reject()
5708 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahc_match_scb()
5715 && ((tag == scb->io_ctx->csio.tag_id) in ahc_match_scb()
6063 || (ctx != NULL && ctx != scb->io_ctx)) in ahc_search_untagged_queues()
7595 ccbh = &scb->io_ctx->ccb_h; in ahc_handle_en_lun()
H A Daic79xx_core.c5590 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_NONE); in ahd_handle_msg_reject()
5598 ahd_set_tags(ahd, scb->io_ctx, devinfo, AHD_QUEUE_BASIC); in ahd_handle_msg_reject()
7963 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahd_match_scb()
7970 && ((tag == scb->io_ctx->csio.tag_id) in ahd_match_scb()
10440 ccbh = &scb->io_ctx->ccb_h; in ahd_handle_en_lun()
/openbmc/qemu/block/
H A Drbd.c95 rados_ioctx_t io_ctx; member
117 static int qemu_rbd_connect(rados_t *cluster, rados_ioctx_t *io_ctx,
682 rados_ioctx_t io_ctx; in qemu_rbd_do_create() local
712 ret = qemu_rbd_connect(&cluster, &io_ctx, opts->location, false, keypairs, in qemu_rbd_do_create()
718 ret = rbd_create(io_ctx, opts->location->image, opts->size, &obj_order); in qemu_rbd_do_create()
728 ret = rbd_open(io_ctx, opts->location->image, &image, NULL); in qemu_rbd_do_create()
740 rbd_remove(io_ctx, opts->location->image); in qemu_rbd_do_create()
748 rados_ioctx_destroy(io_ctx); in qemu_rbd_do_create()
898 static int qemu_rbd_connect(rados_t *cluster, rados_ioctx_t *io_ctx, in qemu_rbd_connect() argument
972 r = rados_ioctx_create(*cluster, opts->pool, io_ctx); in qemu_rbd_connect()
[all …]