/linux/drivers/usb/gadget/function/ |
A D | uvc_video.c | 91 int len = video->req_size; in uvc_video_encode_bulk() 109 req->length = video->req_size - len; in uvc_video_encode_bulk() 133 unsigned int len = video->req_size; in uvc_video_encode_isoc_sg() 143 video->req_size); in uvc_video_encode_isoc_sg() 151 len + header_len : video->req_size; in uvc_video_encode_isoc_sg() 196 int len = video->req_size; in uvc_video_encode_isoc() 300 video->req_size = 0; in uvc_video_free_requests() 307 unsigned int req_size; in uvc_video_alloc_requests() local 311 BUG_ON(video->req_size); in uvc_video_alloc_requests() 313 req_size = video->ep->maxpacket in uvc_video_alloc_requests() [all …]
|
A D | uvc.h | 101 unsigned int req_size; member
|
/linux/mm/ |
A D | readahead.c | 406 unsigned long req_size, in try_context_readahead() argument 417 if (size <= req_size) in try_context_readahead() 428 ra->size = min(size + req_size, max); in try_context_readahead() 438 bool hit_readahead_marker, unsigned long req_size) in ondemand_readahead() argument 451 if (req_size > max_pages && bdi->io_pages > max_pages) in ondemand_readahead() 452 max_pages = min(req_size, bdi->io_pages); in ondemand_readahead() 491 ra->size += req_size; in ondemand_readahead() 500 if (req_size > max_pages) in ondemand_readahead() 524 do_page_cache_ra(ractl, req_size, 0); in ondemand_readahead() 529 ra->size = get_init_ra_size(req_size, max_pages); in ondemand_readahead() [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | cvmx-bootmem.c | 217 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, in cvmx_bootmem_phy_alloc() argument 232 (unsigned long long)req_size, in cvmx_bootmem_phy_alloc() 256 if (!req_size) in cvmx_bootmem_phy_alloc() 260 req_size = (req_size + (CVMX_BOOTMEM_ALIGNMENT_SIZE - 1)) & in cvmx_bootmem_phy_alloc() 270 address_max = address_min + req_size; in cvmx_bootmem_phy_alloc() 295 if (req_size > address_max - address_min) in cvmx_bootmem_phy_alloc() 340 && req_size <= usable_max - usable_base)) in cvmx_bootmem_phy_alloc() 349 desired_min_addr = usable_max - req_size; in cvmx_bootmem_phy_alloc() 359 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc() 364 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | if_sdio.c | 500 u16 req_size; in if_sdio_prog_helper() local 510 if (req_size != 0) in if_sdio_prog_helper() 542 size_t size, req_size; in if_sdio_prog_real() local 583 if ((size != fw->size) || (req_size > 2)) in if_sdio_prog_real() 595 if (req_size == 0) { in if_sdio_prog_real() 601 if (req_size & 0x01) { in if_sdio_prog_real() 607 if (req_size > size) in if_sdio_prog_real() 608 req_size = size; in if_sdio_prog_real() 610 while (req_size) { in if_sdio_prog_real() 611 chunk_size = min_t(size_t, req_size, 512); in if_sdio_prog_real() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | nvram_64.c | 52 .req_size = 2079, 61 .req_size = 4000, 293 part->req_size, part->min_size); in nvram_init_os_partition() 301 part->req_size, part->min_size); in nvram_init_os_partition() 844 int req_size, int min_size) in nvram_create_partition() argument 857 req_size = ALIGN(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition() 864 min_size = req_size; in nvram_create_partition() 865 if (min_size > req_size) in nvram_create_partition() 869 req_size += 1; in nvram_create_partition() 878 if (part->header.length >= req_size) { in nvram_create_partition() [all …]
|
/linux/drivers/scsi/smartpqi/ |
A D | smartpqi_sas_transport.c | 463 u32 req_size; in pqi_build_csmi_smp_passthru_buffer() local 470 req_size = job->request_payload.payload_len; in pqi_build_csmi_smp_passthru_buffer() 488 if (req_size > SMP_CRC_FIELD_LENGTH) in pqi_build_csmi_smp_passthru_buffer() 489 req_size -= SMP_CRC_FIELD_LENGTH; in pqi_build_csmi_smp_passthru_buffer() 491 put_unaligned_le32(req_size, ¶meters->request_length); in pqi_build_csmi_smp_passthru_buffer() 496 req_size); in pqi_build_csmi_smp_passthru_buffer()
|
/linux/arch/powerpc/include/asm/ |
A D | nvram.h | 27 int req_size; /* desired size, in bytes */ member 64 int req_size, int min_size);
|
/linux/drivers/scsi/ |
A D | virtio_scsi.c | 419 size_t req_size, size_t resp_size) in __virtscsi_add_cmd() argument 436 sg_init_one(&req, &cmd->req, req_size); in __virtscsi_add_cmd() 485 size_t req_size, size_t resp_size, in virtscsi_add_cmd() argument 493 err = __virtscsi_add_cmd(vq->vq, cmd, req_size, resp_size); in virtscsi_add_cmd() 561 int req_size; in virtscsi_queuecommand() local 580 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand() 586 req_size = sizeof(cmd->req.cmd); in virtscsi_queuecommand() 590 ret = virtscsi_add_cmd(req_vq, cmd, req_size, sizeof(cmd->resp.cmd), kick); in virtscsi_queuecommand()
|
A D | hptiop.c | 1283 u32 offset, i, req_size; in hptiop_probe() local 1399 req_size = sizeof(struct hpt_iop_request_scsi_command) in hptiop_probe() 1401 if ((req_size & 0x1f) != 0) in hptiop_probe() 1402 req_size = (req_size + 0x1f) & ~0x1f; in hptiop_probe() 1407 set_config.max_host_request_size = cpu_to_le16(req_size); in hptiop_probe() 1426 dprintk("req_size=%d, max_requests=%d\n", req_size, hba->max_requests); in hptiop_probe() 1428 hba->req_size = req_size; in hptiop_probe() 1433 hba->req_size + 0x20, in hptiop_probe() 1477 hba->req_size + 0x20, in hptiop_probe() 1564 hba->req_size + 0x20, in hptiop_remove()
|
/linux/sound/soc/sh/rcar/ |
A D | adg.c | 474 int i, req_size; in rsnd_adg_get_clkout() local 501 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout() 502 if (req_size > REQ_SIZE) { in rsnd_adg_get_clkout() 507 of_property_read_u32_array(np, "clock-frequency", req_rate, req_size); in rsnd_adg_get_clkout() 510 for (i = 0; i < req_size; i++) { in rsnd_adg_get_clkout()
|
/linux/drivers/staging/greybus/ |
A D | camera.c | 531 size_t req_size; in gb_camera_configure_streams() local 538 req_size = sizeof(*req) + nstreams * sizeof(req->config[0]); in gb_camera_configure_streams() 541 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_configure_streams() 576 req, req_size, in gb_camera_configure_streams() 659 size_t req_size; in gb_camera_capture() local 665 req_size = sizeof(*req) + settings_size; in gb_camera_capture() 666 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_capture() 684 req, req_size, NULL, 0); in gb_camera_capture()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_gs.c | 47 ms_pkt->req_bytecount = cpu_to_le32(arg->req_size); in qla2x00_prep_ms_iocb() 83 ct_pkt->cmd_byte_count = cpu_to_le32(arg->req_size); in qla24xx_prep_ms_iocb() 216 arg.req_size = GA_NXT_REQ_SIZE; in qla2x00_ga_nxt() 308 arg.req_size = GID_PT_REQ_SIZE; in qla2x00_gid_pt() 386 arg.req_size = GPN_ID_REQ_SIZE; in qla2x00_gpn_id() 453 arg.req_size = GNN_ID_REQ_SIZE; in qla2x00_gnn_id() 1417 ms_pkt->req_bytecount = cpu_to_le32(req_size); in qla2x00_prep_ms_fdmi_iocb() 2547 arg.req_size = GFPN_ID_REQ_SIZE; in qla2x00_gfpn_id() 2661 arg.req_size = GPSC_REQ_SIZE; in qla2x00_gpsc() 2753 arg.req_size = GFF_ID_REQ_SIZE; in qla2x00_gff_id() [all …]
|
/linux/drivers/char/hw_random/ |
A D | optee-rng.c | 74 void *buf, size_t req_size) in get_optee_rng_data() argument 93 param[0].u.memref.size = req_size; in get_optee_rng_data()
|
/linux/drivers/vhost/ |
A D | scsi.c | 222 size_t req_size, rsp_size; member 879 } else if (unlikely(vc->out_size < vc->req_size)) { in vhost_scsi_chk_size() 882 vc->req_size, vc->out_size); in vhost_scsi_chk_size() 895 if (unlikely(!copy_from_iter_full(vc->req, vc->req_size, in vhost_scsi_get_req() 966 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq() 971 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq() 1008 if (vc.out_size > vc.req_size) { in vhost_scsi_handle_vq() 1010 exp_data_len = vc.out_size - vc.req_size; in vhost_scsi_handle_vq() 1299 vc.req_size = sizeof(struct virtio_scsi_ctrl_tmf_req); in vhost_scsi_ctl_handle_vq() 1307 vc.req_size = sizeof(struct virtio_scsi_ctrl_an_req); in vhost_scsi_ctl_handle_vq() [all …]
|
/linux/arch/um/drivers/ |
A D | vector_kern.h | 97 int req_size; /* different from max packet - used for TSO */ member
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-bootmem.h | 273 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
|
/linux/net/tipc/ |
A D | netlink_compat.c | 58 int req_size; member 285 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit() 392 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit() 1317 msg.req_size = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv() 1318 if (msg.req_size && !TLV_OK(msg.req, msg.req_size)) { in tipc_nl_compat_recv()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | ccm.h | 120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
|
A D | ccm_mbox.c | 690 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size, in nfp_ccm_mbox_msg_alloc() argument 699 max_size = max(req_size, reply_size); in nfp_ccm_mbox_msg_alloc() 706 skb_put(skb, req_size); in nfp_ccm_mbox_msg_alloc()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_vf_rep.c | 56 void *req, int req_size, in lio_vf_rep_send_soft_command() argument 66 octeon_alloc_soft_command(oct, req_size, in lio_vf_rep_send_soft_command() 75 memcpy(sc_req, req, req_size); in lio_vf_rep_send_soft_command()
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | gdma.h | 146 u32 req_size, u32 resp_size) in mana_gd_init_req_hdr() argument 151 hdr->req.msg_size = req_size; in mana_gd_init_req_hdr()
|
/linux/drivers/infiniband/core/ |
A D | rdma_core.h | 105 u8 req_size; member
|
/linux/net/tls/ |
A D | tls_device_fallback.c | 130 unsigned int req_size = sizeof(struct aead_request) + in tls_alloc_aead_request() local 134 aead_req = kzalloc(req_size, flags); in tls_alloc_aead_request()
|
/linux/drivers/net/can/usb/peak_usb/ |
A D | pcan_usb_pro.h | 187 int req_value, void *req_addr, int req_size);
|