Home
last modified time | relevance | path

Searched refs:last_sge (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmr.c878 static inline bool rvt_sge_adjacent(struct rvt_sge *last_sge, in rvt_sge_adjacent() argument
881 if (last_sge && sge->lkey == last_sge->mr->lkey && in rvt_sge_adjacent()
882 ((uint64_t)(last_sge->vaddr + last_sge->length) == sge->addr)) { in rvt_sge_adjacent()
884 if (unlikely((sge->addr - last_sge->mr->user_base + in rvt_sge_adjacent()
885 sge->length > last_sge->mr->length))) in rvt_sge_adjacent()
888 last_sge->length += sge->length; in rvt_sge_adjacent()
890 last_sge->sge_length += sge->length; in rvt_sge_adjacent()
891 trace_rvt_sge_adjacent(last_sge, sge); in rvt_sge_adjacent()
914 struct rvt_sge *isge, struct rvt_sge *last_sge, in rvt_lkey_ok() argument
930 if (rvt_sge_adjacent(last_sge, sge)) in rvt_lkey_ok()
[all …]
Dqp.c1805 struct rvt_sge *last_sge = NULL; in rvt_post_one_wr() local
1814 ret = rvt_lkey_ok(rkt, pd, &wqe->sg_list[j], last_sge, in rvt_post_one_wr()
1820 last_sge = &wqe->sg_list[j]; in rvt_post_one_wr()
/Linux-v4.19/drivers/ata/
Dsata_sil24.c783 struct sil24_sge *last_sge = NULL; in sil24_fill_sg() local
791 last_sge = sge; in sil24_fill_sg()
795 last_sge->flags = cpu_to_le32(SGE_TRM); in sil24_fill_sg()
/Linux-v4.19/include/rdma/
Drdma_vt.h553 struct rvt_sge *isge, struct rvt_sge *last_sge,
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_main.h509 u8 last_sge; /* DWORD 2 */ member
Dbe_main.c2179 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2183 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2267 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2271 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2346 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2357 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()