Searched refs:bsg (Results 1 - 22 of 22) sorted by relevance

/linux-master/include/linux/
H A Dbsg.h5 #include <uapi/linux/bsg.h>
/linux-master/block/
H A DMakefile15 obj-$(CONFIG_BLK_DEV_BSG_COMMON) += bsg.o
16 obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o
H A Dbsg-lib.c9 #include <linux/bsg.h>
14 #include <linux/bsg-lib.h>
153 * bsg_teardown_job - routine to teardown a bsg job
182 * bsg_job_done - completion routine for bsg requests
187 * The LLD should call this when the bsg job has completed.
202 * bsg_complete - softirq done routine for destroying the bsg requests
228 * bsg_prepare_job - create the bsg_job structure for the bsg request
229 * @dev: device that is being sent the bsg request
263 * bsg_queue_rq - generic handler for bsg requests
354 * bsg_setup_queue - Create and add the bsg hook
[all...]
H A Dbsg.c3 * bsg.c - block layer implementation of the sg v4 interface
13 #include <linux/bsg.h>
20 #define BSG_DESCRIPTION "Block layer SCSI generic (bsg) driver"
183 sysfs_remove_link(&disk->queue_kobj, "bsg");
206 dev_err(parent, "bsg: too many bsg devices\n");
225 "bsg");
242 return kasprintf(GFP_KERNEL, "bsg/%s", dev_name(dev));
246 .name = "bsg",
259 ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg");
[all...]
/linux-master/drivers/scsi/
H A Dscsi_bsg.c2 #include <linux/bsg.h>
24 pr_warn_once("BIDI support in bsg has been removed.\n");
H A Dscsi_sysfs.c16 #include <linux/bsg.h>
1450 "Failed to register bsg queue, errno=%d\n",
H A Dscsi_transport_sas.c33 #include <linux/bsg.h>
237 dev_printk(KERN_ERR, dev, "fail to a bsg device %d\n",
1532 printk("fail to a bsg device %s\n", dev_name(&rphy->dev));
H A Dscsi_transport_fc.c16 #include <linux/bsg-lib.h>
463 /* ignore any bsg add error - we just can't do sgio */
3118 /* ignore any bsg add error - we just can't do sgio */
4045 * fc_bsg_job_timeout - handler for when a bsg request timesout
4080 * fc_bsg_host_dispatch - process fc host bsg requests and dispatch to LLDD
4082 * @job: bsg job to be processed
4173 * fc_bsg_rport_dispatch - process rport bsg requests and dispatch to LLDD
4175 * @job: bsg job to be processed
4270 * fc_bsg_hostadd - Create and add the bsg hooks so we can receive requests
4296 "fc_host%d: bsg interfac
[all...]
H A Dscsi_transport_iscsi.c13 #include <linux/bsg-lib.h>
1475 * @job: bsg job to be processed
1529 * iscsi_bsg_host_add - Create and add the bsg hooks to receive requests
1550 shost_printk(KERN_ERR, shost, "bsg interface failed to "
1569 /* ignore any bsg add error - we just can't do sgio */
/linux-master/include/scsi/
H A Dscsi_transport_sas.h9 #include <linux/bsg-lib.h>
H A Dscsi_transport_fc.h14 #include <linux/bsg-lib.h>
385 struct request_queue *rqst_q; /* bsg support */
583 /* bsg support */
711 /* bsg support */
/linux-master/drivers/ufs/core/
H A Dufs_bsg.c3 * bsg endpoint that supports UPIUs
8 #include <linux/bsg-lib.h>
206 * ufs_bsg_remove - detach and remove the added ufs-bsg node
230 * ufs_bsg_probe - Add ufs bsg device node
250 dev_set_name(bsg_dev, "ufs-bsg%u", shost->host_no);
268 dev_err(bsg_dev, "fail to initialize a bsg dev %d\n", shost->host_no);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_bsg.c12 #include <linux/bsg-lib.h>
29 "%s: sp hdl %x, result=%x bsg ptr %p\n",
417 "bsg rqst type: %s els type: %x - loop-id=%x "
564 "bsg rqst type: %s else type: %x - "
1568 uint8_t bsg[DMA_POOL_SIZE]; local
1569 struct qla_image_version_list *list = (void *)bsg;
1582 bsg_job->request_payload.sg_cnt, list, sizeof(bsg));
1621 uint8_t bsg[DMA_POOL_SIZE]; local
1622 struct qla_status_reg *sr = (void *)bsg;
1672 uint8_t bsg[DMA_POOL_SIZ local
1719 uint8_t bsg[DMA_POOL_SIZE]; local
1765 uint8_t bsg[DMA_POOL_SIZE]; local
[all...]
/linux-master/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c13 #include <linux/bsg-lib.h>
H A Dsmartpqi.h18 #include <linux/bsg-lib.h>
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_def.h26 #include <linux/bsg-lib.h>
/linux-master/drivers/s390/scsi/
H A Dzfcp_fc.c17 #include <linux/bsg-lib.h>
1107 /* hardware tracks timeout, reset bsg timeout to not interfere */
/linux-master/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c26 #include <linux/bsg-lib.h>
H A Dbe_main.c37 #include <linux/bsg-lib.h>
4803 * beiscsi_bsg_request - handle bsg request from ISCSI transport
4891 "BM_%d : Unsupported bsg command: 0x%x\n",
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c11 #include <linux/bsg-lib.h>
1570 "%s: posting bsg request to the controller\n", __func__);
1588 "%s: posting bsg request is failed\n", __func__);
1604 ioc_info(mrioc, "%s: bsg request timedout after %d seconds\n",
1619 dprint_bsg_err(mrioc, "%s: bsg request timedout after %d seconds,\n"
1634 dprint_bsg_info(mrioc, "%s: bsg request is completed\n", __func__);
1768 * mpi3mr_bsg_request - bsg request entry point
1771 * This is driver's entry point for bsg requests
1801 * mpi3mr_bsg_exit - de-registration from bsg layer
1805 * bsg resource
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_bsg.c29 #include <linux/bsg-lib.h>
375 * lpfc_bsg_send_mgmt_cmd - send a CT command from a bsg request
404 /* allocate our bsg tracking structure */
638 * lpfc_bsg_rport_els - send an ELS command from a bsg request
671 /* allocate our bsg tracking structure */
1162 * lpfc_bsg_hba_set_event - process a SET_EVENT bsg vendor command
1245 * lpfc_bsg_hba_get_event - process a GET_EVENT bsg vendor command
1465 /* allocate our bsg tracking structure */
1566 * lpfc_bsg_send_mgmt_rsp - process a SEND_MGMT_RESP bsg vendor command
1722 * lpfc_sli3_bsg_diag_loopback_mode - process an sli3 bsg vendo
[all...]
/linux-master/drivers/scsi/ibmvscsi/
H A Dibmvfc.c22 #include <linux/bsg-lib.h>

Completed in 593 milliseconds