Lines Matching refs:request_payload
159 if (job->request_payload.payload_len >= sizeof(logdata_enable)) { in mpi3mr_enable_logdata()
160 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_enable_logdata()
161 job->request_payload.sg_cnt, in mpi3mr_enable_logdata()
182 if ((!mrioc->logdata_buf) || (job->request_payload.payload_len < entry_sz)) in mpi3mr_get_logdata()
185 num_entries = job->request_payload.payload_len / entry_sz; in mpi3mr_get_logdata()
190 if (job->request_payload.payload_len >= sz) { in mpi3mr_get_logdata()
191 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_get_logdata()
192 job->request_payload.sg_cnt, in mpi3mr_get_logdata()
220 if (job->request_payload.payload_len != sizeof(pel_enable)) { in mpi3mr_bsg_pel_enable()
242 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_bsg_pel_enable()
243 job->request_payload.sg_cnt, in mpi3mr_bsg_pel_enable()
319 if (job->request_payload.payload_len < sizeof(u32)) { in mpi3mr_get_all_tgt_info()
330 if ((job->request_payload.payload_len <= sizeof(u64)) || in mpi3mr_get_all_tgt_info()
332 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_get_all_tgt_info()
333 job->request_payload.sg_cnt, in mpi3mr_get_all_tgt_info()
364 usr_entrylen = (job->request_payload.payload_len - sizeof(u64)) / in mpi3mr_get_all_tgt_info()
369 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_get_all_tgt_info()
370 job->request_payload.sg_cnt, in mpi3mr_get_all_tgt_info()
393 if (job->request_payload.payload_len >= sizeof(chgcnt)) { in mpi3mr_get_change_count()
394 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_get_change_count()
395 job->request_payload.sg_cnt, in mpi3mr_get_change_count()
420 if (job->request_payload.payload_len != in mpi3mr_bsg_adp_reset()
427 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_bsg_adp_reset()
428 job->request_payload.sg_cnt, in mpi3mr_bsg_adp_reset()
496 if (job->request_payload.payload_len >= sizeof(adpinfo)) { in mpi3mr_bsg_populate_adpinfo()
497 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_bsg_populate_adpinfo()
498 job->request_payload.sg_cnt, in mpi3mr_bsg_populate_adpinfo()
1005 dout_buf = kzalloc(job->request_payload.payload_len, in mpi3mr_bsg_process_mpt_cmds()
1019 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_bsg_process_mpt_cmds()
1020 job->request_payload.sg_cnt, in mpi3mr_bsg_process_mpt_cmds()
1021 dout_buf, job->request_payload.payload_len); in mpi3mr_bsg_process_mpt_cmds()
1030 if (sgl_dout_iter > (dout_buf + job->request_payload.payload_len)) { in mpi3mr_bsg_process_mpt_cmds()