Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rdmavt/
H A Dmr.c686 static inline bool rvt_sge_adjacent(struct rvt_sge *last_sge, in rvt_sge_adjacent() argument
689 if (last_sge && sge->lkey == last_sge->mr->lkey && in rvt_sge_adjacent()
690 ((uint64_t)(last_sge->vaddr + last_sge->length) == sge->addr)) { in rvt_sge_adjacent()
692 if (unlikely((sge->addr - last_sge->mr->user_base + in rvt_sge_adjacent()
693 sge->length > last_sge->mr->length))) in rvt_sge_adjacent()
696 last_sge->length += sge->length; in rvt_sge_adjacent()
698 last_sge->sge_length += sge->length; in rvt_sge_adjacent()
699 trace_rvt_sge_adjacent(last_sge, sge); in rvt_sge_adjacent()
722 struct rvt_sge *isge, struct rvt_sge *last_sge, in rvt_lkey_ok() argument
738 if (rvt_sge_adjacent(last_sge, sge)) in rvt_lkey_ok()
[all …]
H A Dqp.c2044 struct rvt_sge *last_sge = NULL; in rvt_post_one_wr() local
2053 ret = rvt_lkey_ok(rkt, pd, &wqe->sg_list[j], last_sge, in rvt_post_one_wr()
2059 last_sge = &wqe->sg_list[j]; in rvt_post_one_wr()
/linux/drivers/ata/
H A Dsata_sil24.c772 struct sil24_sge *last_sge = NULL; in sil24_fill_sg() local
780 last_sge = sge; in sil24_fill_sg()
784 last_sge->flags = cpu_to_le32(SGE_TRM); in sil24_fill_sg()
/linux/include/rdma/
H A Drdma_vt.h527 struct rvt_sge *isge, struct rvt_sge *last_sge,
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.h503 u8 last_sge; /* DWORD 2 */ member
H A Dbe_main.c2177 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2()
2181 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2()
2265 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl()
2269 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl()
2344 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer()
2355 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()
/linux/net/core/
H A Dfilter.c2665 u32 first_sge, last_sge, i, shift, bytes_sg_total; in BPF_CALL_4() local
2710 last_sge = i; in BPF_CALL_4()
2734 } while (i != last_sge); in BPF_CALL_4()
2742 WARN_ON_ONCE(last_sge == first_sge); in BPF_CALL_4()
2743 shift = last_sge > first_sge ? in BPF_CALL_4()
2744 last_sge - first_sge - 1 : in BPF_CALL_4()
2745 NR_MSG_FRAG_IDS - first_sge + last_sge - 1; in BPF_CALL_4()