/linux-6.6.21/arch/mips/cavium-octeon/executive/ |
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-6.6.21/drivers/usb/gadget/function/ |
D | uvc_video.c | 92 int len = video->req_size; in uvc_video_encode_bulk() 110 req->length = video->req_size - len; in uvc_video_encode_bulk() 136 unsigned int len = video->req_size; in uvc_video_encode_isoc_sg() 146 video->req_size); in uvc_video_encode_isoc_sg() 154 len + header_len : video->req_size; in uvc_video_encode_isoc_sg() 202 int len = video->req_size; in uvc_video_encode_isoc() 214 req->length = video->req_size - len; in uvc_video_encode_isoc() 318 video->req_size = 0; in uvc_video_free_requests() 325 unsigned int req_size; in uvc_video_alloc_requests() local 329 BUG_ON(video->req_size); in uvc_video_alloc_requests() [all …]
|
D | uvc_queue.c | 47 unsigned int req_size; in uvc_queue_setup() local 57 req_size = video->ep->maxpacket in uvc_queue_setup() 64 nreq = DIV_ROUND_UP(DIV_ROUND_UP(sizes[0], 2), req_size); in uvc_queue_setup()
|
D | uvc.h | 104 unsigned int req_size; member
|
/linux-6.6.21/mm/ |
D | readahead.c | 436 unsigned long req_size, in try_context_readahead() argument 447 if (size <= req_size) in try_context_readahead() 458 ra->size = min(size + req_size, max); in try_context_readahead() 553 struct folio *folio, unsigned long req_size) in ondemand_readahead() argument 567 if (req_size > max_pages && bdi->io_pages > max_pages) in ondemand_readahead() 568 max_pages = min(req_size, bdi->io_pages); in ondemand_readahead() 608 ra->size += req_size; in ondemand_readahead() 617 if (req_size > max_pages) in ondemand_readahead() 633 if (try_context_readahead(ractl->mapping, ra, index, req_size, in ondemand_readahead() 641 do_page_cache_ra(ractl, req_size, 0); in ondemand_readahead() [all …]
|
/linux-6.6.21/arch/powerpc/kernel/ |
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-6.6.21/drivers/net/wireless/marvell/libertas/ |
D | if_sdio.c | 502 u16 req_size; in if_sdio_prog_helper() local 504 req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, &ret); in if_sdio_prog_helper() 508 req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, &ret) << 8; in if_sdio_prog_helper() 512 if (req_size != 0) in if_sdio_prog_helper() 544 size_t size, req_size; in if_sdio_prog_real() local 568 req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, in if_sdio_prog_real() 573 req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, in if_sdio_prog_real() 585 if ((size != fw->size) || (req_size > 2)) in if_sdio_prog_real() 597 if (req_size == 0) { in if_sdio_prog_real() 603 if (req_size & 0x01) { in if_sdio_prog_real() [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | nvram.h | 27 int req_size; /* desired size, in bytes */ member 64 int req_size, int min_size);
|
/linux-6.6.21/drivers/scsi/smartpqi/ |
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-6.6.21/drivers/scsi/ |
D | virtio_scsi.c | 427 size_t req_size, size_t resp_size) in __virtscsi_add_cmd() argument 444 sg_init_one(&req, &cmd->req, req_size); in __virtscsi_add_cmd() 493 size_t req_size, size_t resp_size, in virtscsi_add_cmd() argument 501 err = __virtscsi_add_cmd(vq->vq, cmd, req_size, resp_size); in virtscsi_add_cmd() 569 int req_size; in virtscsi_queuecommand() local 588 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand() 594 req_size = sizeof(cmd->req.cmd); in virtscsi_queuecommand() 598 ret = virtscsi_add_cmd(req_vq, cmd, req_size, sizeof(cmd->resp.cmd), kick); in virtscsi_queuecommand()
|
D | hptiop.c | 1281 u32 offset, i, req_size; in hptiop_probe() local 1397 req_size = struct_size_t(struct hpt_iop_request_scsi_command, in hptiop_probe() 1399 if ((req_size & 0x1f) != 0) in hptiop_probe() 1400 req_size = (req_size + 0x1f) & ~0x1f; in hptiop_probe() 1405 set_config.max_host_request_size = cpu_to_le16(req_size); in hptiop_probe() 1424 dprintk("req_size=%d, max_requests=%d\n", req_size, hba->max_requests); in hptiop_probe() 1426 hba->req_size = req_size; in hptiop_probe() 1431 hba->req_size + 0x20, in hptiop_probe() 1475 hba->req_size + 0x20, in hptiop_probe() 1562 hba->req_size + 0x20, in hptiop_remove()
|
/linux-6.6.21/sound/soc/sh/rcar/ |
D | adg.c | 497 int i, req_size; in rsnd_adg_get_clkout() local 520 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout() 521 if (req_size > ADG_HZ_SIZE) { in rsnd_adg_get_clkout() 526 of_property_read_u32_array(np, "clock-frequency", req_rate, req_size); in rsnd_adg_get_clkout() 529 for (i = 0; i < req_size; i++) { in rsnd_adg_get_clkout()
|
/linux-6.6.21/drivers/staging/greybus/ |
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-6.6.21/drivers/char/hw_random/ |
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-6.6.21/drivers/scsi/qla2xxx/ |
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() 639 sp->u.iocb_cmd.u.ctarg.req_size = RFT_ID_REQ_SIZE; in qla_async_rftid() 733 sp->u.iocb_cmd.u.ctarg.req_size = RFF_ID_REQ_SIZE; in qla_async_rffid() 824 sp->u.iocb_cmd.u.ctarg.req_size = RNN_ID_REQ_SIZE; in qla_async_rnnid() 937 sp->u.iocb_cmd.u.ctarg.req_size = 24 + 1 + ct_req->req.rsnn_nn.name_len; in qla_async_rsnn_nn() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_rcfw.c | 259 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message_no_waiter() 330 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message() 626 u32 qp_id, tbl_indx, req_size; in bnxt_qplib_process_qp_event() local 695 req_size = crsqe->req_size; in bnxt_qplib_process_qp_event() 698 crsqe->req_size = 0; in bnxt_qplib_process_qp_event() 704 hwq->cons += req_size; in bnxt_qplib_process_qp_event()
|
/linux-6.6.21/arch/um/drivers/ |
D | vector_kern.h | 99 int req_size; /* different from max packet - used for TSO */ member
|
/linux-6.6.21/arch/mips/include/asm/octeon/ |
D | cvmx-bootmem.h | 273 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | dsp.c | 300 int avs_dsp_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, in avs_dsp_create_pipeline() argument 310 ret = avs_ipc_create_pipeline(adev, req_size, priority, id, lp, attributes); in avs_dsp_create_pipeline()
|
/linux-6.6.21/drivers/vhost/ |
D | scsi.c | 230 size_t req_size, rsp_size; member 992 } else if (unlikely(vc->out_size < vc->req_size)) { in vhost_scsi_chk_size() 995 vc->req_size, vc->out_size); in vhost_scsi_chk_size() 1008 if (unlikely(!copy_from_iter_full(vc->req, vc->req_size, in vhost_scsi_get_req() 1079 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq() 1084 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq() 1121 if (vc.out_size > vc.req_size) { in vhost_scsi_handle_vq() 1123 exp_data_len = vc.out_size - vc.req_size; in vhost_scsi_handle_vq() 1420 vc.req_size = sizeof(struct virtio_scsi_ctrl_tmf_req); in vhost_scsi_ctl_handle_vq() 1428 vc.req_size = sizeof(struct virtio_scsi_ctrl_an_req); in vhost_scsi_ctl_handle_vq() [all …]
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | ccm.h | 120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
|
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/ |
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-6.6.21/drivers/gpu/drm/ |
D | drm_buddy.c | 335 u64 req_size = mm->chunk_size << order; in alloc_range_bias() local 375 if (round_down(adjusted_end + 1, req_size) <= in alloc_range_bias() 376 round_up(adjusted_start, req_size)) in alloc_range_bias()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | rdma_core.h | 105 u8 req_size; member
|
/linux-6.6.21/net/tipc/ |
D | netlink_compat.c | 59 int req_size; member 282 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit() 389 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit() 1314 msg.req_size = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv() 1315 if (msg.req_size && !TLV_OK(msg.req, msg.req_size)) { in tipc_nl_compat_recv()
|