Home
last modified time | relevance | path

Searched refs:sge_cnt (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/scsi/esas2r/
Desas2r_io.c409 if (sgc->sge.prd.sge_cnt == 0) { in esas2r_build_prd_iblk()
482 sgc->sge.prd.sge_cnt = sgc->sge.prd.sgl_max_cnt - 1; in esas2r_build_prd_iblk()
485 sgc->sge.prd.sge_cnt--; in esas2r_build_prd_iblk()
516 - sgc->sge.prd.sge_cnt in esas2r_build_prd_iblk()
623 sgc->sge.prd.sge_cnt = 0; in esas2r_build_sg_list_prd()
Desas2r.h617 u32 sge_cnt; member
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c103 if (rdma_nl_put_driver_u32_hex(msg, "ext_sge_sge_cnt", hr_qp->sge.sge_cnt)) in hns_roce_fill_res_qp_entry()
Dhns_roce_hw_v2.c209 dseg = hns_roce_get_extend_sge(qp, idx & (qp->sge.sge_cnt - 1)); in fill_ext_sge_inl_data()
240 idx & (qp->sge.sge_cnt - 1)); in fill_ext_sge_inl_data()
257 dseg = hns_roce_get_extend_sge(qp, idx & (qp->sge.sge_cnt - 1)); in set_extend_sge()
341 (*sge_ind) & (qp->sge.sge_cnt - 1)); in set_rwqe_data_seg()
502 curr_idx & (qp->sge.sge_cnt - 1)); in set_ud_wqe()
835 hr_qp->rq_inl_buf.wqe_list[wqe_idx].sge_cnt = (u32)wr->num_sge; in fill_rq_wqe()
3622 u32 sge_cnt, data_len, size; in hns_roce_handle_recv_inl_wqe() local
3629 sge_num = qp->rq_inl_buf.wqe_list[wr_cnt].sge_cnt; in hns_roce_handle_recv_inl_wqe()
3633 for (sge_cnt = 0; (sge_cnt < sge_num) && (data_len); sge_cnt++) { in hns_roce_handle_recv_inl_wqe()
3634 size = min(sge_list[sge_cnt].len, data_len); in hns_roce_handle_recv_inl_wqe()
[all …]
Dhns_roce_device.h340 unsigned int sge_cnt; /* SGE num */ member
575 u32 sge_cnt; member
Dhns_roce_qp.c508 hr_qp->sge.sge_cnt = max(total_sge_cnt, in set_ext_sge_param()
585 buf_size = to_hr_hem_entries_size(hr_qp->sge.sge_cnt, in set_wqe_buf_attr()
/Linux-v6.1/drivers/scsi/be2iscsi/
Dbe_cmds.c674 bool embedded, u8 sge_cnt) in be_wrb_hdr_prepare() argument
679 wrb->emb_sgecnt_special |= (sge_cnt & MCC_WRB_SGE_CNT_MASK) << in be_wrb_hdr_prepare()
Dbe_cmds.h1457 bool embedded, u8 sge_cnt);