Home
last modified time | relevance | path

Searched refs:r_len (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/ocfs2/
Dreservations.c56 if (resv->r_len) in ocfs2_resv_end()
57 return resv->r_start + resv->r_len - 1; in ocfs2_resv_end()
63 return !!(resv->r_len == 0); in ocfs2_resv_empty()
89 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, in ocfs2_dump_resv()
102 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, in ocfs2_dump_resv()
148 if (resv->r_len == 0) { in ocfs2_check_resmap()
225 resv->r_len = 0; in __ocfs2_resv_trunc()
309 trace_ocfs2_resv_insert(new->r_start, new->r_len); in ocfs2_resv_insert()
498 resv->r_len = clen; in __ocfs2_resv_find_window()
532 goal, next_resv->r_start, next_resv->r_len); in __ocfs2_resv_find_window()
[all …]
Dreservations.h23 unsigned int r_len; /* Length of the window */ member
Docfs2_trace.h1916 unsigned int r_start, unsigned int r_end, unsigned int r_len,
1919 r_len, last_start, last_len),
1926 __field(unsigned int, r_len)
1936 __entry->r_len = r_len;
1942 __entry->r_start, __entry->r_end, __entry->r_len,
Drefcounttree.c2230 unsigned int r_count = 0, r_len; in __ocfs2_decrease_refcount() local
2252 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + in __ocfs2_decrease_refcount()
2257 cpos, r_len, in __ocfs2_decrease_refcount()
2267 r_len); in __ocfs2_decrease_refcount()
2274 cpos += r_len; in __ocfs2_decrease_refcount()
2275 len -= r_len; in __ocfs2_decrease_refcount()
/linux-6.1.9/arch/arm/mach-rpc/
Decard.h44 unsigned char r_len[3]; member
51 #define c_len(x) ((x)->r_len[0]|((x)->r_len[1]<<8)|((x)->r_len[2]<<16))
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_uc.c361 if (unlikely(qp->r_rcv_len > qp->r_len)) in qib_uc_rcv()
386 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv()
417 qp->r_len = be32_to_cpu(reth->length); in qib_uc_rcv()
420 if (qp->r_len != 0) { in qib_uc_rcv()
426 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in qib_uc_rcv()
450 if (unlikely(qp->r_rcv_len > qp->r_len)) in qib_uc_rcv()
469 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in qib_uc_rcv()
480 wc.byte_len = qp->r_len; in qib_uc_rcv()
496 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in qib_uc_rcv()
Dqib_ud.c155 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_loopback()
545 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_rcv()
Dqib_rc.c1821 if (unlikely(qp->r_rcv_len > qp->r_len)) in qib_rc_rcv()
1867 if (unlikely(wc.byte_len > qp->r_len)) in qib_rc_rcv()
1902 qp->r_len = be32_to_cpu(reth->length); in qib_rc_rcv()
1905 if (qp->r_len != 0) { in qib_rc_rcv()
1911 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in qib_rc_rcv()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duc.c382 if (unlikely(qp->r_rcv_len > qp->r_len)) in hfi1_uc_rcv()
404 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv()
445 qp->r_len = be32_to_cpu(reth->length); in hfi1_uc_rcv()
448 if (qp->r_len != 0) { in hfi1_uc_rcv()
454 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in hfi1_uc_rcv()
478 if (unlikely(qp->r_rcv_len > qp->r_len)) in hfi1_uc_rcv()
494 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in hfi1_uc_rcv()
505 wc.byte_len = qp->r_len; in hfi1_uc_rcv()
519 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in hfi1_uc_rcv()
Dud.c137 if (unlikely(wc.byte_len > qp->r_len)) { in ud_loopback()
957 if (unlikely(wc.byte_len > qp->r_len)) { in hfi1_ud_rcv()
Drc.c2875 if (unlikely(qp->r_rcv_len > qp->r_len)) in hfi1_rc_rcv()
2931 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_rc_rcv()
2978 qp->r_len = be32_to_cpu(reth->length); in hfi1_rc_rcv()
2981 if (qp->r_len != 0) { in hfi1_rc_rcv()
2987 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in hfi1_rc_rcv()
Dtid_rdma.c2045 qp->r_len = len; in tid_rdma_rcv_error()
2288 qp->r_len = len; in hfi1_rc_rcv_tid_rdma_read_req()
2290 if (unlikely(!rvt_rkey_ok(qp, &e->rdma_sge, qp->r_len, vaddr, in hfi1_rc_rcv_tid_rdma_read_req()
3739 qp->r_len = len; in hfi1_rc_rcv_tid_rdma_write_req()
3746 if (unlikely(!rvt_rkey_ok(qp, &e->rdma_sge, qp->r_len, vaddr, in hfi1_rc_rcv_tid_rdma_write_req()
/linux-6.1.9/include/rdma/
Drdmavt_qp.h382 u32 r_len; /* total length of r_sge */ member
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c2282 qp->r_len = 0; in init_sge()
2292 qp->r_len += wqe->sg_list[i].length; in init_sge()
2296 ss->total_len = qp->r_len; in init_sge()
3006 if (wqe->length > qp->r_len) in rvt_ruc_loopback()