Home
last modified time | relevance | path

Searched refs:resp_size (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/drivers/s390/char/
Dvmcp.c34 int resp_size; member
114 session->resp_size = 0; in vmcp_open()
145 size = min_t(size_t, session->resp_size, session->bufsize); in vmcp_read()
179 session->resp_size = cpcmd(cmd, session->response, session->bufsize, in vmcp_write()
228 ret = put_user(session->resp_size, argp); in vmcp_ioctl()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Droce_hsi.h151 u8 resp_size; member
179 u8 resp_size; member
220 u8 resp_size; member
388 u8 resp_size; member
420 u8 resp_size; member
524 u8 resp_size; member
557 u8 resp_size; member
710 u8 resp_size; member
743 u8 resp_size; member
832 u8 resp_size; member
[all …]
Dqplib_tlv.h102 return ((struct cmdq_base *)GET_TLV_DATA(req))->resp_size; in __get_cmdq_base_resp_size()
104 return req->resp_size; in __get_cmdq_base_resp_size()
111 ((struct cmdq_base *)GET_TLV_DATA(req))->resp_size = val; in __set_cmdq_base_resp_size()
113 req->resp_size = val; in __set_cmdq_base_resp_size()
Dqplib_sp.c113 req.resp_size = sbuf.size / BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_get_dev_attr()
733 req.resp_size = sbuf.size / BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_get_roce_stats()
816 req.resp_size = sbuf.size / BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_qext_stat()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Drfi.c119 int resp_size = sizeof(*resp); in iwl_rfi_get_freq_table() local
135 if (WARN_ON_ONCE(iwl_rx_packet_payload_len(cmd.resp_pkt) != resp_size)) in iwl_rfi_get_freq_table()
138 resp = kmemdup(cmd.resp_pkt->data, resp_size, GFP_KERNEL); in iwl_rfi_get_freq_table()
/linux-6.6.21/include/soc/microchip/
Dmpfs.h32 u16 resp_size; member
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c91 int size, int resp_size, void *resp_buf, in virtio_gpu_get_vbuf() argument
104 vbuf->resp_size = resp_size; in virtio_gpu_get_vbuf()
105 if (resp_size <= MAX_INLINE_RESP_SIZE) in virtio_gpu_get_vbuf()
143 int cmd_size, int resp_size, in virtio_gpu_alloc_cmd_resp() argument
149 resp_size, resp_buf, cb); in virtio_gpu_alloc_cmd_resp()
176 if (vbuf->resp_size > MAX_INLINE_RESP_SIZE) in free_vbuf()
408 if (vbuf->resp_size) { in virtio_gpu_queue_fenced_ctrl_buffer()
409 sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); in virtio_gpu_queue_fenced_ctrl_buffer()
Dvirtgpu_drv.h162 int resp_size; member
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c464 u32 resp_size; in pqi_build_csmi_smp_passthru_buffer() local
471 resp_size = job->reply_payload.payload_len; in pqi_build_csmi_smp_passthru_buffer()
492 put_unaligned_le32(resp_size, &parameters->response_length); in pqi_build_csmi_smp_passthru_buffer()
/linux-6.6.21/sound/firewire/fireworks/
Dfireworks_transaction.c72 void *resp, unsigned int resp_size) in snd_efw_transaction_run() argument
80 t.size = resp_size; in snd_efw_transaction_run()
Dfireworks.h115 void *resp, unsigned int resp_size);
/linux-6.6.21/drivers/char/hw_random/
Dmpfs-rng.c37 .resp_size = RNG_RESP_BYTES in mpfs_rng_read()
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c57 void *resp, int resp_size) in lio_vf_rep_send_soft_command() argument
59 int tot_resp_size = sizeof(struct lio_vf_rep_resp) + resp_size; in lio_vf_rep_send_soft_command()
97 memcpy(resp, (rep_resp + 1), resp_size); in lio_vf_rep_send_soft_command()
/linux-6.6.21/drivers/infiniband/core/
Drdma_core.h106 u8 resp_size; member
Duverbs_main.c531 if (hdr->out_words * 8 < method_elm->resp_size) in verify_hdr()
564 if (hdr->out_words * 4 < method_elm->resp_size) in verify_hdr()
647 out_len - method_elm->resp_size; in ib_uverbs_write()
648 out_len = method_elm->resp_size; in ib_uverbs_write()
Duverbs_uapi.c90 method_elm->resp_size = def->write.resp_size; in uapi_create_write()
Duverbs_std_types_device.c40 attrs->ucore.outlen < method_elm->resp_size) in UVERBS_HANDLER()
/linux-6.6.21/drivers/scsi/
Dvirtio_scsi.c427 size_t req_size, size_t resp_size) in __virtscsi_add_cmd() argument
456 sg_init_one(&resp, &cmd->resp, resp_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()
/linux-6.6.21/include/net/mana/
Dgdma.h160 u32 req_size, u32 resp_size) in mana_gd_init_req_hdr() argument
170 hdr->resp.msg_size = resp_size; in mana_gd_init_req_hdr()
/linux-6.6.21/drivers/staging/greybus/
Dcamera.c532 size_t resp_size; in gb_camera_configure_streams() local
539 resp_size = sizeof(*resp) + nstreams * sizeof(resp->config[0]); in gb_camera_configure_streams()
542 resp = kmalloc(resp_size, GFP_KERNEL); in gb_camera_configure_streams()
577 resp, &resp_size); in gb_camera_configure_streams()
/linux-6.6.21/drivers/mailbox/
Dmailbox-mpfs.c155 u16 num_words = ALIGN((response->resp_size), (4)) / 4U; in mpfs_mbox_rx_data()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c1508 u16 resp_size, api_id; in mwifiex_ret_get_hw_spec() local
1569 resp_size = le16_to_cpu(resp->size) - S_DS_GEN; in mwifiex_ret_get_hw_spec()
1570 if (resp_size > sizeof(struct host_cmd_ds_get_hw_spec)) { in mwifiex_ret_get_hw_spec()
1572 left_len = resp_size - sizeof(struct host_cmd_ds_get_hw_spec); in mwifiex_ret_get_hw_spec()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c23 size_t resp_size) in qtnf_cmd_check_reply_header() argument
43 if (unlikely(le16_to_cpu(resp->mhdr.len) < resp_size)) { in qtnf_cmd_check_reply_header()
46 le16_to_cpu(resp->mhdr.len), resp_size); in qtnf_cmd_check_reply_header()
580 size_t resp_size) in qtnf_cmd_sta_info_parse() argument
593 qlink_for_each_tlv(tlv, data, resp_size) { in qtnf_cmd_sta_info_parse()
610 if (!qlink_tlv_parsing_ok(tlv, data, resp_size)) { in qtnf_cmd_sta_info_parse()
/linux-6.6.21/sound/usb/
Dmixer_scarlett_gen2.c1184 void *req_data, u16 req_size, void *resp_data, u16 resp_size) in scarlett2_usb() argument
1190 size_t resp_buf_size = struct_size(resp, data, resp_size); in scarlett2_usb()
1250 resp_size != le16_to_cpu(resp->size) || in scarlett2_usb()
1260 resp_size, le16_to_cpu(resp->size), in scarlett2_usb()
1267 if (resp_data && resp_size > 0) in scarlett2_usb()
1268 memcpy(resp_data, resp->data, resp_size); in scarlett2_usb()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_receiver.c5371 unsigned int resp_size; in drbd_do_auth() local
5456 resp_size = crypto_shash_digestsize(connection->cram_hmac_tfm); in drbd_do_auth()
5457 response = kmalloc(resp_size, GFP_NOIO); in drbd_do_auth()
5475 response, resp_size); in drbd_do_auth()
5492 if (pi.size != resp_size) { in drbd_do_auth()
5498 err = drbd_recv_all_warn(connection, response , resp_size); in drbd_do_auth()
5504 right_response = kmalloc(resp_size, GFP_NOIO); in drbd_do_auth()
5518 rv = !memcmp(response, right_response, resp_size); in drbd_do_auth()
5522 resp_size); in drbd_do_auth()

12