Searched refs:last_sge (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
| D | mr.c | 879 static inline bool rvt_sge_adjacent(struct rvt_sge *last_sge, in rvt_sge_adjacent() argument 882 if (last_sge && sge->lkey == last_sge->mr->lkey && in rvt_sge_adjacent() 883 ((uint64_t)(last_sge->vaddr + last_sge->length) == sge->addr)) { in rvt_sge_adjacent() 885 if (unlikely((sge->addr - last_sge->mr->user_base + in rvt_sge_adjacent() 886 sge->length > last_sge->mr->length))) in rvt_sge_adjacent() 889 last_sge->length += sge->length; in rvt_sge_adjacent() 891 last_sge->sge_length += sge->length; in rvt_sge_adjacent() 892 trace_rvt_sge_adjacent(last_sge, sge); in rvt_sge_adjacent() 915 struct rvt_sge *isge, struct rvt_sge *last_sge, in rvt_lkey_ok() argument 931 if (rvt_sge_adjacent(last_sge, sge)) in rvt_lkey_ok() [all …]
|
| D | qp.c | 2067 struct rvt_sge *last_sge = NULL; in rvt_post_one_wr() local 2076 ret = rvt_lkey_ok(rkt, pd, &wqe->sg_list[j], last_sge, in rvt_post_one_wr() 2082 last_sge = &wqe->sg_list[j]; in rvt_post_one_wr()
|
| /Linux-v5.4/drivers/ata/ |
| D | sata_sil24.c | 773 struct sil24_sge *last_sge = NULL; in sil24_fill_sg() local 781 last_sge = sge; in sil24_fill_sg() 785 last_sge->flags = cpu_to_le32(SGE_TRM); in sil24_fill_sg()
|
| /Linux-v5.4/include/rdma/ |
| D | rdma_vt.h | 569 struct rvt_sge *isge, struct rvt_sge *last_sge,
|
| /Linux-v5.4/drivers/scsi/be2iscsi/ |
| D | be_main.h | 504 u8 last_sge; /* DWORD 2 */ member
|
| D | be_main.c | 2161 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl_v2() 2165 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl_v2() 2249 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_sgl() 2253 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_sgl() 2328 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 0); in hwi_write_buffer() 2339 AMAP_SET_BITS(struct amap_iscsi_sge, last_sge, psgl, 1); in hwi_write_buffer()
|
| /Linux-v5.4/net/core/ |
| D | filter.c | 2222 u32 first_sge, last_sge, i, shift, bytes_sg_total; in BPF_CALL_4() local 2267 last_sge = i; in BPF_CALL_4() 2291 } while (i != last_sge); in BPF_CALL_4() 2299 WARN_ON_ONCE(last_sge == first_sge); in BPF_CALL_4() 2300 shift = last_sge > first_sge ? in BPF_CALL_4() 2301 last_sge - first_sge - 1 : in BPF_CALL_4() 2302 MAX_SKB_FRAGS - first_sge + last_sge - 1; in BPF_CALL_4()
|