Searched refs:r_len (Results 1 - 26 of 26) sorted by relevance

/linux-4.4.14/arch/arm/mach-rpc/
H A Decard.h47 unsigned char r_len[3]; member in struct:ex_chunk_dir
54 #define c_len(x) ((x)->r_len[0]|((x)->r_len[1]<<8)|((x)->r_len[2]<<16))
/linux-4.4.14/fs/ocfs2/
H A Dreservations.c69 if (resv->r_len) ocfs2_resv_end()
70 return resv->r_start + resv->r_len - 1; ocfs2_resv_end()
76 return !!(resv->r_len == 0); ocfs2_resv_empty()
102 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, ocfs2_dump_resv()
115 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, ocfs2_dump_resv()
161 if (resv->r_len == 0) { ocfs2_check_resmap()
240 resv->r_len = 0; __ocfs2_resv_trunc()
324 trace_ocfs2_resv_insert(new->r_start, new->r_len); ocfs2_resv_insert()
513 resv->r_len = clen; __ocfs2_resv_find_window()
547 goal, next_resv->r_start, next_resv->r_len); __ocfs2_resv_find_window()
625 resv->r_len = best_len; __ocfs2_resv_find_window()
654 lru_resv->r_len, ocfs2_cannibalize_resv()
661 if (lru_resv->r_len <= min_bits) { ocfs2_cannibalize_resv()
668 resv->r_len = lru_resv->r_len; ocfs2_cannibalize_resv()
676 shrink = lru_resv->r_len / 2; ocfs2_cannibalize_resv()
678 lru_resv->r_len -= shrink; ocfs2_cannibalize_resv()
681 resv->r_len = shrink; ocfs2_cannibalize_resv()
685 resv->r_len, resv->r_last_start, ocfs2_cannibalize_resv()
755 trace_ocfs2_resmap_resv_bits(resv->r_start, resv->r_len); ocfs2_resmap_resv_bits()
761 *clen = resv->r_len; ocfs2_resmap_resv_bits()
793 resv->r_len = old_end - resv->r_start + 1; ocfs2_adjust_resv_from_alloc()
813 ocfs2_resv_end(resv), resv->r_len, ocfs2_resmap_claimed_bits()
833 resv->r_len, resv->r_last_start, ocfs2_resmap_claimed_bits()
H A Dreservations.h33 unsigned int r_len; /* Length of the window */ member in struct:ocfs2_alloc_reservation
H A Docfs2_trace.h1919 unsigned int r_start, unsigned int r_end, unsigned int r_len,
1922 r_len, last_start, last_len),
1929 __field(unsigned int, r_len)
1939 __entry->r_len = r_len;
1945 __entry->r_start, __entry->r_end, __entry->r_len,
H A Drefcounttree.c2238 unsigned int r_count = 0, r_len; __ocfs2_decrease_refcount() local
2260 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + __ocfs2_decrease_refcount()
2265 cpos, r_len, __ocfs2_decrease_refcount()
2275 r_len); __ocfs2_decrease_refcount()
2282 cpos += r_len; __ocfs2_decrease_refcount()
2283 len -= r_len; __ocfs2_decrease_refcount()
3263 * Here we may not allocate r_len once at a time, so continue ocfs2_make_clusters_writable()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_uc.c371 if (unlikely(qp->r_rcv_len > qp->r_len)) {
405 if (unlikely(wc.byte_len > qp->r_len)) {
437 qp->r_len = be32_to_cpu(reth->length);
439 if (qp->r_len != 0) {
445 ok = ipath_rkey_ok(qp, &qp->r_sge, qp->r_len,
476 if (unlikely(qp->r_rcv_len > qp->r_len)) {
505 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) {
515 wc.byte_len = qp->r_len;
531 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) {
H A Dipath_rc.c1367 * the duplicate request. Note that r_sge, r_len, and ipath_rc_rcv_error()
1684 if (unlikely(qp->r_rcv_len > qp->r_len)) ipath_rc_rcv()
1727 if (unlikely(wc.byte_len > qp->r_len))
1765 qp->r_len = be32_to_cpu(reth->length);
1767 if (qp->r_len != 0) {
1774 qp->r_len, vaddr, rkey,
H A Dipath_ruc.c210 } while (!ipath_init_sge(qp, wqe, &qp->r_len, &qp->r_sge)); ipath_get_rwqe()
H A Dipath_ud.c541 if (wc.byte_len > qp->r_len) { ipath_ud_rcv()
H A Dipath_verbs.h400 u32 r_len; /* total length of r_sge */ member in struct:ipath_qp
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_uc.c374 if (unlikely(qp->r_rcv_len > qp->r_len)) qib_uc_rcv()
399 if (unlikely(wc.byte_len > qp->r_len)) qib_uc_rcv()
432 qp->r_len = be32_to_cpu(reth->length);
435 if (qp->r_len != 0) {
441 ok = qib_rkey_ok(qp, &qp->r_sge.sge, qp->r_len,
465 if (unlikely(qp->r_rcv_len > qp->r_len))
484 if (unlikely(tlen + qp->r_rcv_len != qp->r_len))
495 wc.byte_len = qp->r_len;
511 if (unlikely(tlen + qp->r_rcv_len != qp->r_len))
H A Dqib_ruc.c94 qp->r_len = 0; qib_init_sge()
102 qp->r_len += wqe->sg_list[i].length; qib_init_sge()
106 ss->total_len = qp->r_len; qib_init_sge()
H A Dqib_rc.c1666 * the duplicate request. Note that r_sge, r_len, and qib_rc_rcv_error()
1980 if (unlikely(qp->r_rcv_len > qp->r_len)) qib_rc_rcv()
2026 if (unlikely(wc.byte_len > qp->r_len)) qib_rc_rcv()
2063 qp->r_len = be32_to_cpu(reth->length); qib_rc_rcv()
2066 if (qp->r_len != 0) { qib_rc_rcv()
2072 ok = qib_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, qib_rc_rcv()
H A Dqib_ud.c160 if (unlikely(wc.byte_len > qp->r_len)) { qib_ud_loopback()
551 if (unlikely(wc.byte_len > qp->r_len)) { qib_ud_rcv()
H A Dqib_verbs.h477 u32 r_len; /* total length of r_sge */ member in struct:qib_qp
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Duc.c415 if (unlikely(qp->r_rcv_len > qp->r_len)) hfi1_uc_rcv()
439 if (unlikely(wc.byte_len > qp->r_len)) hfi1_uc_rcv()
482 qp->r_len = be32_to_cpu(reth->length);
485 if (qp->r_len != 0) {
491 ok = hfi1_rkey_ok(qp, &qp->r_sge.sge, qp->r_len,
515 if (unlikely(qp->r_rcv_len > qp->r_len))
533 if (unlikely(tlen + qp->r_rcv_len != qp->r_len))
544 wc.byte_len = qp->r_len;
560 if (unlikely(tlen + qp->r_rcv_len != qp->r_len))
H A Druc.c112 qp->r_len = 0; init_sge()
120 qp->r_len += wqe->sg_list[i].length; init_sge()
124 ss->total_len = qp->r_len; init_sge()
H A Drc.c1665 * the duplicate request. Note that r_sge, r_len, and rc_rcv_error()
2060 if (unlikely(qp->r_rcv_len > qp->r_len)) hfi1_rc_rcv()
2105 if (unlikely(wc.byte_len > qp->r_len)) hfi1_rc_rcv()
2151 qp->r_len = be32_to_cpu(reth->length); hfi1_rc_rcv()
2154 if (qp->r_len != 0) { hfi1_rc_rcv()
2160 ok = hfi1_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, hfi1_rc_rcv()
H A Dud.c182 if (unlikely(wc.byte_len > qp->r_len)) { ud_loopback()
829 if (unlikely(wc.byte_len > qp->r_len)) { hfi1_ud_rcv()
H A Dverbs.h487 u32 r_len; /* total length of r_sge */ member in struct:hfi1_qp
/linux-4.4.14/net/decnet/
H A Daf_decnet.c1525 unsigned int r_len; __dn_getsockopt() local
1529 if(get_user(r_len , optlen)) __dn_getsockopt()
1534 if (r_len > sizeof(struct optdata_dn)) __dn_getsockopt()
1535 r_len = sizeof(struct optdata_dn); __dn_getsockopt()
1540 if (r_len > sizeof(struct optdata_dn)) __dn_getsockopt()
1541 r_len = sizeof(struct optdata_dn); __dn_getsockopt()
1546 if (r_len > sizeof(struct accessdata_dn)) __dn_getsockopt()
1547 r_len = sizeof(struct accessdata_dn); __dn_getsockopt()
1552 if (r_len > sizeof(unsigned char)) __dn_getsockopt()
1553 r_len = sizeof(unsigned char); __dn_getsockopt()
1558 if (r_len > sizeof(struct linkinfo_dn)) __dn_getsockopt()
1559 r_len = sizeof(struct linkinfo_dn); __dn_getsockopt()
1602 if (r_len > sizeof(unsigned long)) __dn_getsockopt()
1603 r_len = sizeof(unsigned long); __dn_getsockopt()
1608 if (r_len > sizeof(int)) __dn_getsockopt()
1609 r_len = sizeof(int); __dn_getsockopt()
1615 if (r_len > sizeof(int)) __dn_getsockopt()
1616 r_len = sizeof(int); __dn_getsockopt()
1622 if (r_len > sizeof(unsigned char)) __dn_getsockopt()
1623 r_len = sizeof(unsigned char); __dn_getsockopt()
1628 if (r_len > sizeof(unsigned char)) __dn_getsockopt()
1629 r_len = sizeof(unsigned char); __dn_getsockopt()
1635 if (copy_to_user(optval, r_data, r_len)) __dn_getsockopt()
1637 if (put_user(r_len, optlen)) __dn_getsockopt()
/linux-4.4.14/fs/dlm/
H A Ddebug_fs.c182 r_nodeid r_len r_name */ print_format2_lock()
393 seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_name\n"); table_seq_show()
/linux-4.4.14/fs/xfs/
H A Dxfs_log_priv.h162 uint r_len; /* region length :4 */ member in struct:xlog_res
H A Dxfs_log.c361 tic->t_res_arr[tic->t_res_num].r_len = len; xlog_tic_add_region()
2080 ticket->t_res_arr[i].r_len); xlog_print_tic_res()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c452 dev_vdbg(bdc->dev, "%s ep:%s num_bds:%d tfs:%d r_len:%d bd:%p\n", setup_bd_list_xfr()
/linux-4.4.14/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c771 pr_debug("r_len=%d r_ext_len=%d essid_len=%d\n", scan_list_dump()

Completed in 746 milliseconds