Lines Matching refs:bytes
58 if ((vec->addr + vec->bytes <= vec->addr) || in rds_pages_in_vec()
59 (vec->bytes > (u64)UINT_MAX)) in rds_pages_in_vec()
62 return ((vec->addr + vec->bytes + PAGE_SIZE - 1) >> PAGE_SHIFT) - in rds_pages_in_vec()
204 args->vec.addr, args->vec.bytes, nr_pages); in __rds_rdma_map()
653 rs->rs_user_bytes = iov->bytes; in rds_cmsg_rdma_args()
663 nr_bytes, nr, iov->bytes, iov->addr); in rds_cmsg_rdma_args()
665 nr_bytes += iov->bytes; in rds_cmsg_rdma_args()
673 min_t(unsigned int, iov->bytes, PAGE_SIZE - offset), in rds_cmsg_rdma_args()
677 sg->offset, sg->length, iov->addr, iov->bytes); in rds_cmsg_rdma_args()
680 iov->bytes -= sg->length; in rds_cmsg_rdma_args()
686 if (nr_bytes > args->remote_vec.bytes) { in rds_cmsg_rdma_args()
689 (unsigned int) args->remote_vec.bytes); in rds_cmsg_rdma_args()