Searched defs:iocb (Results 1 - 21 of 21) sorted by relevance

/drivers/s390/char/
H A Dfs3270.c330 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/isdn/mISDN/
H A Dsocket.c115 mISDN_sock_recvmsg(struct kiocb *iocb, struct socket *sock, argument
181 mISDN_sock_sendmsg(struct kiocb *iocb, struct socket *sock, argument
/drivers/staging/android/
H A Dlogger.c446 ssize_t logger_aio_write(struct kiocb *iocb, const struct iovec *iov, argument
449 struct logger_log *log = file_get_log(iocb->ki_filp);
462 header.len = min_t(size_t, iocb->ki_left, LOGGER_ENTRY_MAX_PAYLOAD);
/drivers/char/
H A Dmem.c825 static ssize_t kmsg_writev(struct kiocb *iocb, const struct iovec *iv, argument
/drivers/net/ppp/
H A Dpppoe.c829 static int pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, argument
971 static int pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, argument
/drivers/net/
H A Dmacvtap.c760 static ssize_t macvtap_aio_write(struct kiocb *iocb, const struct iovec *iv, argument
763 struct file *file = iocb->ki_filp;
840 static ssize_t macvtap_do_read(struct macvtap_queue *q, struct kiocb *iocb, argument
877 static ssize_t macvtap_aio_read(struct kiocb *iocb, const struct iovec *iv, argument
880 struct file *file = iocb->ki_filp;
890 ret = macvtap_do_read(q, iocb, iv, len, file->f_flags & O_NONBLOCK);
1009 static int macvtap_sendmsg(struct kiocb *iocb, struct socket *sock, argument
1017 static int macvtap_recvmsg(struct kiocb *iocb, struct socket *sock, argument
1025 ret = macvtap_do_read(q, iocb, m->msg_iov, total_len,
H A Dtun.c735 static ssize_t tun_chr_aio_write(struct kiocb *iocb, const struct iovec *iv, argument
738 struct file *file = iocb->ki_filp;
836 struct kiocb *iocb, const struct iovec *iv,
883 static ssize_t tun_chr_aio_read(struct kiocb *iocb, const struct iovec *iv, argument
886 struct file *file = iocb->ki_filp;
899 ret = tun_do_read(tun, iocb, iv, len, file->f_flags & O_NONBLOCK);
957 static int tun_sendmsg(struct kiocb *iocb, struct socket *sock, argument
965 static int tun_recvmsg(struct kiocb *iocb, struct socket *sock, argument
973 ret = tun_do_read(tun, iocb, m->msg_iov, total_len,
835 tun_do_read(struct tun_struct *tun, struct kiocb *iocb, const struct iovec *iv, ssize_t len, int noblock) argument
/drivers/scsi/lpfc/
H A Dlpfc_nportdisc.c172 irsp = &rspiocb->iocb;
211 struct lpfc_iocbq *iocb, *next_iocb; local
224 list_for_each_entry_safe(iocb, next_iocb, &pring->txq, list) {
225 /* Check to see if iocb matches the nport we are looking for */
226 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) {
228 list_move_tail(&iocb->list, &completions);
237 list_for_each_entry_safe(iocb, next_iocb, &txcmplq_completions, list) {
238 /* Check to see if iocb matches the nport we are looking for */
239 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp))
240 list_add_tail(&iocb
[all...]
H A Dlpfc_bsg.c77 /* job waiting for this iocb to finish */
101 /* job waiting for this iocb to finish */
113 struct lpfc_bsg_iocb iocb; member in union:bsg_job_data::__anon4497
147 * @cmdiocbq: Pointer to command iocb.
148 * @rspiocbq: Pointer to response iocb.
156 * This function copies the contents of the response iocb to the
157 * response iocb memory object provided by the caller of
159 * sleeps for the iocb completion.
171 struct lpfc_bsg_iocb *iocb; local
183 iocb
5121 struct lpfc_bsg_iocb *iocb; local
[all...]
H A Dlpfc_els.c53 struct lpfc_iocbq *iocb);
121 * lpfc_prep_els_iocb - Allocate and prepare a lpfc iocb data structure
145 * Pointer to the newly allocated/prepared els iocb data structure
146 * NULL - when els iocb data structure allocation/preparation failed
164 /* Allocate buffer for command iocb */
199 icmd = &elsiocb->iocb;
278 /* prevent preparing iocb with NULL ndlp reference */
875 * @cmdiocb: pointer to lpfc command iocb data structure.
876 * @rspiocb: pointer to lpfc response iocb data structure.
901 IOCB_t *irsp = &rspiocb->iocb;
1218 struct lpfc_iocbq *iocb, *next_iocb; local
4190 lpfc_els_clear_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument
7514 struct lpfc_iocbq *iocb; local
7683 lpfc_issue_fabric_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *iocb) argument
[all...]
H A Dlpfc_scsi.c510 IOCB_t *iocb; local
582 iocb = &psb->cur_iocbq.iocb;
583 iocb->un.fcpi64.bdl.ulpIoTag32 = 0;
587 iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_IMMED;
588 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd);
589 iocb->un.fcpi64.bdl.addrLow = offsetof(IOCB_t,
591 iocb->un.fcpi64.bdl.addrHigh = 0;
592 iocb->ulpBdeCount = 0;
593 iocb
809 IOCB_t *iocb; local
4341 struct lpfc_iocbq *iocb; local
[all...]
H A Dlpfc_sli.h59 IOCB_t iocb; /* IOCB cmd */ member in struct:lpfc_iocbq
62 #define LPFC_IO_LIBDFC 1 /* libdfc iocb */
175 uint16_t numCiocb; /* number of command iocb's per ring */
176 uint16_t numRiocb; /* number of rsp iocb's per ring */
177 uint16_t sizeCiocb; /* Size of command iocb's in this ring */
178 uint16_t sizeRiocb; /* Size of response iocb's in this ring */
269 #define LPFC_BLOCK_MGMT_IO 0x800 /* Don't allow mgmt mbx or iocb cmds */
H A Dlpfc_hbadisc.c4231 * Return true if iocb matches the specified nport
4236 struct lpfc_iocbq *iocb,
4240 IOCB_t *icmd = &iocb->iocb;
4243 if (iocb->vport != vport)
4249 if (iocb->context_un.ndlp == ndlp)
4255 if (iocb->context1 == (uint8_t *) ndlp)
4285 struct lpfc_iocbq *iocb, *next_iocb; local
4301 list_for_each_entry_safe(iocb, next_iocb, &pring->txq,
4304 * Check to see if iocb matche
4234 lpfc_check_sli_ndlp(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument
4962 struct lpfc_iocbq *iocb, *next_iocb; local
[all...]
H A Dlpfc_init.c1244 * dropped by the firmware. Error iocb (I/O) on txcmplq and let the
1365 * Error iocb (I/O) on txcmplq and let the SCSI layer
2065 struct lpfc_iocbq *iocb; local
2072 /* Allocate buffer for command iocb */
2073 iocb = lpfc_sli_get_iocbq(phba);
2074 if (iocb == NULL) {
2078 icmd = &iocb->iocb;
2087 lpfc_sli_release_iocbq(phba, iocb);
2103 lpfc_sli_release_iocbq(phba, iocb);
[all...]
H A Dlpfc_sli.c74 return &iocbq->iocb;
461 * lpfc_cmd_iocb - Get next command iocb entry in the ring
465 * This function returns pointer to next command iocb entry
467 * other threads consume the next command iocb.
478 * lpfc_resp_iocb - Get next response iocb entry in the ring
482 * This function returns pointer to next response iocb entry
484 * that no other thread consume the next response iocb.
495 * __lpfc_sli_get_iocbq - Allocates an iocb object from iocb pool
499 * allocates a new driver iocb objec
1444 lpfc_sli_submit_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, IOCB_t *iocb, struct lpfc_iocbq *nextiocb) argument
1553 IOCB_t *iocb; local
3416 struct lpfc_iocbq *iocb, *next_iocb; local
7403 IOCB_t *iocb; local
8732 struct lpfc_iocbq *iocb, *next_iocb; local
9292 struct lpfc_iocbq *iocb, *next_iocb; local
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_iocb.c1003 /* add new list to cmd iocb or last list */
1087 /* add new list to cmd iocb or last list */
1167 /* add new list to cmd iocb or last list */
1341 cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */
1997 struct srb_iocb *iocb = &sp->u.iocb_cmd; local
2000 flags = iocb->u.tmf.flags;
2001 lun = iocb->u.tmf.lun;
H A Dqla_isr.c857 struct req_que *req, void *iocb)
860 sts_entry_t *pkt = iocb;
1218 struct srb_iocb *iocb; local
1226 iocb = &sp->u.iocb_cmd;
1256 iocb->u.tmf.data = error;
1419 "iocb(s) %p Returned STATUS.\n", sts24);
856 qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func, struct req_que *req, void *iocb) argument
H A Dqla_init.c47 struct srb_iocb *iocb; local
56 iocb = &sp->u.iocb_cmd;
57 iocb->timeout(sp);
66 struct srb_iocb *iocb = &sp->u.iocb_cmd; local
69 del_timer(&iocb->timer);
275 struct srb_iocb *iocb = &sp->u.iocb_cmd; local
282 flags = iocb->u.tmf.flags;
283 lun = (uint16_t)iocb->u.tmf.lun;
290 if ((rval != QLA_SUCCESS) || iocb->u.tmf.data) {
1883 "Sending verify iocb
[all...]
/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c2416 static ssize_t ipath_writev(struct kiocb *iocb, const struct iovec *iov, argument
2419 struct file *filp = iocb->ki_filp;
/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c2161 static ssize_t qib_aio_write(struct kiocb *iocb, const struct iovec *iov, argument
2164 struct qib_filedata *fp = iocb->ki_filp->private_data;
2165 struct qib_ctxtdata *rcd = ctxt_fp(iocb->ki_filp);
/drivers/usb/gadget/
H A Dinode.c523 static int ep_aio_cancel(struct kiocb *iocb, struct io_event *e) argument
525 struct kiocb_priv *priv = iocb->private;
532 kiocbSetCancelled(iocb);
540 aio_put_req(iocb);
544 static ssize_t ep_aio_read_retry(struct kiocb *iocb) argument
546 struct kiocb_priv *priv = iocb->private;
579 struct kiocb *iocb = req->context; local
580 struct kiocb_priv *priv = iocb->private;
595 iocb->private = NULL;
597 aio_complete(iocb, re
616 ep_aio_rwtail( struct kiocb *iocb, char *buf, size_t len, struct ep_data *epdata, const struct iovec *iv, unsigned long nr_segs ) argument
683 ep_aio_read(struct kiocb *iocb, const struct iovec *iov, unsigned long nr_segs, loff_t o) argument
701 ep_aio_write(struct kiocb *iocb, const struct iovec *iov, unsigned long nr_segs, loff_t o) argument
[all...]

Completed in 789 milliseconds