breq 595 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq) breq 598 drivers/usb/gadget/udc/bcm63xx_udc.c unsigned int bytes_left = breq->req.length - breq->offset; breq 603 drivers/usb/gadget/udc/bcm63xx_udc.c breq->bd_bytes = 0; breq 604 drivers/usb/gadget/udc/bcm63xx_udc.c breq->iudma = iudma; breq 606 drivers/usb/gadget/udc/bcm63xx_udc.c if ((bytes_left % iudma->max_pkt == 0) && bytes_left && breq->req.zero) breq 648 drivers/usb/gadget/udc/bcm63xx_udc.c d->address = breq->req.dma + breq->offset; breq 652 drivers/usb/gadget/udc/bcm63xx_udc.c breq->offset += n_bytes; breq 653 drivers/usb/gadget/udc/bcm63xx_udc.c breq->bd_bytes += n_bytes; breq 1077 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq, *n; breq 1093 drivers/usb/gadget/udc/bcm63xx_udc.c list_for_each_entry_safe(breq, n, &bep->queue, queue) { breq 1094 drivers/usb/gadget/udc/bcm63xx_udc.c usb_gadget_unmap_request(&udc->gadget, &breq->req, breq 1096 drivers/usb/gadget/udc/bcm63xx_udc.c list_del(&breq->queue); breq 1097 drivers/usb/gadget/udc/bcm63xx_udc.c breq->req.status = -ESHUTDOWN; breq 1100 drivers/usb/gadget/udc/bcm63xx_udc.c usb_gadget_giveback_request(&iudma->bep->ep, &breq->req); breq 1118 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq; breq 1120 drivers/usb/gadget/udc/bcm63xx_udc.c breq = kzalloc(sizeof(*breq), mem_flags); breq 1121 drivers/usb/gadget/udc/bcm63xx_udc.c if (!breq) breq 1123 drivers/usb/gadget/udc/bcm63xx_udc.c return &breq->req; breq 1134 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq = our_req(req); breq 1135 drivers/usb/gadget/udc/bcm63xx_udc.c kfree(breq); breq 1157 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq = our_req(req); breq 1166 drivers/usb/gadget/udc/bcm63xx_udc.c breq->offset = 0; breq 1186 drivers/usb/gadget/udc/bcm63xx_udc.c list_add_tail(&breq->queue, &bep->queue); breq 1188 drivers/usb/gadget/udc/bcm63xx_udc.c iudma_write(udc, bep->iudma, breq); breq 1209 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq = our_req(req), *cur; breq 1220 drivers/usb/gadget/udc/bcm63xx_udc.c usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); breq 1222 drivers/usb/gadget/udc/bcm63xx_udc.c if (breq == cur) { breq 1224 drivers/usb/gadget/udc/bcm63xx_udc.c list_del(&breq->queue); breq 1234 drivers/usb/gadget/udc/bcm63xx_udc.c list_del(&breq->queue); breq 1386 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq = our_req(req); breq 1393 drivers/usb/gadget/udc/bcm63xx_udc.c breq->offset = 0; breq 1395 drivers/usb/gadget/udc/bcm63xx_udc.c iudma_write(udc, iudma, breq); breq 2047 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_req *breq = NULL; breq 2062 drivers/usb/gadget/udc/bcm63xx_udc.c breq = our_req(req); breq 2068 drivers/usb/gadget/udc/bcm63xx_udc.c if (req->actual >= req->length || breq->bd_bytes > rc) { breq 2077 drivers/usb/gadget/udc/bcm63xx_udc.c iudma_write(udc, iudma, breq); breq 2081 drivers/usb/gadget/udc/bcm63xx_udc.c breq = list_first_entry(&bep->queue, struct bcm63xx_req, queue); breq 2082 drivers/usb/gadget/udc/bcm63xx_udc.c req = &breq->req; breq 2087 drivers/usb/gadget/udc/bcm63xx_udc.c if (req->actual >= req->length || breq->bd_bytes > rc) { breq 2089 drivers/usb/gadget/udc/bcm63xx_udc.c list_del(&breq->queue); breq 2101 drivers/usb/gadget/udc/bcm63xx_udc.c iudma_write(udc, iudma, breq); breq 721 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq, breq 726 fs/xfs/xfs_ioctl.c xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); breq 727 fs/xfs/xfs_ioctl.c if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) breq 729 fs/xfs/xfs_ioctl.c return xfs_ibulk_advance(breq, sizeof(struct xfs_bstat)); breq 734 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq, breq 740 fs/xfs/xfs_ioctl.c if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) breq 742 fs/xfs/xfs_ioctl.c return xfs_ibulk_advance(breq, sizeof(struct xfs_inogrp)); breq 752 fs/xfs/xfs_ioctl.c struct xfs_ibulk breq = { breq 780 fs/xfs/xfs_ioctl.c breq.ubuffer = bulkreq.ubuffer; breq 781 fs/xfs/xfs_ioctl.c breq.icount = bulkreq.icount; breq 795 fs/xfs/xfs_ioctl.c breq.startino = lastino ? lastino + 1 : 0; breq 796 fs/xfs/xfs_ioctl.c error = xfs_inumbers(&breq, xfs_fsinumbers_fmt); breq 797 fs/xfs/xfs_ioctl.c lastino = breq.startino - 1; breq 799 fs/xfs/xfs_ioctl.c breq.startino = lastino; breq 800 fs/xfs/xfs_ioctl.c breq.icount = 1; breq 801 fs/xfs/xfs_ioctl.c error = xfs_bulkstat_one(&breq, xfs_fsbulkstat_one_fmt); breq 803 fs/xfs/xfs_ioctl.c breq.startino = lastino ? lastino + 1 : 0; breq 804 fs/xfs/xfs_ioctl.c error = xfs_bulkstat(&breq, xfs_fsbulkstat_one_fmt); breq 805 fs/xfs/xfs_ioctl.c lastino = breq.startino - 1; breq 816 fs/xfs/xfs_ioctl.c copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) breq 825 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq, breq 828 fs/xfs/xfs_ioctl.c if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) breq 830 fs/xfs/xfs_ioctl.c return xfs_ibulk_advance(breq, sizeof(struct xfs_bulkstat)); breq 843 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq, breq 851 fs/xfs/xfs_ioctl.c breq->startino = hdr->ino; breq 852 fs/xfs/xfs_ioctl.c breq->ubuffer = ubuffer; breq 853 fs/xfs/xfs_ioctl.c breq->icount = hdr->icount; breq 854 fs/xfs/xfs_ioctl.c breq->ocount = 0; breq 855 fs/xfs/xfs_ioctl.c breq->flags = 0; breq 873 fs/xfs/xfs_ioctl.c breq->icount = 1; breq 885 fs/xfs/xfs_ioctl.c if (breq->startino == 0) breq 886 fs/xfs/xfs_ioctl.c breq->startino = XFS_AGINO_TO_INO(mp, hdr->agno, 0); breq 887 fs/xfs/xfs_ioctl.c else if (XFS_INO_TO_AGNO(mp, breq->startino) < hdr->agno) breq 890 fs/xfs/xfs_ioctl.c breq->flags |= XFS_IBULK_SAME_AG; breq 893 fs/xfs/xfs_ioctl.c if (XFS_INO_TO_AGNO(mp, breq->startino) > hdr->agno) breq 899 fs/xfs/xfs_ioctl.c if (XFS_INO_TO_AGNO(mp, breq->startino) >= mp->m_sb.sb_agcount) breq 912 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq) breq 914 fs/xfs/xfs_ioctl.c hdr->ino = breq->startino; breq 915 fs/xfs/xfs_ioctl.c hdr->ocount = breq->ocount; breq 926 fs/xfs/xfs_ioctl.c struct xfs_ibulk breq = { breq 940 fs/xfs/xfs_ioctl.c error = xfs_bulk_ireq_setup(mp, &hdr, &breq, arg->bulkstat); breq 946 fs/xfs/xfs_ioctl.c error = xfs_bulkstat(&breq, xfs_bulkstat_fmt); breq 951 fs/xfs/xfs_ioctl.c xfs_bulk_ireq_teardown(&hdr, &breq); breq 960 fs/xfs/xfs_ioctl.c struct xfs_ibulk *breq, breq 963 fs/xfs/xfs_ioctl.c if (copy_to_user(breq->ubuffer, igrp, sizeof(struct xfs_inumbers))) breq 965 fs/xfs/xfs_ioctl.c return xfs_ibulk_advance(breq, sizeof(struct xfs_inumbers)); breq 976 fs/xfs/xfs_ioctl.c struct xfs_ibulk breq = { breq 990 fs/xfs/xfs_ioctl.c error = xfs_bulk_ireq_setup(mp, &hdr, &breq, arg->inumbers); breq 996 fs/xfs/xfs_ioctl.c error = xfs_inumbers(&breq, xfs_inumbers_fmt); breq 1001 fs/xfs/xfs_ioctl.c xfs_bulk_ireq_teardown(&hdr, &breq); breq 84 fs/xfs/xfs_ioctl.h int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq, breq 86 fs/xfs/xfs_ioctl.h int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp); breq 84 fs/xfs/xfs_ioctl32.c struct xfs_ibulk *breq, breq 87 fs/xfs/xfs_ioctl32.c struct compat_xfs_inogrp __user *p32 = breq->ubuffer; breq 98 fs/xfs/xfs_ioctl32.c return xfs_ibulk_advance(breq, sizeof(struct compat_xfs_inogrp)); breq 173 fs/xfs/xfs_ioctl32.c struct xfs_ibulk *breq, breq 176 fs/xfs/xfs_ioctl32.c struct compat_xfs_bstat __user *p32 = breq->ubuffer; breq 180 fs/xfs/xfs_ioctl32.c xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); breq 206 fs/xfs/xfs_ioctl32.c return xfs_ibulk_advance(breq, sizeof(struct compat_xfs_bstat)); breq 218 fs/xfs/xfs_ioctl32.c struct xfs_ibulk breq = { breq 278 fs/xfs/xfs_ioctl32.c breq.ubuffer = bulkreq.ubuffer; breq 279 fs/xfs/xfs_ioctl32.c breq.icount = bulkreq.icount; breq 293 fs/xfs/xfs_ioctl32.c breq.startino = lastino ? lastino + 1 : 0; breq 294 fs/xfs/xfs_ioctl32.c error = xfs_inumbers(&breq, inumbers_func); breq 295 fs/xfs/xfs_ioctl32.c lastino = breq.startino - 1; breq 297 fs/xfs/xfs_ioctl32.c breq.startino = lastino; breq 298 fs/xfs/xfs_ioctl32.c breq.icount = 1; breq 299 fs/xfs/xfs_ioctl32.c error = xfs_bulkstat_one(&breq, bs_one_func); breq 300 fs/xfs/xfs_ioctl32.c lastino = breq.startino; breq 302 fs/xfs/xfs_ioctl32.c breq.startino = lastino ? lastino + 1 : 0; breq 303 fs/xfs/xfs_ioctl32.c error = xfs_bulkstat(&breq, bs_one_func); breq 304 fs/xfs/xfs_ioctl32.c lastino = breq.startino - 1; breq 316 fs/xfs/xfs_ioctl32.c copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) breq 34 fs/xfs/xfs_itable.c struct xfs_ibulk *breq; breq 139 fs/xfs/xfs_itable.c error = bc->formatter(bc->breq, buf); breq 152 fs/xfs/xfs_itable.c bc->breq->startino = ino + 1; breq 160 fs/xfs/xfs_itable.c struct xfs_ibulk *breq, breq 165 fs/xfs/xfs_itable.c .breq = breq, breq 169 fs/xfs/xfs_itable.c ASSERT(breq->icount == 1); breq 176 fs/xfs/xfs_itable.c error = xfs_bulkstat_one_int(breq->mp, NULL, breq->startino, &bc); breq 233 fs/xfs/xfs_itable.c struct xfs_ibulk *breq, breq 238 fs/xfs/xfs_itable.c .breq = breq, breq 242 fs/xfs/xfs_itable.c if (xfs_bulkstat_already_done(breq->mp, breq->startino)) breq 250 fs/xfs/xfs_itable.c error = xfs_iwalk(breq->mp, NULL, breq->startino, breq->flags, breq 251 fs/xfs/xfs_itable.c xfs_bulkstat_iwalk, breq->icount, &bc); breq 262 fs/xfs/xfs_itable.c if (breq->ocount > 0) breq 309 fs/xfs/xfs_itable.c struct xfs_ibulk *breq; breq 344 fs/xfs/xfs_itable.c error = ic->formatter(ic->breq, &inogrp); breq 348 fs/xfs/xfs_itable.c ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + breq 358 fs/xfs/xfs_itable.c struct xfs_ibulk *breq, breq 363 fs/xfs/xfs_itable.c .breq = breq, breq 367 fs/xfs/xfs_itable.c if (xfs_bulkstat_already_done(breq->mp, breq->startino)) breq 370 fs/xfs/xfs_itable.c error = xfs_inobt_walk(breq->mp, NULL, breq->startino, breq->flags, breq 371 fs/xfs/xfs_itable.c xfs_inumbers_walk, breq->icount, &ic); breq 380 fs/xfs/xfs_itable.c if (breq->ocount > 0) breq 27 fs/xfs/xfs_itable.h struct xfs_ibulk *breq, breq 30 fs/xfs/xfs_itable.h char __user *b = breq->ubuffer; breq 32 fs/xfs/xfs_itable.h breq->ubuffer = b + bytes; breq 33 fs/xfs/xfs_itable.h breq->ocount++; breq 34 fs/xfs/xfs_itable.h return breq->ocount == breq->icount ? -ECANCELED : 0; breq 49 fs/xfs/xfs_itable.h typedef int (*bulkstat_one_fmt_pf)(struct xfs_ibulk *breq, breq 52 fs/xfs/xfs_itable.h int xfs_bulkstat_one(struct xfs_ibulk *breq, bulkstat_one_fmt_pf formatter); breq 53 fs/xfs/xfs_itable.h int xfs_bulkstat(struct xfs_ibulk *breq, bulkstat_one_fmt_pf formatter); breq 57 fs/xfs/xfs_itable.h typedef int (*inumbers_fmt_pf)(struct xfs_ibulk *breq, breq 60 fs/xfs/xfs_itable.h int xfs_inumbers(struct xfs_ibulk *breq, inumbers_fmt_pf formatter);