rbuf 91 crypto/adiantum.c } rbuf; rbuf 301 crypto/adiantum.c crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes, rbuf 302 crypto/adiantum.c rctx->rbuf.bytes); rbuf 313 crypto/adiantum.c le128_sub(&rctx->rbuf.bignum, &rctx->rbuf.bignum, &digest); rbuf 314 crypto/adiantum.c scatterwalk_map_and_copy(&rctx->rbuf.bignum, req->dst, rbuf 355 crypto/adiantum.c scatterwalk_map_and_copy(&rctx->rbuf.bignum, req->src, rbuf 357 crypto/adiantum.c le128_add(&rctx->rbuf.bignum, &rctx->rbuf.bignum, &digest); rbuf 361 crypto/adiantum.c crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes, rbuf 362 crypto/adiantum.c rctx->rbuf.bytes); rbuf 367 crypto/adiantum.c rctx->rbuf.words[4] = cpu_to_le32(1); rbuf 368 crypto/adiantum.c rctx->rbuf.words[5] = 0; rbuf 369 crypto/adiantum.c rctx->rbuf.words[6] = 0; rbuf 370 crypto/adiantum.c rctx->rbuf.words[7] = 0; rbuf 387 crypto/adiantum.c req->dst, stream_len, &rctx->rbuf); rbuf 2123 drivers/ata/libata-scsi.c unsigned int (*actor)(struct ata_scsi_args *args, u8 *rbuf)) rbuf 2125 drivers/ata/libata-scsi.c u8 *rbuf; rbuf 2130 drivers/ata/libata-scsi.c rbuf = ata_scsi_rbuf_get(cmd, false, &flags); rbuf 2131 drivers/ata/libata-scsi.c rc = actor(args, rbuf); rbuf 2149 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf) rbuf 2200 drivers/ata/libata-scsi.c memcpy(rbuf, hdr, sizeof(hdr)); rbuf 2201 drivers/ata/libata-scsi.c memcpy(&rbuf[8], "ATA ", 8); rbuf 2202 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[16], ATA_ID_PROD, 16); rbuf 2205 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV + 2, 4); rbuf 2206 drivers/ata/libata-scsi.c if (strncmp(&rbuf[32], " ", 4) == 0) rbuf 2207 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV, 4); rbuf 2209 drivers/ata/libata-scsi.c if (rbuf[32] == 0 || rbuf[32] == ' ') rbuf 2210 drivers/ata/libata-scsi.c memcpy(&rbuf[32], "n/a ", 4); rbuf 2213 drivers/ata/libata-scsi.c memcpy(rbuf + 58, versions_zbc, sizeof(versions_zbc)); rbuf 2215 drivers/ata/libata-scsi.c memcpy(rbuf + 58, versions, sizeof(versions)); rbuf 2230 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_00(struct ata_scsi_args *args, u8 *rbuf) rbuf 2247 drivers/ata/libata-scsi.c rbuf[3] = num_pages; /* number of supported VPD pages */ rbuf 2248 drivers/ata/libata-scsi.c memcpy(rbuf + 4, pages, num_pages); rbuf 2262 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_80(struct ata_scsi_args *args, u8 *rbuf) rbuf 2271 drivers/ata/libata-scsi.c memcpy(rbuf, hdr, sizeof(hdr)); rbuf 2272 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) &rbuf[4], rbuf 2290 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_83(struct ata_scsi_args *args, u8 *rbuf) rbuf 2295 drivers/ata/libata-scsi.c rbuf[1] = 0x83; /* this page code */ rbuf 2299 drivers/ata/libata-scsi.c rbuf[num + 0] = 2; rbuf 2300 drivers/ata/libata-scsi.c rbuf[num + 3] = ATA_ID_SERNO_LEN; rbuf 2302 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, rbuf 2308 drivers/ata/libata-scsi.c rbuf[num + 0] = 2; rbuf 2309 drivers/ata/libata-scsi.c rbuf[num + 1] = 1; rbuf 2310 drivers/ata/libata-scsi.c rbuf[num + 3] = sat_model_serial_desc_len; rbuf 2312 drivers/ata/libata-scsi.c memcpy(rbuf + num, "ATA ", 8); rbuf 2314 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_PROD, rbuf 2317 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_SERNO, rbuf 2324 drivers/ata/libata-scsi.c rbuf[num + 0] = 1; rbuf 2325 drivers/ata/libata-scsi.c rbuf[num + 1] = 3; rbuf 2326 drivers/ata/libata-scsi.c rbuf[num + 3] = ATA_ID_WWN_LEN; rbuf 2328 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, rbuf 2332 drivers/ata/libata-scsi.c rbuf[3] = num - 4; /* page len (assume less than 256 bytes) */ rbuf 2346 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf) rbuf 2352 drivers/ata/libata-scsi.c rbuf[1] = 0x89; /* our page code */ rbuf 2353 drivers/ata/libata-scsi.c rbuf[2] = (0x238 >> 8); /* page size fixed at 238h */ rbuf 2354 drivers/ata/libata-scsi.c rbuf[3] = (0x238 & 0xff); rbuf 2356 drivers/ata/libata-scsi.c memcpy(&rbuf[8], "linux ", 8); rbuf 2357 drivers/ata/libata-scsi.c memcpy(&rbuf[16], "libata ", 16); rbuf 2358 drivers/ata/libata-scsi.c memcpy(&rbuf[32], DRV_VERSION, 4); rbuf 2366 drivers/ata/libata-scsi.c ata_tf_to_fis(&tf, 0, 1, &rbuf[36]); /* TODO: PMP? */ rbuf 2367 drivers/ata/libata-scsi.c rbuf[36] = 0x34; /* force D2H Reg FIS (34h) */ rbuf 2369 drivers/ata/libata-scsi.c rbuf[56] = ATA_CMD_ID_ATA; rbuf 2371 drivers/ata/libata-scsi.c memcpy(&rbuf[60], &args->id[0], 512); rbuf 2375 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b0(struct ata_scsi_args *args, u8 *rbuf) rbuf 2379 drivers/ata/libata-scsi.c rbuf[1] = 0xb0; rbuf 2380 drivers/ata/libata-scsi.c rbuf[3] = 0x3c; /* required VPD size with unmap support */ rbuf 2390 drivers/ata/libata-scsi.c put_unaligned_be16(min_io_sectors, &rbuf[6]); rbuf 2402 drivers/ata/libata-scsi.c put_unaligned_be64(65535 * ATA_MAX_TRIM_RNUM, &rbuf[36]); rbuf 2403 drivers/ata/libata-scsi.c put_unaligned_be32(1, &rbuf[28]); rbuf 2409 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b1(struct ata_scsi_args *args, u8 *rbuf) rbuf 2415 drivers/ata/libata-scsi.c rbuf[1] = 0xb1; rbuf 2416 drivers/ata/libata-scsi.c rbuf[3] = 0x3c; rbuf 2417 drivers/ata/libata-scsi.c rbuf[4] = media_rotation_rate >> 8; rbuf 2418 drivers/ata/libata-scsi.c rbuf[5] = media_rotation_rate; rbuf 2419 drivers/ata/libata-scsi.c rbuf[7] = form_factor; rbuf 2421 drivers/ata/libata-scsi.c rbuf[8] = (zoned << 4); rbuf 2426 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b2(struct ata_scsi_args *args, u8 *rbuf) rbuf 2429 drivers/ata/libata-scsi.c rbuf[1] = 0xb2; rbuf 2430 drivers/ata/libata-scsi.c rbuf[3] = 0x4; rbuf 2431 drivers/ata/libata-scsi.c rbuf[5] = 1 << 6; /* TPWS */ rbuf 2436 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b6(struct ata_scsi_args *args, u8 *rbuf) rbuf 2441 drivers/ata/libata-scsi.c rbuf[1] = 0xb6; rbuf 2442 drivers/ata/libata-scsi.c rbuf[3] = 0x3C; rbuf 2448 drivers/ata/libata-scsi.c rbuf[4] |= 1; rbuf 2449 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_optimal_open, &rbuf[8]); rbuf 2450 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_optimal_nonseq, &rbuf[12]); rbuf 2451 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_max_open, &rbuf[16]); rbuf 2582 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_mode_sense(struct ata_scsi_args *args, u8 *rbuf) rbuf 2585 drivers/ata/libata-scsi.c u8 *scsicmd = args->cmd->cmnd, *p = rbuf; rbuf 2664 drivers/ata/libata-scsi.c rbuf[0] = p - rbuf - 1; rbuf 2665 drivers/ata/libata-scsi.c rbuf[2] |= dpofua; rbuf 2667 drivers/ata/libata-scsi.c rbuf[3] = sizeof(sat_blk_desc); rbuf 2668 drivers/ata/libata-scsi.c memcpy(rbuf + 4, sat_blk_desc, sizeof(sat_blk_desc)); rbuf 2671 drivers/ata/libata-scsi.c unsigned int output_len = p - rbuf - 2; rbuf 2673 drivers/ata/libata-scsi.c rbuf[0] = output_len >> 8; rbuf 2674 drivers/ata/libata-scsi.c rbuf[1] = output_len; rbuf 2675 drivers/ata/libata-scsi.c rbuf[3] |= dpofua; rbuf 2677 drivers/ata/libata-scsi.c rbuf[7] = sizeof(sat_blk_desc); rbuf 2678 drivers/ata/libata-scsi.c memcpy(rbuf + 8, sat_blk_desc, sizeof(sat_blk_desc)); rbuf 2703 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf) rbuf 2722 drivers/ata/libata-scsi.c rbuf[0] = last_lba >> (8 * 3); rbuf 2723 drivers/ata/libata-scsi.c rbuf[1] = last_lba >> (8 * 2); rbuf 2724 drivers/ata/libata-scsi.c rbuf[2] = last_lba >> (8 * 1); rbuf 2725 drivers/ata/libata-scsi.c rbuf[3] = last_lba; rbuf 2728 drivers/ata/libata-scsi.c rbuf[4] = sector_size >> (8 * 3); rbuf 2729 drivers/ata/libata-scsi.c rbuf[5] = sector_size >> (8 * 2); rbuf 2730 drivers/ata/libata-scsi.c rbuf[6] = sector_size >> (8 * 1); rbuf 2731 drivers/ata/libata-scsi.c rbuf[7] = sector_size; rbuf 2734 drivers/ata/libata-scsi.c rbuf[0] = last_lba >> (8 * 7); rbuf 2735 drivers/ata/libata-scsi.c rbuf[1] = last_lba >> (8 * 6); rbuf 2736 drivers/ata/libata-scsi.c rbuf[2] = last_lba >> (8 * 5); rbuf 2737 drivers/ata/libata-scsi.c rbuf[3] = last_lba >> (8 * 4); rbuf 2738 drivers/ata/libata-scsi.c rbuf[4] = last_lba >> (8 * 3); rbuf 2739 drivers/ata/libata-scsi.c rbuf[5] = last_lba >> (8 * 2); rbuf 2740 drivers/ata/libata-scsi.c rbuf[6] = last_lba >> (8 * 1); rbuf 2741 drivers/ata/libata-scsi.c rbuf[7] = last_lba; rbuf 2744 drivers/ata/libata-scsi.c rbuf[ 8] = sector_size >> (8 * 3); rbuf 2745 drivers/ata/libata-scsi.c rbuf[ 9] = sector_size >> (8 * 2); rbuf 2746 drivers/ata/libata-scsi.c rbuf[10] = sector_size >> (8 * 1); rbuf 2747 drivers/ata/libata-scsi.c rbuf[11] = sector_size; rbuf 2749 drivers/ata/libata-scsi.c rbuf[12] = 0; rbuf 2750 drivers/ata/libata-scsi.c rbuf[13] = log2_per_phys; rbuf 2751 drivers/ata/libata-scsi.c rbuf[14] = (lowest_aligned >> 8) & 0x3f; rbuf 2752 drivers/ata/libata-scsi.c rbuf[15] = lowest_aligned; rbuf 2756 drivers/ata/libata-scsi.c rbuf[14] |= 0x80; /* LBPME */ rbuf 2761 drivers/ata/libata-scsi.c rbuf[14] |= 0x40; /* LBPRZ */ rbuf 2766 drivers/ata/libata-scsi.c rbuf[12] = (1 << 4); /* RC_BASIS */ rbuf 2781 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf) rbuf 2784 drivers/ata/libata-scsi.c rbuf[3] = 8; /* just one lun, LUN 0, size 8 bytes */ rbuf 3562 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_maint_in(struct ata_scsi_args *args, u8 *rbuf) rbuf 3619 drivers/ata/libata-scsi.c rbuf[1] = supported; /* supported */ rbuf 568 drivers/block/drbd/drbd_int.h void *rbuf; rbuf 2550 drivers/block/drbd/drbd_main.c socket->rbuf = (void *) __get_free_page(GFP_KERNEL); rbuf 2551 drivers/block/drbd/drbd_main.c if (!socket->rbuf) rbuf 2562 drivers/block/drbd/drbd_main.c free_page((unsigned long) socket->rbuf); rbuf 827 drivers/block/drbd/drbd_receiver.c err = drbd_recv_short(sock, connection->data.rbuf, header_size, 0); rbuf 833 drivers/block/drbd/drbd_receiver.c err = decode_header(connection, connection->data.rbuf, &pi); rbuf 940 drivers/block/drbd/drbd_receiver.c sock.rbuf = connection->data.rbuf; rbuf 944 drivers/block/drbd/drbd_receiver.c msock.rbuf = connection->meta.rbuf; rbuf 1199 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; rbuf 1214 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; rbuf 1237 drivers/block/drbd/drbd_receiver.c err = decode_header(connection, connection->data.rbuf, pi); rbuf 3842 drivers/block/drbd/drbd_receiver.c void *buffer = connection->data.rbuf; rbuf 6017 drivers/block/drbd/drbd_receiver.c void *buf = connection->meta.rbuf; rbuf 6096 drivers/block/drbd/drbd_receiver.c if (decode_header(connection, connection->meta.rbuf, &pi)) rbuf 6127 drivers/block/drbd/drbd_receiver.c buf = connection->meta.rbuf; rbuf 109 drivers/char/pcmcia/cm4000_cs.c unsigned char rbuf[512]; rbuf 995 drivers/char/pcmcia/cm4000_cs.c dev->rbuf[i] = xinb(REG_BUF_DATA(iobase)); rbuf 1004 drivers/char/pcmcia/cm4000_cs.c dev->rbuf[i] = xinb(REG_BUF_DATA(iobase)); rbuf 1010 drivers/char/pcmcia/cm4000_cs.c dev->rbuf[i] = dev->rbuf[i - 1]; rbuf 1011 drivers/char/pcmcia/cm4000_cs.c dev->rbuf[i - 1] = dev->procbyte; rbuf 1031 drivers/char/pcmcia/cm4000_cs.c str_invert_revert(dev->rbuf, count); rbuf 1033 drivers/char/pcmcia/cm4000_cs.c if (copy_to_user(buf, dev->rbuf, count)) rbuf 356 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h struct amdgpu_bo *rbuf; rbuf 110 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c &adev->firmware.rbuf, rbuf 185 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c amdgpu_bo_free_kernel(&adev->firmware.rbuf, rbuf 383 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c &adev->firmware.rbuf, rbuf 500 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c amdgpu_bo_free_kernel(&adev->firmware.rbuf, rbuf 220 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c &adev->firmware.rbuf, rbuf 330 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c amdgpu_bo_free_kernel(&adev->firmware.rbuf, rbuf 253 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c &adev->firmware.rbuf, rbuf 406 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c amdgpu_bo_free_kernel(&adev->firmware.rbuf, rbuf 76 drivers/gpu/drm/panel/panel-sony-acx565akm.c const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 113 drivers/gpu/drm/panel/panel-sony-acx565akm.c x->rx_buf = rbuf; rbuf 131 drivers/i2c/busses/i2c-jz4780.c unsigned char *rbuf; rbuf 431 drivers/i2c/busses/i2c-jz4780.c *(i2c->rbuf++) = jz4780_i2c_readw(i2c, JZ4780_I2C_DC) rbuf 533 drivers/i2c/busses/i2c-jz4780.c i2c->rbuf = buf; rbuf 468 drivers/i2c/busses/i2c-st.c u16 rbuf; rbuf 479 drivers/i2c/busses/i2c-st.c rbuf = readl_relaxed(i2c_dev->base + SSC_RBUF) >> 1; rbuf 480 drivers/i2c/busses/i2c-st.c *c->buf++ = (u8)rbuf & 0xff; rbuf 342 drivers/i2c/busses/i2c-stm32f4.c u32 rbuf; rbuf 344 drivers/i2c/busses/i2c-stm32f4.c rbuf = readl_relaxed(i2c_dev->base + STM32F4_I2C_DR); rbuf 345 drivers/i2c/busses/i2c-stm32f4.c *msg->buf++ = rbuf; rbuf 136 drivers/iio/adc/twl4030-madc.c int rbuf[TWL4030_MADC_MAX_CHANNELS]; rbuf 194 drivers/iio/adc/twl4030-madc.c *val = req.rbuf[chan->channel]; rbuf 508 drivers/iio/adc/twl4030-madc.c r->channels, r->rbuf, r->raw); rbuf 529 drivers/iio/adc/twl4030-madc.c r->channels, r->rbuf, r->raw); rbuf 663 drivers/iio/adc/twl4030-madc.c req->channels, req->rbuf, req->raw); rbuf 347 drivers/infiniband/hw/hfi1/common.h static inline __u64 rhf_to_cpu(const __le32 *rbuf) rbuf 349 drivers/infiniband/hw/hfi1/common.h return __le64_to_cpu(*((__le64 *)rbuf)); rbuf 544 drivers/infiniband/hw/i40iw/i40iw.h void i40iw_receive_ilq(struct i40iw_sc_vsi *vsi, struct i40iw_puda_buf *rbuf); rbuf 2408 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2462 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2465 drivers/infiniband/hw/i40iw/i40iw_cm.c int datasize = rbuf->datalen; rbuf 2466 drivers/infiniband/hw/i40iw/i40iw_cm.c u8 *dataloc = rbuf->data; rbuf 2579 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2581 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; rbuf 2648 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2650 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; rbuf 2722 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2724 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; rbuf 2728 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 datasize = rbuf->datalen; rbuf 2746 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_rcv_mpa(cm_node, rbuf); rbuf 2753 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_rcv_mpa(cm_node, rbuf); rbuf 2761 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_rcv_mpa(cm_node, rbuf); rbuf 2806 drivers/infiniband/hw/i40iw/i40iw_cm.c struct i40iw_puda_buf *rbuf) rbuf 2809 drivers/infiniband/hw/i40iw/i40iw_cm.c struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; rbuf 2827 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_syn_pkt(cm_node, rbuf); rbuf 2830 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_synack_pkt(cm_node, rbuf); rbuf 2833 drivers/infiniband/hw/i40iw/i40iw_cm.c ret = i40iw_handle_ack_pkt(cm_node, rbuf); rbuf 2838 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_handle_rst_pkt(cm_node, rbuf); rbuf 2842 drivers/infiniband/hw/i40iw/i40iw_cm.c (!i40iw_check_seq(cm_node, (struct tcphdr *)rbuf->tcph))) rbuf 3123 drivers/infiniband/hw/i40iw/i40iw_cm.c void i40iw_receive_ilq(struct i40iw_sc_vsi *vsi, struct i40iw_puda_buf *rbuf) rbuf 3138 drivers/infiniband/hw/i40iw/i40iw_cm.c iph = (struct iphdr *)rbuf->iph; rbuf 3144 drivers/infiniband/hw/i40iw/i40iw_cm.c rbuf->mem.va, rbuf 3145 drivers/infiniband/hw/i40iw/i40iw_cm.c rbuf->totallen); rbuf 3146 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh = (struct vlan_ethhdr *)rbuf->mem.va; rbuf 3160 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph = (struct tcphdr *)rbuf->tcph; rbuf 3162 drivers/infiniband/hw/i40iw/i40iw_cm.c if (rbuf->ipv4) { rbuf 3168 drivers/infiniband/hw/i40iw/i40iw_cm.c ip6h = (struct ipv6hdr *)rbuf->iph; rbuf 3226 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_process_packet(cm_node, rbuf); rbuf 759 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_err_flags(const __le32 *rbuf) rbuf 761 drivers/infiniband/hw/qib/qib_common.h return __le32_to_cpu(rbuf[1]) & QLOGIC_IB_RHF_H_ERR_MASK; rbuf 764 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_rcv_type(const __le32 *rbuf) rbuf 766 drivers/infiniband/hw/qib/qib_common.h return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_RCVTYPE_SHIFT) & rbuf 770 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_length_in_bytes(const __le32 *rbuf) rbuf 772 drivers/infiniband/hw/qib/qib_common.h return ((__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_LENGTH_SHIFT) & rbuf 776 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_index(const __le32 *rbuf) rbuf 778 drivers/infiniband/hw/qib/qib_common.h return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_EGRINDEX_SHIFT) & rbuf 782 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_seq(const __le32 *rbuf) rbuf 784 drivers/infiniband/hw/qib/qib_common.h return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_SEQ_SHIFT) & rbuf 788 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_offset(const __le32 *rbuf) rbuf 790 drivers/infiniband/hw/qib/qib_common.h return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_HDRQ_OFFSET_SHIFT) & rbuf 794 drivers/infiniband/hw/qib/qib_common.h static inline __u32 qib_hdrget_use_egr_buf(const __le32 *rbuf) rbuf 796 drivers/infiniband/hw/qib/qib_common.h return __le32_to_cpu(rbuf[0]) & QLOGIC_IB_RHF_L_USE_EGR; rbuf 371 drivers/input/touchscreen/raydium_i2c_ts.c u8 rbuf[sizeof(ack_ok)]; rbuf 382 drivers/input/touchscreen/raydium_i2c_ts.c &rbuf[0], 1); rbuf 383 drivers/input/touchscreen/raydium_i2c_ts.c if (!error && rbuf[0] == RM_BOOT_RDY) rbuf 390 drivers/input/touchscreen/raydium_i2c_ts.c rbuf, sizeof(rbuf)); rbuf 391 drivers/input/touchscreen/raydium_i2c_ts.c if (!error && !memcmp(rbuf, ack_ok, sizeof(ack_ok))) rbuf 17 drivers/media/common/b2c2/flexcop-eeprom.c u32 len, u8 *wbuf, u8 *rbuf, int retries) rbuf 23 drivers/media/common/b2c2/flexcop-eeprom.c if (eeprom_lrc_read(adapter, addr, len, rbuf, retries) == 1) rbuf 34 drivers/media/common/b2c2/flexcop-eeprom.c u8 rbuf[20]; rbuf 45 drivers/media/common/b2c2/flexcop-eeprom.c return eeprom_lrc_write(adapter, 0x3e4, 20, wbuf, rbuf, 4); rbuf 38 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len) rbuf 40 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->pread=rbuf->pwrite=0; rbuf 41 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->data=data; rbuf 42 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->size=len; rbuf 43 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->error=0; rbuf 45 drivers/media/dvb-core/dvb_ringbuffer.c init_waitqueue_head(&rbuf->queue); rbuf 47 drivers/media/dvb-core/dvb_ringbuffer.c spin_lock_init(&(rbuf->lock)); rbuf 52 drivers/media/dvb-core/dvb_ringbuffer.c int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf) rbuf 60 drivers/media/dvb-core/dvb_ringbuffer.c return (rbuf->pread == smp_load_acquire(&rbuf->pwrite)); rbuf 65 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_free(struct dvb_ringbuffer *rbuf) rbuf 74 drivers/media/dvb-core/dvb_ringbuffer.c free = READ_ONCE(rbuf->pread) - rbuf->pwrite; rbuf 76 drivers/media/dvb-core/dvb_ringbuffer.c free += rbuf->size; rbuf 82 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_avail(struct dvb_ringbuffer *rbuf) rbuf 90 drivers/media/dvb-core/dvb_ringbuffer.c avail = smp_load_acquire(&rbuf->pwrite) - rbuf->pread; rbuf 92 drivers/media/dvb-core/dvb_ringbuffer.c avail += rbuf->size; rbuf 98 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf) rbuf 106 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, smp_load_acquire(&rbuf->pwrite)); rbuf 107 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->error = 0; rbuf 111 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_reset(struct dvb_ringbuffer *rbuf) rbuf 116 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, 0); rbuf 118 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, 0); rbuf 119 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->error = 0; rbuf 122 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_flush_spinlock_wakeup(struct dvb_ringbuffer *rbuf) rbuf 126 drivers/media/dvb-core/dvb_ringbuffer.c spin_lock_irqsave(&rbuf->lock, flags); rbuf 127 drivers/media/dvb-core/dvb_ringbuffer.c dvb_ringbuffer_flush(rbuf); rbuf 128 drivers/media/dvb-core/dvb_ringbuffer.c spin_unlock_irqrestore(&rbuf->lock, flags); rbuf 130 drivers/media/dvb-core/dvb_ringbuffer.c wake_up(&rbuf->queue); rbuf 133 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, u8 __user *buf, size_t len) rbuf 138 drivers/media/dvb-core/dvb_ringbuffer.c split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; rbuf 140 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+rbuf->pread, split)) rbuf 148 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, 0); rbuf 150 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+rbuf->pread, todo)) rbuf 154 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); rbuf 159 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, u8 *buf, size_t len) rbuf 164 drivers/media/dvb-core/dvb_ringbuffer.c split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; rbuf 166 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+rbuf->pread, split); rbuf 173 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, 0); rbuf 175 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+rbuf->pread, todo); rbuf 178 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); rbuf 182 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, size_t len) rbuf 187 drivers/media/dvb-core/dvb_ringbuffer.c split = (rbuf->pwrite + len > rbuf->size) ? rbuf->size - rbuf->pwrite : 0; rbuf 190 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(rbuf->data+rbuf->pwrite, buf, split); rbuf 198 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, 0); rbuf 200 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(rbuf->data+rbuf->pwrite, buf, todo); rbuf 202 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); rbuf 207 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_write_user(struct dvb_ringbuffer *rbuf, rbuf 214 drivers/media/dvb-core/dvb_ringbuffer.c split = (rbuf->pwrite + len > rbuf->size) ? rbuf->size - rbuf->pwrite : 0; rbuf 217 drivers/media/dvb-core/dvb_ringbuffer.c status = copy_from_user(rbuf->data+rbuf->pwrite, buf, split); rbuf 227 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, 0); rbuf 229 drivers/media/dvb-core/dvb_ringbuffer.c status = copy_from_user(rbuf->data+rbuf->pwrite, buf, todo); rbuf 233 drivers/media/dvb-core/dvb_ringbuffer.c smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); rbuf 238 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_pkt_write(struct dvb_ringbuffer *rbuf, u8* buf, size_t len) rbuf 241 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t oldpwrite = rbuf->pwrite; rbuf 243 drivers/media/dvb-core/dvb_ringbuffer.c DVB_RINGBUFFER_WRITE_BYTE(rbuf, len >> 8); rbuf 244 drivers/media/dvb-core/dvb_ringbuffer.c DVB_RINGBUFFER_WRITE_BYTE(rbuf, len & 0xff); rbuf 245 drivers/media/dvb-core/dvb_ringbuffer.c DVB_RINGBUFFER_WRITE_BYTE(rbuf, PKT_READY); rbuf 246 drivers/media/dvb-core/dvb_ringbuffer.c status = dvb_ringbuffer_write(rbuf, buf, len); rbuf 248 drivers/media/dvb-core/dvb_ringbuffer.c if (status < 0) rbuf->pwrite = oldpwrite; rbuf 252 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, size_t idx, rbuf 259 drivers/media/dvb-core/dvb_ringbuffer.c pktlen = rbuf->data[idx] << 8; rbuf 260 drivers/media/dvb-core/dvb_ringbuffer.c pktlen |= rbuf->data[(idx + 1) % rbuf->size]; rbuf 264 drivers/media/dvb-core/dvb_ringbuffer.c idx = (idx + DVB_RINGBUFFER_PKTHDRSIZE + offset) % rbuf->size; rbuf 266 drivers/media/dvb-core/dvb_ringbuffer.c split = ((idx + len) > rbuf->size) ? rbuf->size - idx : 0; rbuf 268 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+idx, split)) rbuf 274 drivers/media/dvb-core/dvb_ringbuffer.c if (copy_to_user(buf, rbuf->data+idx, todo)) rbuf 280 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx, rbuf 287 drivers/media/dvb-core/dvb_ringbuffer.c pktlen = rbuf->data[idx] << 8; rbuf 288 drivers/media/dvb-core/dvb_ringbuffer.c pktlen |= rbuf->data[(idx + 1) % rbuf->size]; rbuf 292 drivers/media/dvb-core/dvb_ringbuffer.c idx = (idx + DVB_RINGBUFFER_PKTHDRSIZE + offset) % rbuf->size; rbuf 294 drivers/media/dvb-core/dvb_ringbuffer.c split = ((idx + len) > rbuf->size) ? rbuf->size - idx : 0; rbuf 296 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+idx, split); rbuf 301 drivers/media/dvb-core/dvb_ringbuffer.c memcpy(buf, rbuf->data+idx, todo); rbuf 305 drivers/media/dvb-core/dvb_ringbuffer.c void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx) rbuf 309 drivers/media/dvb-core/dvb_ringbuffer.c rbuf->data[(idx + 2) % rbuf->size] = PKT_DISPOSED; rbuf 312 drivers/media/dvb-core/dvb_ringbuffer.c while(dvb_ringbuffer_avail(rbuf) > DVB_RINGBUFFER_PKTHDRSIZE) { rbuf 313 drivers/media/dvb-core/dvb_ringbuffer.c if (DVB_RINGBUFFER_PEEK(rbuf, 2) == PKT_DISPOSED) { rbuf 314 drivers/media/dvb-core/dvb_ringbuffer.c pktlen = DVB_RINGBUFFER_PEEK(rbuf, 0) << 8; rbuf 315 drivers/media/dvb-core/dvb_ringbuffer.c pktlen |= DVB_RINGBUFFER_PEEK(rbuf, 1); rbuf 316 drivers/media/dvb-core/dvb_ringbuffer.c DVB_RINGBUFFER_SKIP(rbuf, pktlen + DVB_RINGBUFFER_PKTHDRSIZE); rbuf 324 drivers/media/dvb-core/dvb_ringbuffer.c ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer *rbuf, size_t idx, size_t* pktlen) rbuf 331 drivers/media/dvb-core/dvb_ringbuffer.c idx = rbuf->pread; rbuf 333 drivers/media/dvb-core/dvb_ringbuffer.c curpktlen = rbuf->data[idx] << 8; rbuf 334 drivers/media/dvb-core/dvb_ringbuffer.c curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; rbuf 335 drivers/media/dvb-core/dvb_ringbuffer.c idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; rbuf 338 drivers/media/dvb-core/dvb_ringbuffer.c consumed = (idx - rbuf->pread) % rbuf->size; rbuf 340 drivers/media/dvb-core/dvb_ringbuffer.c while((dvb_ringbuffer_avail(rbuf) - consumed) > DVB_RINGBUFFER_PKTHDRSIZE) { rbuf 342 drivers/media/dvb-core/dvb_ringbuffer.c curpktlen = rbuf->data[idx] << 8; rbuf 343 drivers/media/dvb-core/dvb_ringbuffer.c curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; rbuf 344 drivers/media/dvb-core/dvb_ringbuffer.c curpktstatus = rbuf->data[(idx + 2) % rbuf->size]; rbuf 352 drivers/media/dvb-core/dvb_ringbuffer.c idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; rbuf 58 drivers/media/dvb-frontends/cxd2099.c u8 rbuf[1028]; rbuf 440 drivers/media/dvb-frontends/cxd2099.c read_data(ca, slot, ci->rbuf, 0); rbuf 470 drivers/media/dvb-frontends/cxd2099.c read_data(ca, slot, ci->rbuf, 0); rbuf 572 drivers/media/dvb-frontends/cxd2099.c read_block(ci, 0x12, ci->rbuf, len); rbuf 143 drivers/media/i2c/m5mols/m5mols_core.c u8 rbuf[M5MOLS_I2C_MAX_SIZE + 1]; rbuf 166 drivers/media/i2c/m5mols/m5mols_core.c msg[1].buf = rbuf; rbuf 174 drivers/media/i2c/m5mols/m5mols_core.c *val = m5mols_swap_byte(&rbuf[1], size); rbuf 143 drivers/media/i2c/s5c73m3/s5c73m3-core.c u8 rbuf[2], wbuf[2] = { addr >> 8, addr & 0xff }; rbuf 153 drivers/media/i2c/s5c73m3/s5c73m3-core.c .len = sizeof(rbuf), rbuf 154 drivers/media/i2c/s5c73m3/s5c73m3-core.c .buf = rbuf rbuf 163 drivers/media/i2c/s5c73m3/s5c73m3-core.c *data = be16_to_cpup((__be16 *)rbuf); rbuf 205 drivers/media/i2c/s5k4ecgx.c u8 rbuf[2]; rbuf 216 drivers/media/i2c/s5k4ecgx.c msg[1].buf = rbuf; rbuf 219 drivers/media/i2c/s5k4ecgx.c *val = be16_to_cpu(*((__be16 *)rbuf)); rbuf 333 drivers/media/i2c/s5k6aa.c u8 rbuf[2]; rbuf 344 drivers/media/i2c/s5k6aa.c msg[1].buf = rbuf; rbuf 347 drivers/media/i2c/s5k6aa.c *val = be16_to_cpu(*((__be16 *)rbuf)); rbuf 2592 drivers/media/pci/ddbridge/ddbridge-core.c static int flashio(struct ddb *dev, u32 lnr, u8 *wbuf, u32 wlen, u8 *rbuf, rbuf 2644 drivers/media/pci/ddbridge/ddbridge-core.c *(u32 *)rbuf = swab32(data); rbuf 2645 drivers/media/pci/ddbridge/ddbridge-core.c rbuf += 4; rbuf 2661 drivers/media/pci/ddbridge/ddbridge-core.c *rbuf = ((data >> 24) & 0xff); rbuf 2663 drivers/media/pci/ddbridge/ddbridge-core.c rbuf++; rbuf 102 drivers/media/pci/ddbridge/ddbridge-i2c.c i2c->rbuf, msg[0].len); rbuf 123 drivers/media/pci/ddbridge/ddbridge-i2c.c i2c->rbuf, rbuf 172 drivers/media/pci/ddbridge/ddbridge-i2c.c i2c->rbuf = i2c->wbuf; /* + i2c->bsize / 2 */ rbuf 176 drivers/media/pci/ddbridge/ddbridge-i2c.c ddbwritel(dev, ((i2c->rbuf & 0xffff) << 16) | (i2c->wbuf & 0xffff), rbuf 34 drivers/media/pci/ddbridge/ddbridge-i2c.h u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) rbuf 39 drivers/media/pci/ddbridge/ddbridge-i2c.h .buf = rbuf, .len = rlen } }; rbuf 214 drivers/media/pci/ddbridge/ddbridge.h u32 rbuf; rbuf 45 drivers/media/pci/ngene/ngene-cards.c u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) rbuf 50 drivers/media/pci/ngene/ngene-cards.c .buf = rbuf, .len = rlen } }; rbuf 82 drivers/media/pci/ngene/ngene-dvb.c struct dvb_ringbuffer *rbuf = &dev->tsin_rbuf; rbuf 86 drivers/media/pci/ngene/ngene-dvb.c poll_wait(file, &rbuf->queue, wait); rbuf 89 drivers/media/pci/ngene/ngene-dvb.c if (!dvb_ringbuffer_empty(rbuf)) rbuf 202 drivers/media/pci/pt1/pt1.c u8 wbuf, rbuf; rbuf 213 drivers/media/pci/pt1/pt1.c msg[1].buf = &rbuf; rbuf 217 drivers/media/pci/pt1/pt1.c if (rbuf != 0x41) rbuf 1009 drivers/media/pci/saa7134/saa7134-dvb.c u8 rbuf; rbuf 1011 drivers/media/pci/saa7134/saa7134-dvb.c { .addr = 0x08, .flags = I2C_M_RD, .buf = &rbuf, .len = 1 } }; rbuf 1017 drivers/media/pci/saa7134/saa7134-dvb.c wbuf[1] = rbuf | 0x10; rbuf 1019 drivers/media/pci/saa7134/saa7134-dvb.c wbuf[1] = rbuf & 0xef; rbuf 384 drivers/media/pci/ttpci/av7110_av.c static inline long aux_ring_buffer_write(struct dvb_ringbuffer *rbuf, rbuf 391 drivers/media/pci/ttpci/av7110_av.c if (dvb_ringbuffer_free(rbuf) < 2048) { rbuf 392 drivers/media/pci/ttpci/av7110_av.c if (wait_event_interruptible(rbuf->queue, rbuf 393 drivers/media/pci/ttpci/av7110_av.c (dvb_ringbuffer_free(rbuf) >= 2048))) rbuf 396 drivers/media/pci/ttpci/av7110_av.c free = dvb_ringbuffer_free(rbuf); rbuf 399 drivers/media/pci/ttpci/av7110_av.c dvb_ringbuffer_write(rbuf, buf, free); rbuf 216 drivers/media/pci/ttpci/av7110_ca.c struct dvb_ringbuffer *rbuf = &av7110->ci_rbuffer; rbuf 222 drivers/media/pci/ttpci/av7110_ca.c poll_wait(file, &rbuf->queue, wait); rbuf 225 drivers/media/pci/ttpci/av7110_ca.c if (!dvb_ringbuffer_empty(rbuf)) rbuf 107 drivers/media/usb/dvb-usb-v2/af9035.c memcpy(req->rbuf, &state->buf[ACK_HDR_LEN], req->rlen); rbuf 486 drivers/media/usb/dvb-usb-v2/af9035.c u8 rbuf[4]; rbuf 488 drivers/media/usb/dvb-usb-v2/af9035.c sizeof(rbuf), rbuf }; rbuf 490 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_rd_regs(d, 0x1222, rbuf, 3); rbuf 494 drivers/media/usb/dvb-usb-v2/af9035.c state->chip_version = rbuf[0]; rbuf 495 drivers/media/usb/dvb-usb-v2/af9035.c state->chip_type = rbuf[2] << 8 | rbuf[1] << 0; rbuf 575 drivers/media/usb/dvb-usb-v2/af9035.c dev_dbg(&intf->dev, "reply=%*ph\n", 4, rbuf); rbuf 576 drivers/media/usb/dvb-usb-v2/af9035.c if (rbuf[0] || rbuf[1] || rbuf[2] || rbuf[3]) rbuf 726 drivers/media/usb/dvb-usb-v2/af9035.c u8 rbuf[4]; rbuf 729 drivers/media/usb/dvb-usb-v2/af9035.c struct usb_req req_fw_ver = { CMD_FW_QUERYINFO, 0, 1, wbuf, 4, rbuf }; rbuf 802 drivers/media/usb/dvb-usb-v2/af9035.c if (!(rbuf[0] || rbuf[1] || rbuf[2] || rbuf[3])) { rbuf 809 drivers/media/usb/dvb-usb-v2/af9035.c rbuf[0], rbuf[1], rbuf[2], rbuf[3]); rbuf 42 drivers/media/usb/dvb-usb-v2/af9035.h u8 *rbuf; rbuf 37 drivers/media/usb/dvb-usb-v2/anysee.c u8 *sbuf, u8 slen, u8 *rbuf, u8 rlen) rbuf 96 drivers/media/usb/dvb-usb-v2/anysee.c if (rbuf && rlen) rbuf 97 drivers/media/usb/dvb-usb-v2/anysee.c memcpy(rbuf, state->buf, rlen); rbuf 15 drivers/media/usb/dvb-usb-v2/au6610.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 59 drivers/media/usb/dvb-usb-v2/au6610.c rbuf[0] = usb_buf[4]; rbuf 67 drivers/media/usb/dvb-usb-v2/au6610.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 70 drivers/media/usb/dvb-usb-v2/au6610.c u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ rbuf 78 drivers/media/usb/dvb-usb-v2/au6610.c return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); rbuf 12 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 39 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c if (rbuf && rlen) { rbuf 47 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c rbuf, rlen, &actual_length, 2000); rbuf 54 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c actual_length, rbuf); rbuf 61 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 66 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); rbuf 86 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 88 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c return dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); rbuf 41 drivers/media/usb/dvb-usb-v2/dvbsky.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 54 drivers/media/usb/dvb-usb-v2/dvbsky.c memcpy(rbuf, state->ibuf, rlen); rbuf 18 drivers/media/usb/dvb-usb-v2/gl861.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 22 drivers/media/usb/dvb-usb-v2/gl861.c int wo = (rbuf == NULL || rlen == 0); /* write-only */ rbuf 60 drivers/media/usb/dvb-usb-v2/gl861.c memcpy(rbuf, buf, rlen); rbuf 212 drivers/media/usb/dvb-usb-v2/gl861.c gl861_i2c_read_ex(struct dvb_usb_device *d, u8 addr, u8 *rbuf, u16 rlen) rbuf 225 drivers/media/usb/dvb-usb-v2/gl861.c memcpy(buf, rbuf, rlen); rbuf 392 drivers/media/usb/dvb-usb-v2/gl861.c u8 wbuf[2], rbuf[2]; rbuf 430 drivers/media/usb/dvb-usb-v2/gl861.c ret = gl861_i2c_read_ex(d, 0x09, rbuf, 2); rbuf 433 drivers/media/usb/dvb-usb-v2/gl861.c if (rbuf[0] != 0xff || rbuf[1] != 0xff) rbuf 443 drivers/media/usb/dvb-usb-v2/gl861.c ret = gl861_i2c_read_ex(d, 0x48, rbuf, 2); rbuf 446 drivers/media/usb/dvb-usb-v2/gl861.c if (rbuf[0] != 0xff || rbuf[1] != 0xff) rbuf 141 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 159 drivers/media/usb/dvb-usb-v2/lmedm04.c memcpy(rbuf, st->usb_buffer, rlen); rbuf 184 drivers/media/usb/dvb-usb-v2/lmedm04.c static u8 rbuf[1]; rbuf 203 drivers/media/usb/dvb-usb-v2/lmedm04.c sizeof(pid_buff) , rbuf, sizeof(rbuf)); rbuf 271 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 *ibuf, *rbuf; rbuf 289 drivers/media/usb/dvb-usb-v2/lmedm04.c rbuf = (u8 *) lme_urb->transfer_buffer; rbuf 295 drivers/media/usb/dvb-usb-v2/lmedm04.c ibuf = (u8 *)&rbuf[i*8]; rbuf 407 drivers/media/usb/dvb-usb-v2/lmedm04.c static u8 rbuf[1]; rbuf 416 drivers/media/usb/dvb-usb-v2/lmedm04.c sizeof(clear_pid_reg), rbuf, sizeof(rbuf)); rbuf 472 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 478 drivers/media/usb/dvb-usb-v2/lmedm04.c return lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); rbuf 562 drivers/media/usb/dvb-usb-v2/lmedm04.c static u8 rbuf[1]; rbuf 563 drivers/media/usb/dvb-usb-v2/lmedm04.c int ret = 0, rlen = sizeof(rbuf); rbuf 576 drivers/media/usb/dvb-usb-v2/lmedm04.c sizeof(clear_reg_3), rbuf, rlen); rbuf 820 drivers/media/usb/dvb-usb-v2/lmedm04.c static u8 rbuf[1]; rbuf 828 drivers/media/usb/dvb-usb-v2/lmedm04.c voltage_high, len, rbuf, rlen); rbuf 835 drivers/media/usb/dvb-usb-v2/lmedm04.c voltage_low, len, rbuf, rlen); rbuf 1127 drivers/media/usb/dvb-usb-v2/lmedm04.c static u8 rbuf[1]; rbuf 1132 drivers/media/usb/dvb-usb-v2/lmedm04.c ret = lme2510_usb_talk(d, onoff ? lnb_on : lnb_off, len, rbuf, rlen); rbuf 382 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c u8 count, u8 *rbuf) rbuf 414 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c rbuf[i] = i2c_r_data[(i*3)+1]; rbuf 53 drivers/media/usb/dvb-usb-v2/mxl111sf.c u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 56 drivers/media/usb/dvb-usb-v2/mxl111sf.c int wo = (rbuf == NULL || rlen == 0); /* write-only */ rbuf 77 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (rbuf) rbuf 78 drivers/media/usb/dvb-usb-v2/mxl111sf.c memcpy(rbuf, state->rcvbuf, rlen); rbuf 121 drivers/media/usb/dvb-usb-v2/mxl111sf.h u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen); rbuf 26 drivers/media/usb/dvb-usb-v2/zd1301.c unsigned int wlen, u8 *rbuf, unsigned int rlen) rbuf 77 drivers/media/usb/dvb-usb-v2/zd1301.c memcpy(rbuf, dev->buf, rlen); rbuf 449 drivers/media/usb/dvb-usb/af9005.c int wlen, u8 * rbuf, int rlen) rbuf 498 drivers/media/usb/dvb-usb/af9005.c rbuf[i] = st->data[i + 7]; rbuf 3469 drivers/media/usb/dvb-usb/af9005.h u8 * wbuf, int wlen, u8 * rbuf, int rlen); rbuf 87 drivers/media/usb/dvb-usb/cxusb.c u8 cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 106 drivers/media/usb/dvb-usb/cxusb.c if (!ret && rbuf && rlen) rbuf 107 drivers/media/usb/dvb-usb/cxusb.c memcpy(rbuf, st->data, rlen); rbuf 178 drivers/media/usb/dvb-usb/cxusb.h u8 cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen); rbuf 138 drivers/media/usb/dvb-usb/dibusb-common.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 144 drivers/media/usb/dvb-usb/dibusb-common.c wo = (rbuf == NULL || rlen == 0); rbuf 168 drivers/media/usb/dvb-usb/dibusb-common.c ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); rbuf 26 drivers/media/usb/dvb-usb/digitv.c u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 31 drivers/media/usb/dvb-usb/digitv.c wo = (rbuf == NULL || rlen == 0); /* write-only */ rbuf 48 drivers/media/usb/dvb-usb/digitv.c memcpy(rbuf, &st->rcvbuf[3], rlen); rbuf 26 drivers/media/usb/dvb-usb/dtv5100.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rbuf 55 drivers/media/usb/dvb-usb/dtv5100.c memcpy(st->data, rbuf, rlen); rbuf 12 drivers/media/usb/dvb-usb/dvb-usb-urb.c int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, rbuf 41 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (!ret && rbuf && rlen) { rbuf 48 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, rbuf 55 drivers/media/usb/dvb-usb/dvb-usb-urb.c debug_dump(rbuf,actlen,deb_xfer); rbuf 72 drivers/media/usb/dvb-usb/ttusb2.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 111 drivers/media/usb/dvb-usb/ttusb2.c memcpy(rbuf, &r[4], rlen); rbuf 48 drivers/net/ethernet/broadcom/bcmsysport.c BCM_SYSPORT_IO_MACRO(rbuf, SYS_PORT_RBUF_OFFSET); rbuf 719 drivers/net/ethernet/broadcom/genet/bcmgenet.h GENET_IO_MACRO(rbuf, GENET_RBUF_OFF); rbuf 176 drivers/net/ethernet/cavium/thunder/nicvf_queues.c gfp_t gfp, u32 buf_len, u64 *rbuf) rbuf 210 drivers/net/ethernet/cavium/thunder/nicvf_queues.c *rbuf = pgcache->dma_addr; rbuf 213 drivers/net/ethernet/cavium/thunder/nicvf_queues.c *rbuf = (u64)dma_map_page_attrs(&nic->pdev->dev, nic->rb_page, rbuf 217 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (dma_mapping_error(&nic->pdev->dev, (dma_addr_t)*rbuf)) { rbuf 224 drivers/net/ethernet/cavium/thunder/nicvf_queues.c pgcache->dma_addr = *rbuf + XDP_PACKET_HEADROOM; rbuf 256 drivers/net/ethernet/cavium/thunder/nicvf_queues.c u64 rbuf; rbuf 301 drivers/net/ethernet/cavium/thunder/nicvf_queues.c RCV_FRAG_LEN, &rbuf); rbuf 309 drivers/net/ethernet/cavium/thunder/nicvf_queues.c desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1); rbuf 387 drivers/net/ethernet/cavium/thunder/nicvf_queues.c u64 rbuf; rbuf 417 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_alloc_rcv_buffer(nic, rbdr, gfp, RCV_FRAG_LEN, &rbuf)) rbuf 421 drivers/net/ethernet/cavium/thunder/nicvf_queues.c desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1); rbuf 1476 drivers/net/ethernet/dec/tulip/de2104x.c u32 *rbuf = (u32 *)buf; rbuf 1480 drivers/net/ethernet/dec/tulip/de2104x.c rbuf[i] = dr32(i * 8); rbuf 1483 drivers/net/ethernet/dec/tulip/de2104x.c de_rx_missed(de, rbuf[8]); rbuf 590 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_aqc_get_sw_cfg_resp *rbuf; rbuf 596 drivers/net/ethernet/intel/ice/ice_switch.c rbuf = devm_kzalloc(ice_hw_to_dev(hw), ICE_SW_CFG_MAX_BUF_LEN, rbuf 599 drivers/net/ethernet/intel/ice/ice_switch.c if (!rbuf) rbuf 608 drivers/net/ethernet/intel/ice/ice_switch.c status = ice_aq_get_sw_cfg(hw, rbuf, ICE_SW_CFG_MAX_BUF_LEN, rbuf 620 drivers/net/ethernet/intel/ice/ice_switch.c ele = rbuf[i].elements; rbuf 646 drivers/net/ethernet/intel/ice/ice_switch.c devm_kfree(ice_hw_to_dev(hw), (void *)rbuf); rbuf 3011 drivers/net/ethernet/natsemi/natsemi.c u32 *rbuf = (u32 *)buf; rbuf 3016 drivers/net/ethernet/natsemi/natsemi.c rbuf[i] = readl(ioaddr + i*4); rbuf 3021 drivers/net/ethernet/natsemi/natsemi.c rbuf[i] = mdio_read(dev, i & 0x1f); rbuf 3025 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + PMDCSR); rbuf 3026 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + TSTDAT); rbuf 3027 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + DSPCFG); rbuf 3028 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + SDCFG); rbuf 3035 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + RxFilterData); rbuf 3040 drivers/net/ethernet/natsemi/natsemi.c if (rbuf[4] & rbuf[5]) { rbuf 3043 drivers/net/ethernet/natsemi/natsemi.c dev->name, rbuf[4] & rbuf[5]); rbuf 4563 drivers/net/ethernet/nvidia/forcedeth.c u32 *rbuf = buf; rbuf 4569 drivers/net/ethernet/nvidia/forcedeth.c rbuf[i] = readl(base + i*sizeof(u32)); rbuf 5136 drivers/net/ethernet/sun/niu.c u64 data[5], rbuf[5]; rbuf 5157 drivers/net/ethernet/sun/niu.c err = niu_zcp_read(np, i, rbuf); rbuf 5203 drivers/net/ethernet/sun/niu.c u64 data[5], rbuf[5], val; rbuf 5222 drivers/net/ethernet/sun/niu.c niu_ipp_read(np, i, rbuf); rbuf 1723 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u8 *buf = NULL, *rbuf; rbuf 1732 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c rbuf = bus->rxbuf; rbuf 1733 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c pad = ((unsigned long)rbuf % bus->head_align); rbuf 1735 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c rbuf += (bus->head_align - pad); rbuf 1770 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c sdret = brcmf_sdiod_recv_buf(bus->sdiodev, rbuf, rdlen); rbuf 1781 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c memcpy(buf + BRCMF_FIRSTREAD, rbuf, rdlen); rbuf 73 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c char rbuf[buflen]; \ rbuf 101 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c sizeof(data->rbuf),\ rbuf 102 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c data->rbuf); \ rbuf 108 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c data->rbuf, data->rlen); \ rbuf 38 drivers/slimbus/messaging.c if (msg == NULL || msg->rbuf == NULL) { rbuf 45 drivers/slimbus/messaging.c memcpy(msg->rbuf, reply, len); rbuf 187 drivers/slimbus/messaging.c if (msg->rbuf != NULL) rbuf 199 drivers/slimbus/messaging.c if (msg->rbuf != NULL && msg->wbuf != NULL) rbuf 273 drivers/slimbus/messaging.c size_t count, u8 *rbuf, u8 *wbuf) rbuf 277 drivers/slimbus/messaging.c msg->rbuf = rbuf; rbuf 774 drivers/slimbus/qcom-ngd-ctrl.c u8 rbuf[SLIM_MSGQ_BUF_LEN]; rbuf 838 drivers/slimbus/qcom-ngd-ctrl.c txn->msg->rbuf = rbuf; rbuf 919 drivers/slimbus/qcom-ngd-ctrl.c u8 rbuf[SLIM_MSGQ_BUF_LEN]; rbuf 930 drivers/slimbus/qcom-ngd-ctrl.c txn.msg->rbuf = rbuf; rbuf 1007 drivers/slimbus/qcom-ngd-ctrl.c u8 rbuf[10] = {0}; rbuf 1020 drivers/slimbus/qcom-ngd-ctrl.c txn.msg->rbuf = rbuf; rbuf 1035 drivers/slimbus/qcom-ngd-ctrl.c if (!memcmp(rbuf, failed_ea, 6)) rbuf 1038 drivers/slimbus/qcom-ngd-ctrl.c *laddr = rbuf[6]; rbuf 191 drivers/staging/rtl8723bs/core/rtw_eeprom.c u8 eeprom_read(_adapter *padapter, u32 addr_off, u8 sz, u8 *rbuf) rbuf 202 drivers/staging/rtl8723bs/core/rtw_eeprom.c rbuf[idx++] = (u8) ((stmp>>8)&0xff); /*return hogh-part of the short*/ rbuf 211 drivers/staging/rtl8723bs/core/rtw_eeprom.c rbuf[idx++] = (u8) (stmp&0xff); rbuf 212 drivers/staging/rtl8723bs/core/rtw_eeprom.c rbuf[idx++] = (u8) ((stmp>>8)&0xff); rbuf 218 drivers/staging/rtl8723bs/core/rtw_eeprom.c rbuf[idx] = (u8)(stmp & 0xff); rbuf 37 drivers/target/target_core_sbc.c unsigned char *rbuf; rbuf 64 drivers/target/target_core_sbc.c rbuf = transport_kmap_data_sg(cmd); rbuf 65 drivers/target/target_core_sbc.c if (rbuf) { rbuf 66 drivers/target/target_core_sbc.c memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); rbuf 81 drivers/target/target_core_sbc.c unsigned char *rbuf; rbuf 127 drivers/target/target_core_sbc.c rbuf = transport_kmap_data_sg(cmd); rbuf 128 drivers/target/target_core_sbc.c if (rbuf) { rbuf 129 drivers/target/target_core_sbc.c memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); rbuf 705 drivers/target/target_core_spc.c unsigned char *rbuf; rbuf 749 drivers/target/target_core_spc.c rbuf = transport_kmap_data_sg(cmd); rbuf 750 drivers/target/target_core_spc.c if (rbuf) { rbuf 751 drivers/target/target_core_spc.c memcpy(rbuf, buf, min_t(u32, SE_INQUIRY_BUF, cmd->data_length)); rbuf 985 drivers/target/target_core_spc.c unsigned char buf[SE_MODE_PAGE_BUF], *rbuf; rbuf 1096 drivers/target/target_core_spc.c rbuf = transport_kmap_data_sg(cmd); rbuf 1097 drivers/target/target_core_spc.c if (rbuf) { rbuf 1098 drivers/target/target_core_spc.c memcpy(rbuf, buf, min_t(u32, SE_MODE_PAGE_BUF, cmd->data_length)); rbuf 1170 drivers/target/target_core_spc.c unsigned char *rbuf; rbuf 1183 drivers/target/target_core_spc.c rbuf = transport_kmap_data_sg(cmd); rbuf 1184 drivers/target/target_core_spc.c if (!rbuf) rbuf 1193 drivers/target/target_core_spc.c memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); rbuf 565 drivers/tty/n_hdlc.c struct n_hdlc_buf *rbuf; rbuf 594 drivers/tty/n_hdlc.c rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); rbuf 595 drivers/tty/n_hdlc.c if (rbuf) { rbuf 596 drivers/tty/n_hdlc.c if (rbuf->count > nr) { rbuf 601 drivers/tty/n_hdlc.c if (copy_to_user(buf, rbuf->buf, rbuf->count)) rbuf 604 drivers/tty/n_hdlc.c ret = rbuf->count; rbuf 609 drivers/tty/n_hdlc.c kfree(rbuf); rbuf 611 drivers/tty/n_hdlc.c n_hdlc_buf_put(&n_hdlc->rx_free_buf_list, rbuf); rbuf 616 drivers/usb/atm/cxacru.c u8 *rbuf = instance->rcv_buf; rbuf 681 drivers/usb/atm/cxacru.c if (rbuf[offb] != cm) { rbuf 684 drivers/usb/atm/cxacru.c rbuf[offb], cm); rbuf 688 drivers/usb/atm/cxacru.c if (rbuf[offb + 1] != CM_STATUS_SUCCESS) { rbuf 691 drivers/usb/atm/cxacru.c cm, rbuf[offb + 1]); rbuf 697 drivers/usb/atm/cxacru.c memcpy(rdata + offd, rbuf + offb + 4, min_t(int, stride, rsize - offd)); rbuf 41 drivers/usb/gadget/function/u_audio.c void *rbuf; rbuf 224 drivers/usb/gadget/function/u_audio.c memset(prm->rbuf, 0, prm->max_psize * params->req_number); rbuf 397 drivers/usb/gadget/function/u_audio.c req->buf = prm->rbuf + i * prm->max_psize; rbuf 473 drivers/usb/gadget/function/u_audio.c req->buf = prm->rbuf + i * prm->max_psize; rbuf 528 drivers/usb/gadget/function/u_audio.c prm->rbuf = kcalloc(params->req_number, prm->max_psize, rbuf 530 drivers/usb/gadget/function/u_audio.c if (!prm->rbuf) { rbuf 550 drivers/usb/gadget/function/u_audio.c prm->rbuf = kcalloc(params->req_number, prm->max_psize, rbuf 552 drivers/usb/gadget/function/u_audio.c if (!prm->rbuf) { rbuf 600 drivers/usb/gadget/function/u_audio.c kfree(uac->p_prm.rbuf); rbuf 601 drivers/usb/gadget/function/u_audio.c kfree(uac->c_prm.rbuf); rbuf 623 drivers/usb/gadget/function/u_audio.c kfree(uac->p_prm.rbuf); rbuf 624 drivers/usb/gadget/function/u_audio.c kfree(uac->c_prm.rbuf); rbuf 147 drivers/usb/gadget/legacy/inode.c u8 rbuf [256]; rbuf 855 drivers/usb/gadget/legacy/inode.c if (req->buf != dev->rbuf) { rbuf 857 drivers/usb/gadget/legacy/inode.c req->buf = dev->rbuf; rbuf 880 drivers/usb/gadget/legacy/inode.c if (free && req->buf != &dev->rbuf) rbuf 894 drivers/usb/gadget/legacy/inode.c if (len > sizeof (dev->rbuf)) rbuf 897 drivers/usb/gadget/legacy/inode.c req->buf = dev->rbuf; rbuf 1297 drivers/usb/gadget/legacy/inode.c memcpy (dev->rbuf, &qual, sizeof qual); rbuf 1362 drivers/usb/gadget/legacy/inode.c req->buf = dev->rbuf; rbuf 1316 drivers/usb/gadget/udc/dummy_hcd.c void *ubuf, *rbuf; rbuf 1325 drivers/usb/gadget/udc/dummy_hcd.c rbuf = req->req.buf + req->req.actual; rbuf 1330 drivers/usb/gadget/udc/dummy_hcd.c memcpy(ubuf, rbuf, len); rbuf 1332 drivers/usb/gadget/udc/dummy_hcd.c memcpy(rbuf, ubuf, len); rbuf 1359 drivers/usb/gadget/udc/dummy_hcd.c memcpy(ubuf, rbuf, this_sg); rbuf 1361 drivers/usb/gadget/udc/dummy_hcd.c memcpy(rbuf, ubuf, this_sg); rbuf 1372 drivers/usb/gadget/udc/dummy_hcd.c rbuf += this_sg; rbuf 152 drivers/video/backlight/ili922x.c unsigned char rbuf[CMD_BUFSIZE]; rbuf 158 drivers/video/backlight/ili922x.c xfer.rx_buf = rbuf; rbuf 180 drivers/video/backlight/ili922x.c *rs = (rbuf[2] << 8) + rbuf[3]; rbuf 195 drivers/video/backlight/ili922x.c unsigned char rbuf[CMD_BUFSIZE]; rbuf 202 drivers/video/backlight/ili922x.c xfer_regindex.rx_buf = rbuf; rbuf 224 drivers/video/backlight/ili922x.c xfer_regvalue.rx_buf = &rbuf[send_bytes]; rbuf 234 drivers/video/backlight/ili922x.c *rx = (rbuf[1 + send_bytes] << 8) + rbuf[2 + send_bytes]; rbuf 249 drivers/video/backlight/ili922x.c unsigned char rbuf[CMD_BUFSIZE]; rbuf 257 drivers/video/backlight/ili922x.c xfer_regindex.rx_buf = rbuf; rbuf 280 drivers/video/backlight/ili922x.c xfer_regvalue.rx_buf = rbuf; rbuf 55 drivers/video/fbdev/omap/lcd_mipid.c int wlen, u8 *rbuf, int rlen) rbuf 97 drivers/video/fbdev/omap/lcd_mipid.c x->rx_buf = &rbuf[1]; rbuf 108 drivers/video/fbdev/omap/lcd_mipid.c rbuf[0] = w & 0xff; rbuf 336 drivers/video/fbdev/omap/lcd_mipid.c u8 rbuf[2]; rbuf 356 drivers/video/fbdev/omap/lcd_mipid.c mipid_read(md, rd->cmd, rbuf, 2); rbuf 364 drivers/video/fbdev/omap/lcd_mipid.c dev_dbg(&md->spi->dev, "ESD mode 2 state %02x\n", rbuf[1]); rbuf 365 drivers/video/fbdev/omap/lcd_mipid.c if (rbuf[1] == 0x00) rbuf 106 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rbuf 145 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c x->rx_buf = rbuf; rbuf 846 drivers/video/fbdev/udlfb.c char *rbuf; rbuf 848 drivers/video/fbdev/udlfb.c rbuf = kmalloc(2, GFP_KERNEL); rbuf 849 drivers/video/fbdev/udlfb.c if (!rbuf) rbuf 856 drivers/video/fbdev/udlfb.c rbuf, 2, USB_CTRL_GET_TIMEOUT); rbuf 863 drivers/video/fbdev/udlfb.c edid[i] = rbuf[1]; rbuf 866 drivers/video/fbdev/udlfb.c kfree(rbuf); rbuf 35 drivers/w1/slaves/w1_ds2423.c u8 rbuf[COUNTER_COUNT * READ_BYTE_COUNT]; rbuf 63 drivers/w1/slaves/w1_ds2423.c rbuf + (p * READ_BYTE_COUNT), READ_BYTE_COUNT); rbuf 67 drivers/w1/slaves/w1_ds2423.c rbuf[(p * READ_BYTE_COUNT) + ii]); rbuf 79 drivers/w1/slaves/w1_ds2423.c crc = crc16(crc, rbuf, 11); rbuf 86 drivers/w1/slaves/w1_ds2423.c (rbuf + 11) + rbuf 94 drivers/w1/slaves/w1_ds2423.c result |= rbuf[(p * rbuf 762 include/drm/ttm/ttm_bo_api.h const char __user *wbuf, char __user *rbuf, rbuf 110 include/linux/slimbus.h u8 *rbuf; rbuf 61 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, rbuf 69 include/media/dvb_ringbuffer.h extern int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf); rbuf 78 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_free(struct dvb_ringbuffer *rbuf); rbuf 87 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_avail(struct dvb_ringbuffer *rbuf); rbuf 98 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_reset(struct dvb_ringbuffer *rbuf); rbuf 109 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_flush(struct dvb_ringbuffer *rbuf); rbuf 117 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_flush_spinlock_wakeup(struct dvb_ringbuffer *rbuf); rbuf 125 include/media/dvb_ringbuffer.h #define DVB_RINGBUFFER_PEEK(rbuf, offs) \ rbuf 126 include/media/dvb_ringbuffer.h ((rbuf)->data[((rbuf)->pread + (offs)) % (rbuf)->size]) rbuf 134 include/media/dvb_ringbuffer.h #define DVB_RINGBUFFER_SKIP(rbuf, num) {\ rbuf 135 include/media/dvb_ringbuffer.h (rbuf)->pread = ((rbuf)->pread + (num)) % (rbuf)->size;\ rbuf 150 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, rbuf 164 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, rbuf 177 include/media/dvb_ringbuffer.h #define DVB_RINGBUFFER_WRITE_BYTE(rbuf, byte) \ rbuf 178 include/media/dvb_ringbuffer.h { (rbuf)->data[(rbuf)->pwrite] = (byte); \ rbuf 179 include/media/dvb_ringbuffer.h (rbuf)->pwrite = ((rbuf)->pwrite + 1) % (rbuf)->size; } rbuf 192 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, rbuf 207 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_write_user(struct dvb_ringbuffer *rbuf, rbuf 219 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_pkt_write(struct dvb_ringbuffer *rbuf, u8 *buf, rbuf 239 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, rbuf 257 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx, rbuf 266 include/media/dvb_ringbuffer.h extern void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx); rbuf 277 include/media/dvb_ringbuffer.h extern ssize_t dvb_ringbuffer_pkt_next(struct dvb_ringbuffer *rbuf, rbuf 567 include/sound/wavefront.h unsigned char rbuf[WF_MAX_READ]; /* bytes read from card */ rbuf 1165 kernel/relay.c static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed) rbuf 1167 kernel/relay.c rbuf->bytes_consumed += bytes_consumed; rbuf 1169 kernel/relay.c if (rbuf->bytes_consumed >= rbuf->chan->subbuf_size) { rbuf 1170 kernel/relay.c relay_subbufs_consumed(rbuf->chan, rbuf->cpu, 1); rbuf 1171 kernel/relay.c rbuf->bytes_consumed %= rbuf->chan->subbuf_size; rbuf 1178 kernel/relay.c struct rchan_buf *rbuf; rbuf 1180 kernel/relay.c rbuf = (struct rchan_buf *)page_private(buf->page); rbuf 1181 kernel/relay.c relay_consume_bytes(rbuf, buf->private); rbuf 1206 kernel/relay.c struct rchan_buf *rbuf = in->private_data; rbuf 1207 kernel/relay.c unsigned int subbuf_size = rbuf->chan->subbuf_size; rbuf 1209 kernel/relay.c uint32_t alloc_size = (uint32_t) rbuf->chan->alloc_size; rbuf 1212 kernel/relay.c size_t padding = rbuf->padding[read_subbuf]; rbuf 1226 kernel/relay.c if (rbuf->subbufs_produced == rbuf->subbufs_consumed) rbuf 1237 kernel/relay.c subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; rbuf 1252 kernel/relay.c spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; rbuf 209 security/integrity/ima/ima_crypto.c char *rbuf[2] = { NULL, }; rbuf 240 security/integrity/ima/ima_crypto.c rbuf[0] = ima_alloc_pages(i_size, &rbuf_size[0], 1); rbuf 241 security/integrity/ima/ima_crypto.c if (!rbuf[0]) { rbuf 253 security/integrity/ima/ima_crypto.c rbuf[1] = ima_alloc_pages(i_size - rbuf_size[0], rbuf 258 security/integrity/ima/ima_crypto.c if (!rbuf[1] && offset) { rbuf 269 security/integrity/ima/ima_crypto.c rc = integrity_kernel_read(file, offset, rbuf[active], rbuf 282 security/integrity/ima/ima_crypto.c if (rbuf[1] && offset) { rbuf 292 security/integrity/ima/ima_crypto.c sg_init_one(&sg[0], rbuf[active], rbuf_len); rbuf 297 security/integrity/ima/ima_crypto.c if (rbuf[1]) rbuf 303 security/integrity/ima/ima_crypto.c ima_free_pages(rbuf[0], rbuf_size[0]); rbuf 304 security/integrity/ima/ima_crypto.c ima_free_pages(rbuf[1], rbuf_size[1]); rbuf 336 security/integrity/ima/ima_crypto.c char *rbuf; rbuf 353 security/integrity/ima/ima_crypto.c rbuf = kzalloc(PAGE_SIZE, GFP_KERNEL); rbuf 354 security/integrity/ima/ima_crypto.c if (!rbuf) rbuf 360 security/integrity/ima/ima_crypto.c rbuf_len = integrity_kernel_read(file, offset, rbuf, PAGE_SIZE); rbuf 369 security/integrity/ima/ima_crypto.c rc = crypto_shash_update(shash, rbuf, rbuf_len); rbuf 373 security/integrity/ima/ima_crypto.c kfree(rbuf); rbuf 484 sound/isa/wavefront/wavefront_midi.c unsigned char rbuf[4], wbuf[4]; rbuf 529 sound/isa/wavefront/wavefront_midi.c if (snd_wavefront_cmd (dev, WFC_MISYNTH_ON, rbuf, wbuf)) { rbuf 545 sound/isa/wavefront/wavefront_midi.c if (snd_wavefront_cmd (dev, WFC_VMIDI_OFF, rbuf, wbuf)) { rbuf 552 sound/isa/wavefront/wavefront_midi.c if (snd_wavefront_cmd (dev, WFC_VMIDI_ON, rbuf, wbuf)) { rbuf 334 sound/isa/wavefront/wavefront_synth.c int cmd, unsigned char *rbuf, unsigned char *wbuf) rbuf 354 sound/isa/wavefront/wavefront_synth.c wfcmd->write_cnt = (unsigned long) rbuf; rbuf 355 sound/isa/wavefront/wavefront_synth.c rbuf = NULL; rbuf 418 sound/isa/wavefront/wavefront_synth.c rbuf[0] = WF_ST_EMPTY; rbuf 447 sound/isa/wavefront/wavefront_synth.c rbuf[i] = c; rbuf 450 sound/isa/wavefront/wavefront_synth.c DPRINT (WF_DEBUG_DATA, "read[%d] = 0x%x\n",i, rbuf[i]); rbuf 618 sound/isa/wavefront/wavefront_synth.c unsigned char rbuf[32], wbuf[32]; rbuf 623 sound/isa/wavefront/wavefront_synth.c if (snd_wavefront_cmd (dev, WFC_GET_NSAMPLES, rbuf, wbuf)) { rbuf 635 sound/isa/wavefront/wavefront_synth.c if (snd_wavefront_cmd (dev, WFC_IDENTIFY_SAMPLE_TYPE, rbuf, wbuf)) { rbuf 642 sound/isa/wavefront/wavefront_synth.c dev->sample_status[i] = (WF_SLOT_FILLED|rbuf[0]); rbuf 648 sound/isa/wavefront/wavefront_synth.c switch (rbuf[0] & WF_ST_MASK) { rbuf 664 sound/isa/wavefront/wavefront_synth.c i, rbuf[0]); rbuf 667 sound/isa/wavefront/wavefront_synth.c if (rbuf[0] != WF_ST_EMPTY) { rbuf 847 sound/isa/wavefront/wavefront_synth.c char rbuf[8]; rbuf 849 sound/isa/wavefront/wavefront_synth.c if (snd_wavefront_cmd (dev, WFC_REPORT_FREE_MEMORY, rbuf, NULL)) { rbuf 853 sound/isa/wavefront/wavefront_synth.c return demunge_int32 (rbuf, 4); rbuf 1528 sound/isa/wavefront/wavefront_synth.c wc->rbuf[0] = dev->interrupts_are_midi; rbuf 1544 sound/isa/wavefront/wavefront_synth.c wc->rbuf[0] = dev->sample_status[i]; rbuf 1563 sound/isa/wavefront/wavefront_synth.c (dev, (wavefront_patch_info *) wc->rbuf); rbuf 1573 sound/isa/wavefront/wavefront_synth.c wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); rbuf 1589 sound/isa/wavefront/wavefront_synth.c dev->freemem = demunge_int32 (wc->rbuf, 4); rbuf 1593 sound/isa/wavefront/wavefront_synth.c demunge_buf (wc->rbuf, wc->rbuf, WF_PATCH_BYTES); rbuf 1597 sound/isa/wavefront/wavefront_synth.c demunge_buf (wc->rbuf, wc->rbuf, WF_PROGRAM_BYTES); rbuf 1601 sound/isa/wavefront/wavefront_synth.c demunge_buf (wc->rbuf, wc->rbuf, WF_DRUM_BYTES - 1); rbuf 1605 sound/isa/wavefront/wavefront_synth.c process_sample_hdr (wc->rbuf); rbuf 2154 sound/isa/wavefront/wavefront_synth.c unsigned char rbuf[4], wbuf[4]; rbuf 2168 sound/isa/wavefront/wavefront_synth.c if (snd_wavefront_cmd (dev, WFC_FIRMWARE_VERSION, rbuf, wbuf) == 0) { rbuf 2170 sound/isa/wavefront/wavefront_synth.c dev->fw_version[0] = rbuf[0]; rbuf 2171 sound/isa/wavefront/wavefront_synth.c dev->fw_version[1] = rbuf[1]; rbuf 2174 sound/isa/wavefront/wavefront_synth.c rbuf[0], rbuf[1]); rbuf 2179 sound/isa/wavefront/wavefront_synth.c rbuf, wbuf) == 0) { rbuf 2180 sound/isa/wavefront/wavefront_synth.c dev->hw_version[0] = rbuf[0]; rbuf 2181 sound/isa/wavefront/wavefront_synth.c dev->hw_version[1] = rbuf[1]; rbuf 494 tools/testing/selftests/bpf/test_flow_dissector.c char rbuf; rbuf 498 tools/testing/selftests/bpf/test_flow_dissector.c ret = recv(fd, &rbuf, 1, MSG_DONTWAIT); rbuf 503 tools/testing/selftests/bpf/test_flow_dissector.c if (rbuf != cfg_payload_char) rbuf 113 tools/testing/selftests/net/psock_lib.h char buf[DATA_LEN], rbuf[DATA_LEN]; rbuf 122 tools/testing/selftests/net/psock_lib.h if (read(fds[1], rbuf, sizeof(rbuf)) != sizeof(rbuf)) { rbuf 126 tools/testing/selftests/net/psock_lib.h if (memcmp(buf, rbuf, sizeof(buf))) { rbuf 52 tools/testing/selftests/net/psock_snd.c static char tbuf[TEST_SZ], rbuf[TEST_SZ]; rbuf 278 tools/testing/selftests/net/psock_snd.c ret = recv(fd, rbuf, sizeof(rbuf), 0); rbuf 284 tools/testing/selftests/net/psock_snd.c if (memcmp(rbuf, expected, ret)) rbuf 103 tools/testing/selftests/net/so_txtime.c char rbuf[2]; rbuf 106 tools/testing/selftests/net/so_txtime.c ret = recv(fdr, rbuf, sizeof(rbuf), 0); rbuf 118 tools/testing/selftests/net/so_txtime.c rbuf[0], (long long)tstop, (long long)texpect); rbuf 120 tools/testing/selftests/net/so_txtime.c if (rbuf[0] != ts->data) rbuf 131 tools/testing/selftests/net/so_txtime.c char rbuf[1]; rbuf 134 tools/testing/selftests/net/so_txtime.c ret = recv(fdr, rbuf, sizeof(rbuf), 0); rbuf 249 tools/testing/selftests/net/udpgso_bench_rx.c static char rbuf[ETH_MAX_MTU]; rbuf 252 tools/testing/selftests/net/udpgso_bench_rx.c len = cfg_read_all ? sizeof(rbuf) : 0; rbuf 256 tools/testing/selftests/net/udpgso_bench_rx.c ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); rbuf 258 tools/testing/selftests/net/udpgso_bench_rx.c ret = recv_msg(fd, rbuf, len, &gso_size); rbuf 270 tools/testing/selftests/net/udpgso_bench_rx.c do_verify_udp(rbuf, ret); rbuf 175 tools/virtio/vringh_test.c char rbuf[5]; rbuf 255 tools/virtio/vringh_test.c rlen = vringh_iov_pull_user(&riov, rbuf, rbuf 256 tools/virtio/vringh_test.c sizeof(rbuf)); rbuf 263 tools/virtio/vringh_test.c err = vringh_iov_push_user(&wiov, rbuf, rlen);