Lines Matching refs:segments

508 	struct segments *segments = op_reply_q->q_segments;  in mpi3mr_get_reply_desc()  local
512 segments[reply_ci / op_reply_q->segment_qd].segment; in mpi3mr_get_reply_desc()
1770 struct segments *segments; in mpi3mr_free_op_req_q_segments() local
1772 segments = mrioc->req_qinfo[q_idx].q_segments; in mpi3mr_free_op_req_q_segments()
1773 if (!segments) in mpi3mr_free_op_req_q_segments()
1790 if (!segments[j].segment) in mpi3mr_free_op_req_q_segments()
1793 size, segments[j].segment, segments[j].segment_dma); in mpi3mr_free_op_req_q_segments()
1794 segments[j].segment = NULL; in mpi3mr_free_op_req_q_segments()
1814 struct segments *segments; in mpi3mr_free_op_reply_q_segments() local
1816 segments = mrioc->op_reply_qinfo[q_idx].q_segments; in mpi3mr_free_op_reply_q_segments()
1817 if (!segments) in mpi3mr_free_op_reply_q_segments()
1834 if (!segments[j].segment) in mpi3mr_free_op_reply_q_segments()
1837 size, segments[j].segment, segments[j].segment_dma); in mpi3mr_free_op_reply_q_segments()
1838 segments[j].segment = NULL; in mpi3mr_free_op_reply_q_segments()
1942 struct segments *segments; in mpi3mr_alloc_op_reply_q_segments() local
1965 sizeof(struct segments), GFP_KERNEL); in mpi3mr_alloc_op_reply_q_segments()
1969 segments = op_reply_q->q_segments; in mpi3mr_alloc_op_reply_q_segments()
1971 segments[i].segment = in mpi3mr_alloc_op_reply_q_segments()
1973 size, &segments[i].segment_dma, GFP_KERNEL); in mpi3mr_alloc_op_reply_q_segments()
1974 if (!segments[i].segment) in mpi3mr_alloc_op_reply_q_segments()
1978 (unsigned long)segments[i].segment_dma; in mpi3mr_alloc_op_reply_q_segments()
1999 struct segments *segments; in mpi3mr_alloc_op_req_q_segments() local
2023 sizeof(struct segments), GFP_KERNEL); in mpi3mr_alloc_op_req_q_segments()
2027 segments = op_req_q->q_segments; in mpi3mr_alloc_op_req_q_segments()
2029 segments[i].segment = in mpi3mr_alloc_op_req_q_segments()
2031 size, &segments[i].segment_dma, GFP_KERNEL); in mpi3mr_alloc_op_req_q_segments()
2032 if (!segments[i].segment) in mpi3mr_alloc_op_req_q_segments()
2036 (unsigned long)segments[i].segment_dma; in mpi3mr_alloc_op_req_q_segments()
2383 struct segments *segments = op_req_q->q_segments; in mpi3mr_op_request_post() local
2416 segment_base_addr = segments[pi / op_req_q->segment_qd].segment; in mpi3mr_op_request_post()
4516 struct segments *segments; in mpi3mr_memset_op_reply_q_buffers() local
4523 segments = op_reply_q->q_segments; in mpi3mr_memset_op_reply_q_buffers()
4525 memset(segments[i].segment, 0, size); in mpi3mr_memset_op_reply_q_buffers()
4539 struct segments *segments; in mpi3mr_memset_op_req_q_buffers() local
4546 segments = op_req_q->q_segments; in mpi3mr_memset_op_req_q_buffers()
4548 memset(segments[i].segment, 0, size); in mpi3mr_memset_op_req_q_buffers()