Searched refs:inbuf (Results 76 - 100 of 101) sorted by relevance

12345

/linux-master/drivers/usb/class/
H A Dcdc-wdm.c77 u8 *inbuf; /* buffer for response */ member in struct:wdm_device
223 memmove(desc->ubuf + desc->length, desc->inbuf, length);
367 kfree(desc->inbuf);
962 skb_put_data(skb, desc->inbuf, length);
965 /* inbuf has been copied, it is safe to check for outstanding data */
1074 desc->inbuf = kmalloc(desc->wMaxCommand, GFP_KERNEL);
1075 if (!desc->inbuf)
1101 desc->inbuf,
/linux-master/drivers/infiniband/core/
H A Duverbs.h60 udata->inbuf = ibuf;
H A Duverbs_ioctl.c724 udata->inbuf =
728 udata->inbuf = u64_to_user_ptr(in->ptr_attr.data);
730 udata->inbuf = NULL;
H A Duverbs_main.c627 bundle.driver_udata.inbuf = buf + in_len;
629 bundle.driver_udata.inbuf = NULL;
H A Duverbs_cmd.c94 if (copy_from_user(req, attrs->ucore.inbuf,
102 if (!ib_is_buffer_cleared(attrs->ucore.inbuf + req_len,
138 if (copy_from_user(req, attrs->ucore.inbuf, req_len))
141 iter->cur = attrs->ucore.inbuf + req_len;
142 iter->end = attrs->ucore.inbuf + attrs->ucore.inlen;
/linux-master/arch/powerpc/boot/
H A Dops.h256 long partial_decompress(void *inbuf, unsigned long input_size, void *outbuf,
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_internal.h180 struct xdr_buf *inbuf, int offset);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c780 char *inbuf = mmap(NULL, size, PROT_READ, MAP_SHARED, infd, 0); local
784 if (inbuf == MAP_FAILED) {
796 ret = write(outfd, inbuf + off, rem);
807 munmap(inbuf, size);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsiena.c642 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_MCAST_HASH_IN_LEN);
657 memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0),
660 inbuf, sizeof(inbuf), NULL, 0, NULL);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c2920 struct mlx4_access_reg *inbuf, *outbuf; local
2933 inbuf = inbox->buf;
2936 inbuf->constant1 = cpu_to_be16(0x1<<11 | 0x4);
2937 inbuf->constant2 = 0x1;
2938 inbuf->reg_id = cpu_to_be16(reg_id);
2939 inbuf->method = method & MLX4_ACCESS_REG_METHOD_MASK;
2941 reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data)));
2942 inbuf->len_const =
2946 memcpy(inbuf->reg_data, reg_data, reg_len);
2999 struct mlx4_access_reg *inbuf local
[all...]
H A Dport.c1059 u8 *inbuf, *outbuf; local
1072 inbuf = inmailbox->buf;
1074 inbuf[0] = 1;
1075 inbuf[1] = 1;
1076 inbuf[2] = 1;
1077 inbuf[3] = 1;
1078 *(__be16 *) (&inbuf[16]) = cpu_to_be16(0x0015);
1079 *(__be32 *) (&inbuf[20]) = cpu_to_be32(port);
/linux-master/drivers/platform/olpc/
H A Dolpc-xo175-ec.c473 static int olpc_xo175_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *resp, argument
524 memcpy(priv->cmd.args, inbuf, inlen);
/linux-master/drivers/staging/wlan-ng/
H A Dhfa384x_usb.c780 usbctlx_get_status(&ctlx->inbuf.cmdresp, &cmdresult);
1213 &ctlx->inbuf.cmdresp,
1301 &ctlx->inbuf.rridresp,
1388 &ctlx->inbuf.wridresp,
1473 &ctlx->inbuf.rmemresp, data,
1559 &ctlx->inbuf.wmemresp,
3125 memcpy(&ctlx->inbuf, usbin, sizeof(ctlx->inbuf));
H A Dhfa384x.h969 union hfa384x_usbin inbuf; /* pkt buf for IN(a copy) */ member in struct:hfa384x_usbctlx
/linux-master/drivers/scsi/
H A Dhptiop.h337 void *inbuf; member in struct:hpt_ioctl_k
/linux-master/crypto/
H A Ddrbg.c303 u8 *inbuf, u32 inbuflen,
1822 u8 *inbuf, u32 inlen,
1829 if (inbuf) {
1831 sg_set_buf(sg_in, inbuf, inlen);
1821 drbg_kcapi_sym_ctr(struct drbg_state *drbg, u8 *inbuf, u32 inlen, u8 *outbuf, u32 outlen) argument
/linux-master/arch/s390/kernel/
H A Ddebug.c95 char *out_buf, const char *inbuf);
1524 char *out_buf, const char *inbuf)
1526 debug_sprintf_entry_t *curr_event = (debug_sprintf_entry_t *)inbuf;
1523 debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, char *out_buf, const char *inbuf) argument
/linux-master/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c337 u8 *inbuf = NULL; local
369 inbuf = instr->ctx.data.buf.in + start;
370 rk_nfc_read_buf(nfc, inbuf, cnt);
H A Dsunxi_nand.c1770 void *inbuf = NULL; local
1817 inbuf = instr->ctx.data.buf.in + start;
1854 if (inbuf)
1855 memcpy_fromio(inbuf, nfc->regs + NFC_RAM0_BASE, cnt);
/linux-master/drivers/hid/usbhid/
H A Dhid-core.c855 usbhid->inbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL,
862 if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr ||
973 usb_free_coherent(dev, usbhid->bufsize, usbhid->inbuf, usbhid->inbuf_dma);
1135 usb_fill_int_urb(usbhid->urbin, dev, pipe, usbhid->inbuf, insize,
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.c1700 u8 *inbuf = NULL; local
1736 inbuf = memdup_user(buf + intotal, taskin);
1737 if (IS_ERR(inbuf)) {
1738 err = PTR_ERR(inbuf);
1739 inbuf = NULL;
1742 inbuf_dma = dma_map_single(&dd->pdev->dev, inbuf,
1907 if (copy_to_user(buf + intotal, inbuf, taskin)) {
1920 kfree(inbuf);
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c975 const u8 *inbuf, size_t inbufsize,
1033 p += asn1tag_write(p, 0x04, inbuf, inbufsize);
972 ep11_cryptsingle(u16 card, u16 domain, u16 mode, u32 mech, const u8 *iv, const u8 *key, size_t keysize, const u8 *inbuf, size_t inbufsize, u8 *outbuf, size_t *outbufsize) argument
/linux-master/include/rdma/
H A Dib_verbs.h1544 const void __user *inbuf; member in struct:ib_udata
2947 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0;
2977 return ib_is_buffer_cleared(udata->inbuf + offset, len);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_isr.c2771 uint32_t *inbuf, *outbuf; local
2774 inbuf = (uint32_t *)&sts->nvme_ersp_data;
2791 *outbuf++ = swab32(*inbuf++);
/linux-master/tools/perf/
H A Dbuiltin-script.c1166 struct perf_insn *x, u8 *inbuf, int len,
1173 dump_insn(x, ip, inbuf, len, &ilen));
1165 ip__fprintf_jump(uint64_t ip, struct branch_entry *en, struct perf_insn *x, u8 *inbuf, int len, int insn, FILE *fp, int *total_cycles, struct perf_event_attr *attr, struct thread *thread) argument

Completed in 701 milliseconds

12345