Home
last modified time | relevance | path

Searched refs:mx_sb_len (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/include/scsi/
H A Dsg.h45 unsigned char mx_sb_len; /* [i] max length to write to sbp */ member
74 unsigned char mx_sb_len; /* [i] max length to write to sbp */ member
/openbmc/linux/drivers/scsi/
H A Dscsi_ioctl.c395 int len = min((unsigned int) hdr->mx_sb_len, scmd->sense_len); in scsi_complete_sghdr_rq()
625 .mx_sb_len = hdr->mx_sb_len, in put_sg_io_hdr()
673 .mx_sb_len = hdr32.mx_sb_len, in get_sg_io_hdr()
815 hdr.mx_sb_len = sizeof(struct request_sense); in scsi_cdrom_send_packet()
H A Dsg.c577 if ((hp->mx_sb_len > 0) && hp->sbp) { in sg_new_read()
581 sb_len = (hp->mx_sb_len > sb_len) ? sb_len : hp->mx_sb_len; in sg_new_read()
674 hp->mx_sb_len = 0; in sg_write()
/openbmc/qemu/scsi/
H A Dpr-manager-helper.c235 io_hdr->sb_len_wr = MIN(io_hdr->mx_sb_len, PR_HELPER_SENSE_SIZE); in pr_manager_helper_run()
244 io_hdr->sb_len_wr = MIN(io_hdr->mx_sb_len, sense_len); in pr_manager_helper_run()
H A Dqemu-pr-helper.c148 io_hdr.mx_sb_len = PR_HELPER_SENSE_SIZE; in do_sgio_worker()
/openbmc/qemu/hw/scsi/
H A Dscsi-generic.c131 r->io_header.mx_sb_len = sizeof(r->req.sense); in execute_command()
541 io_header.mx_sb_len = sizeof(sensebuf); in scsi_SG_IO_FROM_DEV()
H A Dscsi-disk.c2945 io_header->mx_sb_len = sizeof(r->req.sense); in scsi_block_do_sgio()
/openbmc/ipmitool/src/plugins/usb/
H A Dusb.c194 io_hdr.mx_sb_len = slen; in sendscsicmd_SGIO()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch259 hdr.mx_sb_len = SG_MAX_SENSE;
/openbmc/qemu/block/
H A Discsi.c993 ss = MIN(acb->ioh->mx_sb_len, acb->ioh->sb_len_wr); in iscsi_aio_ioctl_cb()