/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 54 struct lpfc_iocbq *iocb); 122 * lpfc_prep_els_iocb - Allocate and prepare a lpfc iocb data structure 146 * Pointer to the newly allocated/prepared els iocb data structure 147 * NULL - when els iocb data structure allocation/preparation failed 165 /* Allocate buffer for command iocb */ 200 icmd = &elsiocb->iocb; 298 /* prevent preparing iocb with NULL ndlp reference */ 948 * @cmdiocb: pointer to lpfc command iocb data structure. 949 * @rspiocb: pointer to lpfc response iocb data structure. 974 IOCB_t *irsp = &rspiocb->iocb; 1310 struct lpfc_iocbq *iocb, *next_iocb; local 4384 lpfc_els_clear_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument 7834 struct lpfc_iocbq *iocb; local 8004 lpfc_issue_fabric_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *iocb) argument [all...] |
H A D | lpfc_scsi.c | 512 IOCB_t *iocb; local 593 iocb = &psb->cur_iocbq.iocb; 594 iocb->un.fcpi64.bdl.ulpIoTag32 = 0; 598 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_IMMED; 599 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); 600 iocb->un.fcpi64.bdl.addrLow = offsetof(IOCB_t, 602 iocb->un.fcpi64.bdl.addrHigh = 0; 603 iocb->ulpBdeCount = 0; 604 iocb 918 IOCB_t *iocb; local 4791 struct lpfc_iocbq *iocb; local [all...] |
H A D | lpfc_sli.c | 80 return &iocbq->iocb; 531 * lpfc_cmd_iocb - Get next command iocb entry in the ring 535 * This function returns pointer to next command iocb entry 537 * other threads consume the next command iocb. 548 * lpfc_resp_iocb - Get next response iocb entry in the ring 552 * This function returns pointer to next response iocb entry 554 * that no other thread consume the next response iocb. 565 * __lpfc_sli_get_iocbq - Allocates an iocb object from iocb pool 569 * allocates a new driver iocb objec 1493 lpfc_sli_submit_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, IOCB_t *iocb, struct lpfc_iocbq *nextiocb) argument 1602 IOCB_t *iocb; local 3488 struct lpfc_iocbq *iocb, *next_iocb; local 7883 IOCB_t *iocb; local 9306 struct lpfc_iocbq *iocb, *next_iocb; local 10372 struct lpfc_iocbq *iocb; local [all...] |
H A D | lpfc_bsg.c | 100 struct fc_bsg_job *set_job; /* job waiting for this iocb to finish */ 103 struct lpfc_bsg_iocb iocb; member in union:bsg_job_data::__anon5591 280 * @cmdiocbq: Pointer to command iocb. 281 * @rspiocbq: Pointer to response iocb. 289 * This function copies the contents of the response iocb to the 290 * response iocb memory object provided by the caller of 292 * sleeps for the iocb completion. 304 struct lpfc_bsg_iocb *iocb; local 325 iocb = &dd_data->context_un.iocb; [all...] |
H A D | lpfc_nportdisc.c | 172 irsp = &rspiocb->iocb; 209 struct lpfc_iocbq *iocb, *next_iocb; local 228 list_for_each_entry_safe(iocb, next_iocb, &pring->txcmplq, list) { 230 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) 231 list_add_tail(&iocb->dlist, &abort_list); 238 list_for_each_entry_safe(iocb, next_iocb, &abort_list, dlist) { 240 list_del_init(&iocb->dlist); 241 lpfc_sli_issue_abort_iotag(phba, pring, iocb); 252 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) { 253 /* Check to see if iocb matche [all...] |
H A D | lpfc_ct.c | 73 piocbq->iocb.ulpStatus); 78 size, piocbq->iocb.ulpStatus); 93 IOCB_t *icmd = &piocbq->iocb; 126 icmd = &iocbq->iocb; 148 icmd = &iocbq->iocb; 302 /* Allocate buffer for command iocb */ 308 icmd = &geniocb->iocb; 328 /* Fill in rest of iocb */ 592 irsp = &rspiocb->iocb; 736 IOCB_t *irsp = &rspiocb->iocb; [all...] |
H A D | lpfc_hbadisc.c | 4363 * Return true if iocb matches the specified nport 4368 struct lpfc_iocbq *iocb, 4372 IOCB_t *icmd = &iocb->iocb; 4375 if (iocb->vport != vport) 4381 if (iocb->context_un.ndlp == ndlp) 4387 if (iocb->context1 == (uint8_t *) ndlp) 4417 struct lpfc_iocbq *iocb, *next_iocb; local 4433 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, 4436 * Check to see if iocb matche 4366 lpfc_check_sli_ndlp(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument 5136 struct lpfc_iocbq *iocb, *next_iocb; local [all...] |
H A D | lpfc_sli.h | 59 IOCB_t iocb; /* IOCB cmd */ member in struct:lpfc_iocbq 62 #define LPFC_IO_LIBDFC 1 /* libdfc iocb */ 176 uint16_t numCiocb; /* number of command iocb's per ring */ 177 uint16_t numRiocb; /* number of rsp iocb's per ring */ 178 uint16_t sizeCiocb; /* Size of command iocb's in this ring */ 179 uint16_t sizeRiocb; /* Size of response iocb's in this ring */ 295 #define LPFC_BLOCK_MGMT_IO 0x800 /* Don't allow mgmt mbx or iocb cmds */
|
H A D | lpfc_init.c | 847 /* Get the response iocb from the head of work queue */ 1380 * dropped by the firmware. Error iocb (I/O) on txcmplq and let the 1499 * Error iocb (I/O) on txcmplq and let the SCSI layer 2266 struct lpfc_iocbq *iocb; local 2273 /* Allocate buffer for command iocb */ 2274 iocb = lpfc_sli_get_iocbq(phba); 2275 if (iocb == NULL) { 2279 icmd = &iocb->iocb; 2288 lpfc_sli_release_iocbq(phba, iocb); [all...] |
/drivers/s390/char/ |
H A D | fs3270.c | 330 struct raw3270_iocb iocb; local 356 iocb.model = fp->view.model; 357 iocb.line_cnt = fp->view.rows; 358 iocb.col_cnt = fp->view.cols; 359 iocb.pf_cnt = 24; 360 iocb.re_cnt = 20; 361 iocb.map = 0; 362 if (copy_to_user(argp, &iocb, sizeof(struct raw3270_iocb)))
|
/drivers/usb/gadget/legacy/ |
H A D | inode.c | 514 struct kiocb *iocb; member in struct:kiocb_priv 523 static int ep_aio_cancel(struct kiocb *iocb) argument 525 struct kiocb_priv *priv = iocb->private; 575 struct kiocb *iocb = priv->iocb; local 582 /* completing the iocb can drop the ctx and mm, don't touch mm after */ 583 aio_complete(iocb, ret, ret); 591 struct kiocb *iocb = req->context; local 592 struct kiocb_priv *priv = iocb->private; 607 iocb 628 ep_aio_rwtail( struct kiocb *iocb, char *buf, size_t len, struct ep_data *epdata, const struct iovec *iv, unsigned long nr_segs ) argument 698 ep_aio_read(struct kiocb *iocb, const struct iovec *iov, unsigned long nr_segs, loff_t o) argument 715 ep_aio_write(struct kiocb *iocb, const struct iovec *iov, unsigned long nr_segs, loff_t o) argument [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 106 int fn, void *iocb, int flags); 422 static int qlt_reset(struct scsi_qla_host *vha, void *iocb, int mcmd) argument 429 struct imm_ntfy_from_isp *n = (struct imm_ntfy_from_isp *)iocb; 430 struct atio_from_isp *a = (struct atio_from_isp *)iocb; 482 iocb, QLA24XX_MGMT_SEND_NACK); 2542 "iocb(s) %p Returned STATUS.\n", sts); 3471 int fn, void *iocb, int flags) 3490 if (iocb) { 3491 memcpy(&mcmd->orig_iocb.imm_ntfy, iocb, 3578 static int qlt_handle_task_mgmt(struct scsi_qla_host *vha, void *iocb) argument 3470 qlt_issue_task_mgmt(struct qla_tgt_sess *sess, uint32_t lun, int fn, void *iocb, int flags) argument 3608 __qlt_abort_task(struct scsi_qla_host *vha, struct imm_ntfy_from_isp *iocb, struct qla_tgt_sess *sess) argument 3648 qlt_abort_task(struct scsi_qla_host *vha, struct imm_ntfy_from_isp *iocb) argument 3672 qlt_24xx_handle_els(struct scsi_qla_host *vha, struct imm_ntfy_from_isp *iocb) argument 4069 qlt_prepare_srr_imm(struct scsi_qla_host *vha, struct imm_ntfy_from_isp *iocb) argument 4159 qlt_handle_imm_notify(struct scsi_qla_host *vha, struct imm_ntfy_from_isp *iocb) argument 5052 void *iocb; local [all...] |
H A D | qla_target.h | 117 #define GET_TARGET_ID(ha, iocb) ((HAS_EXTENDED_IDS(ha)) \ 118 ? le16_to_cpu((iocb)->u.isp2x.target.extended) \ 119 : (uint16_t)(iocb)->u.isp2x.target.id.standard)
|
H A D | qla_isr.c | 1177 struct req_que *req, void *iocb) 1180 sts_entry_t *pkt = iocb; 1540 struct srb_iocb *iocb; local 1547 iocb = &sp->u.iocb_cmd; 1550 iocb->u.tmf.data = QLA_SUCCESS; 1556 iocb->u.tmf.data = QLA_FUNCTION_FAILED; 1561 iocb->u.tmf.data = QLA_FUNCTION_FAILED; 1572 iocb->u.tmf.data = QLA_FUNCTION_FAILED; 1576 if (iocb->u.tmf.data != QLA_SUCCESS) 1738 "iocb( 1176 qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func, struct req_que *req, void *iocb) argument [all...] |
H A D | qla_iocb.c | 1024 /* add new list to cmd iocb or last list */ 1126 /* add new list to cmd iocb or last list */ 1218 /* add new list to cmd iocb or last list */ 1379 cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */ 2064 struct srb_iocb *iocb = &sp->u.iocb_cmd; local 2067 flags = iocb->u.tmf.flags; 2068 lun = iocb->u.tmf.lun; 2792 * are bundled in continuation iocb
|
/drivers/net/ |
H A D | macvtap.c | 766 static ssize_t macvtap_aio_write(struct kiocb *iocb, const struct iovec *iv, argument 769 struct file *file = iocb->ki_filp; 876 static ssize_t macvtap_aio_read(struct kiocb *iocb, const struct iovec *iv, argument 879 struct file *file = iocb->ki_filp; 892 iocb->ki_pos = ret; 1104 static int macvtap_sendmsg(struct kiocb *iocb, struct socket *sock, argument 1112 static int macvtap_recvmsg(struct kiocb *iocb, struct socket *sock, argument
|
H A D | tun.c | 1209 static ssize_t tun_chr_aio_write(struct kiocb *iocb, const struct iovec *iv, argument 1212 struct file *file = iocb->ki_filp; 1374 static ssize_t tun_chr_aio_read(struct kiocb *iocb, const struct iovec *iv, argument 1377 struct file *file = iocb->ki_filp; 1394 iocb->ki_pos = ret; 1456 static int tun_sendmsg(struct kiocb *iocb, struct socket *sock, argument 1471 static int tun_recvmsg(struct kiocb *iocb, struct socket *sock, argument
|
/drivers/bluetooth/ |
H A D | hci_vhci.c | 292 static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from) argument 294 struct file *file = iocb->ki_filp;
|
/drivers/char/ |
H A D | mem.c | 608 static ssize_t aio_read_null(struct kiocb *iocb, const struct iovec *iov, argument 614 static ssize_t aio_write_null(struct kiocb *iocb, const struct iovec *iov, argument 632 static ssize_t read_iter_zero(struct kiocb *iocb, struct iov_iter *iter) argument
|
/drivers/staging/lustre/lustre/llite/ |
H A D | rw26.c | 362 static ssize_t ll_direct_IO_26(int rw, struct kiocb *iocb, argument 367 struct file *file = iocb->ki_filp;
|
H A D | file.c | 1205 static ssize_t ll_file_read_iter(struct kiocb *iocb, struct iov_iter *to) argument 1218 args->u.normal.via_iocb = iocb; 1220 result = ll_file_io_generic(env, args, iocb->ki_filp, CIT_READ, 1221 &iocb->ki_pos, iov_iter_count(to)); 1229 static ssize_t ll_file_write_iter(struct kiocb *iocb, struct iov_iter *from) argument 1242 args->u.normal.via_iocb = iocb; 1244 result = ll_file_io_generic(env, args, iocb->ki_filp, CIT_WRITE, 1245 &iocb->ki_pos, iov_iter_count(from));
|
/drivers/isdn/mISDN/ |
H A D | socket.c | 115 mISDN_sock_recvmsg(struct kiocb *iocb, struct socket *sock, argument 176 mISDN_sock_sendmsg(struct kiocb *iocb, struct socket *sock, argument
|
/drivers/net/ppp/ |
H A D | pppoe.c | 823 static int pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, argument 965 static int pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, argument
|
/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 2248 static ssize_t qib_aio_write(struct kiocb *iocb, const struct iovec *iov, argument 2251 struct qib_filedata *fp = iocb->ki_filp->private_data; 2252 struct qib_ctxtdata *rcd = ctxt_fp(iocb->ki_filp);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 2417 static ssize_t ipath_writev(struct kiocb *iocb, const struct iovec *iov, argument 2420 struct file *filp = iocb->ki_filp;
|