Home
last modified time | relevance | path

Searched refs:byte_len (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-common.c237 buf_sz = tests[i].byte_len; in generic_test()
248 if (sz != tests[i].byte_len) { in generic_test()
251 (unsigned long)sz, (unsigned long)tests[i].byte_len); in generic_test()
266 if (memcmp (buf, tests[i].bytes, tests[i].byte_len) != 0) { in generic_test()
269 print_bytes ((unsigned char *)tests[i].bytes, tests[i].byte_len); in generic_test()
274 rk_dumpdata("correct", tests[i].bytes, tests[i].byte_len); in generic_test()
390 if (tests[i].byte_len < 0xffffff && tests[i].byte_len >= 0) { in generic_decode_fail()
391 sz = tests[i].byte_len; in generic_decode_fail()
400 if (tests[i].byte_len == -1) in generic_decode_fail()
404 ret = (*decode) (buf, tests[i].byte_len, data, &sz); in generic_decode_fail()
H A Dcheck-common.h38 int byte_len; member
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c124 wc->byte_len = be32toh(cqe->byte_cnt); in handle_good_req()
128 wc->byte_len = 8; in handle_good_req()
132 wc->byte_len = 8; in handle_good_req()
193 wc->byte_len = be32toh(cqe->byte_cnt); in handle_responder()
200 wc->byte_len); in handle_responder()
203 wc->byte_len); in handle_responder()
222 wc->byte_len); in handle_responder()
225 wc->byte_len); in handle_responder()
590 wc->byte_len); in mlx5_parse_cqe()
593 mqp, wqe_ctr, cqe - 1, wc->byte_len); in mlx5_parse_cqe()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c772 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
776 wc->byte_len = 8; in mlx4_ib_poll_one()
780 wc->byte_len = 8; in mlx4_ib_poll_one()
784 wc->byte_len = 8; in mlx4_ib_poll_one()
788 wc->byte_len = 8; in mlx4_ib_poll_one()
801 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c495 (int)wc->wr_id, wc->byte_len); in sdp_process_rx_wc()
496 if (unlikely(wc->byte_len < sizeof(struct sdp_bsdh))) { in sdp_process_rx_wc()
498 wc->byte_len, sizeof(struct sdp_bsdh)); in sdp_process_rx_wc()
503 m_adj(mb, -(mb->m_pkthdr.len - wc->byte_len)); in sdp_process_rx_wc()
/freebsd/contrib/ofed/libmlx4/
H A Dcq.c177 wc->byte_len = be32toh(cqe->byte_cnt); in handle_good_req()
181 wc->byte_len = 8; in handle_good_req()
185 wc->byte_len = 8; in handle_good_req()
322 wc->byte_len = be32toh(cqe->byte_cnt); in mlx4_parse_cqe()
/freebsd/sys/dev/mthca/
H A Dmthca_cq.c601 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
605 entry->byte_len = MTHCA_ATOMIC_BYTE_LEN; in mthca_poll_one()
609 entry->byte_len = MTHCA_ATOMIC_BYTE_LEN; in mthca_poll_one()
616 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c135 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req()
139 wc->byte_len = 8; in handle_good_req()
143 wc->byte_len = 8; in handle_good_req()
147 wc->byte_len = 8; in handle_good_req()
151 wc->byte_len = 8; in handle_good_req()
198 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_responder()
/freebsd/contrib/ofed/libcxgb4/
H A Dcq.c616 wc->byte_len = CQE_LEN(&cqe); in c4iw_poll_cq_one()
618 wc->byte_len = 0; in c4iw_poll_cq_one()
627 wc->byte_len = CQE_LEN(&cqe); in c4iw_poll_cq_one()
/freebsd/contrib/ofed/librdmacm/examples/
H A Drping.c241 if (wc->byte_len != sizeof(cb->recv_buf)) { in server_recv()
242 fprintf(stderr, "Received bogus data, size %d\n", wc->byte_len); in server_recv()
262 if (wc->byte_len != sizeof(cb->recv_buf)) { in client_recv()
263 fprintf(stderr, "Received bogus data, size %d\n", wc->byte_len); in client_recv()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c755 wc->byte_len = CQE_LEN(&cqe); in c4iw_poll_cq_one()
757 wc->byte_len = 0; in c4iw_poll_cq_one()
772 wc->byte_len = CQE_LEN(&cqe); in c4iw_poll_cq_one()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c253 wc->byte_len, wc->slid); in ipoib_ib_handle_rx_wc()
256 ipoib_dma_mb(priv, mb, wc->byte_len); in ipoib_ib_handle_rx_wc()
H A Dipoib_cm.c555 wc->byte_len, wc->slid); in ipoib_cm_handle_rx_wc()
557 ipoib_dma_mb(priv, mb, wc->byte_len); in ipoib_cm_handle_rx_wc()
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c166 pkth.len = wc.byte_len; in rdmasniff_read()
/freebsd/sys/contrib/rdma/krping/
H A Dkrping.c318 if (wc->byte_len != sizeof(cb->recv_buf)) { in server_recv()
320 wc->byte_len); in server_recv()
341 if (wc->byte_len != sizeof(cb->recv_buf)) { in client_recv()
343 wc->byte_len); in client_recv()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c940 size_t byte_len = sizeof(byte); in bhnd_nvram_val_encode_string() local
944 16, &parsed_len, &byte, &byte_len, otype_base); in bhnd_nvram_val_encode_string()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_mad.c708 wc->byte_len = sizeof(struct ib_mad) + sizeof(struct ib_grh); in build_smp_wc()
845 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp()
2143 recv->header.wc.byte_len, in handle_opa_smi()
2216 recv->header.recv_wc.mad_len = wc->byte_len - sizeof(struct ib_grh); in ib_mad_recv_done()
/freebsd/sys/dev/iser/
H A Diser_verbs.c125 iser_rcv_completion(rx_desc, wc->byte_len, in iser_handle_wc()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h470 __u32 byte_len; member
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_cm.c826 wc[i].byte_len = qp->rqe_wr_id[qp->rq.cons].sg_list[0].length; in qlnxr_gsi_poll_cq()
H A Dqlnxr_verbs.c4794 wc->byte_len = qp->wqe_wr_id[qp->sq.cons].bytes_len; in process_req()
4803 wc->byte_len = 8; in process_req()
5027 wc->byte_len = 0; in process_resp_one_srq()
5083 wc->byte_len = 0; in process_resp_flush()
/freebsd/contrib/ofed/libibverbs/
H A Dkern-abi.h494 __u32 byte_len; member
H A Dcmd.c567 wc[i].byte_len = resp->wc[i].byte_len; in ibv_cmd_poll_cq()
H A Dverbs.h472 uint32_t byte_len; member
/freebsd/contrib/ofed/libirdma/
H A Dirdma_uverbs.c793 entry->byte_len = cur_cqe->bytes_xfered; in irdma_process_cqe()

12