Home
last modified time | relevance | path

Searched refs:reply_sz (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl_ptp.c39 size_t reply_sz; in idpf_ptp_get_caps() local
46 reply_sz = xn_params.recv_mem.iov_len; in idpf_ptp_get_caps()
47 if (reply_sz != sizeof(*recv_ptp_caps_msg)) { in idpf_ptp_get_caps()
169 size_t reply_sz; in idpf_ptp_get_dev_clk_time() local
178 reply_sz = xn_params.recv_mem.iov_len; in idpf_ptp_get_dev_clk_time()
179 if (reply_sz != sizeof(*get_dev_clk_time_resp)) { in idpf_ptp_get_dev_clk_time()
339 size_t reply_sz; in idpf_ptp_get_vport_tstamps_caps() local
361 reply_sz = xn_params.recv_mem.iov_len; in idpf_ptp_get_vport_tstamps_caps()
362 if (reply_sz < sizeof(*rcv_tx_tstamp_caps)) { in idpf_ptp_get_vport_tstamps_caps()
368 if (reply_sz != size) { in idpf_ptp_get_vport_tstamps_caps()
H A Didpf_virtchnl.c623 size_t send_sz, reply_sz, size; in idpf_cfg_lan_memory_regions() local
640 reply_sz = xn_params.recv_mem.iov_len; in idpf_cfg_lan_memory_regions()
641 if (reply_sz < sizeof(*rcvd_regions)) { in idpf_cfg_lan_memory_regions()
647 if (reply_sz < size) { in idpf_cfg_lan_memory_regions()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c36 u16 request_sz, void *reply, u16 reply_sz, int timeout, in mpi3mr_post_transport_req() argument
80 memcpy((u8 *)reply, mrioc->transport_cmds.reply, reply_sz); in mpi3mr_post_transport_req()
145 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_report_manufacture() local
178 memset(&mpi_reply, 0, reply_sz); in mpi3mr_report_manufacture()
195 &mpi_reply, reply_sz, in mpi3mr_report_manufacture()
2576 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_get_expander_phy_error_log() local
2612 memset(&mpi_reply, 0, reply_sz); in mpi3mr_get_expander_phy_error_log()
2629 &mpi_reply, reply_sz, MPI3MR_INTADMCMD_TIMEOUT, &ioc_status)) in mpi3mr_get_expander_phy_error_log()
2839 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_expander_phy_control() local
2883 memset(&mpi_reply, 0, reply_sz); in mpi3mr_expander_phy_control()
[all …]
H A Dmpi3mr_fw.c433 mrioc->reply_sz); in mpi3mr_process_admin_reply_desc()
1424 if (mrioc->facts.reply_sz > mrioc->reply_sz) { in mpi3mr_revalidate_factsdata()
1427 mrioc->reply_sz, mrioc->facts.reply_sz); in mpi3mr_revalidate_factsdata()
3305 mrioc->facts.reply_sz = le16_to_cpu(facts_data->reply_frame_size) * 4; in mpi3mr_process_factsdata()
3414 mrioc->init_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3418 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3422 mrioc->transport_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
3427 mrioc->dev_rmhs_cmds[i].reply = kzalloc(mrioc->reply_sz, in mpi3mr_alloc_reply_sense_bufs()
3434 mrioc->evtack_cmds[i].reply = kzalloc(mrioc->reply_sz, in mpi3mr_alloc_reply_sense_bufs()
3440 mrioc->host_tm_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
[all …]
/linux/drivers/message/fusion/
H A Dmptbase.c1819 ioc->reply_sz = MPT_REPLY_FRAME_SIZE; in mpt_attach()
3076 int reply_sz; in GetIocFacts() local
3092 reply_sz = sizeof(*facts); in GetIocFacts()
3093 memset(facts, 0, reply_sz); in GetIocFacts()
3104 ioc->name, req_sz, reply_sz)); in GetIocFacts()
3110 reply_sz, (u16*)facts, 5 /*seconds*/, sleepFlag); in GetIocFacts()
3211 ioc->reply_sz = MPT_REPLY_FRAME_SIZE; in GetIocFacts()
3215 ioc->name, ioc->reply_sz, ioc->reply_depth)); in GetIocFacts()
3250 int reply_sz; in GetPortFacts() local
3263 reply_sz = sizeof(*pfacts); in GetPortFacts()
[all …]
H A Dmptctl.c227 sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength); in mptctl_reply()
2034 (pInit->ReplyFrameSize != cpu_to_le16(ioc->reply_sz)) || in mptctl_do_mpt_command()
2230 if (karg.maxReplyBytes < ioc->reply_sz) { in mptctl_do_mpt_command()
2234 sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]); in mptctl_do_mpt_command()
H A Dmptbase.h638 int reply_sz; /* Reply frame size */ member
H A Dmptsas.c2096 min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); in mptsas_mgmt_done()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c643 sz = min_t(u32, karg->max_reply_bytes, ioc->reply_sz); in _ctl_set_task_mid()
770 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command()
1131 sz = min_t(u32, karg.max_reply_bytes, ioc->reply_sz); in _ctl_do_mpt_command()
1759 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_register_2()
2238 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_diag_release()
2493 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_read_buffer()
2972 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req()
3030 sz = min_t(u32, command->max_reply_bytes, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req()