| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_virtchnl_ptp.c | 39 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 D | idpf_virtchnl.c | 673 size_t send_sz, reply_sz, size; 690 reply_sz = xn_params.recv_mem.iov_len; in idpf_map_remaining_mmio_regs() 691 if (reply_sz < sizeof(*rcvd_regions)) { in idpf_map_remaining_mmio_regs() 697 if (reply_sz < size) { in idpf_map_remaining_mmio_regs() 623 size_t send_sz, reply_sz, size; idpf_cfg_lan_memory_regions() local
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 20 * @reply_sz: Size of the MPI3 reply buffer 36 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() 2652 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); in mpi3mr_get_expander_phy_error_log() 2688 memset(&mpi_reply, 0, reply_sz); in mpi3mr_transport_get_linkerrors() 2705 &mpi_reply, reply_sz, MPI3MR_INTADMCMD_TIMEOUT, &ioc_status)) in mpi3mr_transport_get_linkerrors() 2915 u16 reply_sz in mpi3mr_expander_phy_control() 2584 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); mpi3mr_get_expander_phy_error_log() local 2847 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); mpi3mr_expander_phy_control() local 2951 u16 reply_sz = sizeof(struct mpi3_iounit_control_reply); mpi3mr_transport_phy_reset() local 3275 u16 reply_sz = sizeof(struct mpi3_smp_passthrough_reply); mpi3mr_transport_smp_handler() local [all...] |
| H A D | mpi3mr_fw.c | 135 (phys_addr > mrioc->reply_buf_dma_max_address - mrioc->reply_sz) || in mpi3mr_get_reply_virt_addr() 136 do_div(offset, mrioc->reply_sz)) 449 mrioc->reply_sz); in mpi3mr_process_admin_reply_desc() 1500 if (mrioc->facts.reply_sz > mrioc->reply_sz) { 1503 mrioc->reply_sz, mrioc->facts.reply_sz); in mpi3mr_bring_ioc_ready() 3439 mrioc->facts.reply_sz = le16_to_cpu(facts_data->reply_frame_size) * 4; in mpi3mr_alloc_reply_sense_bufs() 3548 mrioc->init_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpimr_initialize_reply_sbuf_queues() 3552 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNE in mpimr_initialize_reply_sbuf_queues() [all...] |
| H A D | mpi3mr_app.c | 1313 (mrioc->reply_sz - (sizeof(struct mpi3_event_notification_reply) - 4)) in mpi3mr_enable_logdata() 2774 memset(mrioc->bsg_cmds.reply, 0, mrioc->reply_sz); in mpi3mr_bsg_process_mpt_cmds() 2865 mrioc->reply_sz); in mpi3mr_bsg_process_mpt_cmds() 2876 mrioc->bsg_cmds.reply, mrioc->reply_sz); in mpi3mr_bsg_process_mpt_cmds()
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.c | 1819 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 D | mptctl.c | 227 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 D | mptbase.h | 638 int reply_sz; /* Reply frame size */ member
|
| H A D | mptsas.c | 2096 min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); in mptsas_mgmt_done()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_ctl.c | 647 sz = min_t(u32, karg->max_reply_bytes, ioc->reply_sz); in _ctl_set_task_mid() 774 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_do_mpt_command() 1143 sz = min_t(u32, karg.max_reply_bytes, ioc->reply_sz); in _ctl_do_mpt_command() 1771 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_register_2() 2250 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_diag_release() 2505 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in _ctl_diag_read_buffer() 2984 memset(ioc->ctl_cmds.reply, 0, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req() 3042 sz = min_t(u32, command->max_reply_bytes, ioc->reply_sz); in mpt3sas_send_mctp_passthru_req()
|
| H A D | mpt3sas_base.c | 6132 ioc->reply_free_queue_depth, ioc->reply_sz, sz/1024); in _base_allocate_reply_pool() 6375 ioc->reply_sz = facts->ReplyFrameSize * 4; in _base_allocate_memory_pools() 6648 sz = ioc->reply_free_queue_depth * ioc->reply_sz; in _base_allocate_memory_pools() 8268 ioc->reply_sz) { in _base_make_ioc_operational() 8601 ioc->base_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach() 8605 ioc->port_enable_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach() 8609 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach() 8614 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach() 8619 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach() 8624 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNE in mpt3sas_base_attach() [all...] |