Searched refs:lrh (Results 1 – 13 of 13) sorted by relevance
396 struct LFS_RECORD_HDR *lrh; // Log record header of the current lsn. member407 kfree(lcb->lrh); in lcb_put()2390 struct LFS_RECORD_HDR *rh = lcb->lrh; in find_log_rec()2398 lcb->lrh = rh; in find_log_rec()2507 hdr = lcb->lrh; in find_client_next_lsn()2524 if (hdr != lcb->lrh) in find_client_next_lsn()2537 kfree(lcb->lrh); in find_client_next_lsn()2538 lcb->lrh = hdr; in find_client_next_lsn()2545 if (hdr != lcb->lrh) in find_client_next_lsn()2570 kfree(lcb->lrh); in find_client_next_lsn()[all …]
98 __be16 lrh[4]; member175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK); in ib_get_lnh()180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK); in ib_get_sc()190 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SL_SHIFT) & IB_SL_MASK); in ib_get_sl()195 return (be16_to_cpu(hdr->lrh[1])); in ib_get_dlid()200 return (be16_to_cpu(hdr->lrh[3])); in ib_get_slid()205 return (u8)((be16_to_cpu(hdr->lrh[0]) >> IB_LVER_SHIFT) & in ib_get_lver()
108 #define lrh_name(lrh) { HFI1_##lrh, #lrh } argument109 #define show_lnh(lrh) \ argument110 __print_symbolic(lrh, \
68 #define LRH_16B_BYTES (sizeof_field(struct hfi1_16b_header, lrh))70 #define LRH_9B_BYTES (sizeof_field(struct ib_header, lrh))80 u32 lrh[4]; member
415 sc = (((be16_to_cpu(req->hdr.lrh[0]) >> 12) & 0xF) | in hfi1_user_sdma_process_request()426 slid = be16_to_cpu(req->hdr.lrh[3]); in hfi1_user_sdma_process_request()437 if ((be16_to_cpu(req->hdr.lrh[0]) & 0x3) == HFI1_LRH_GRH) { in hfi1_user_sdma_process_request()509 dlid = be16_to_cpu(req->hdr.lrh[1]); in hfi1_user_sdma_process_request()589 len = ((be16_to_cpu(req->hdr.lrh[2]) << 2) - in compute_data_length()932 hdr->lrh[2] = cpu_to_be16(lrhlen >> 2); in set_txreq_header()948 req->hdr.lrh[2] = hdr->lrh[2]; in set_txreq_header()
152 return be16_to_cpu(hdr->lrh[2]); in ib_get_len()
345 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_kdeth_eager_rcv()399 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_kdeth_expected_rcv()
1866 lnh = be16_to_cpu(hdr->lrh[0]) & 3; in seqfile_dump_rcd()
2856 int lnh = be16_to_cpu(hdr->lrh[0]) & 3; in hfi1_handle_kdeth_eflags()2857 u16 lid = be16_to_cpu(hdr->lrh[1]); in hfi1_handle_kdeth_eflags()
275 header->lrh.service_level = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; in mthca_read_ah()276 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah()277 header->lrh.source_lid = cpu_to_be16(ah->av->g_slid & 0x7f); in mthca_read_ah()
1519 (sqp->ud_header.lrh.destination_lid == in build_mlx_header()1521 (sqp->ud_header.lrh.service_level << 8)); in build_mlx_header()1522 mlx->rlid = sqp->ud_header.lrh.destination_lid; in build_mlx_header()1539 sqp->ud_header.lrh.virtual_lane = !qp->ibqp.qp_num ? 15 : 0; in build_mlx_header()1540 if (sqp->ud_header.lrh.destination_lid == IB_LID_PERMISSIVE) in build_mlx_header()1541 sqp->ud_header.lrh.source_lid = IB_LID_PERMISSIVE; in build_mlx_header()
242 __be16 lrh[4]; member
2901 sqp->ud_header.lrh.service_level = in build_sriov_qp0_header()2903 sqp->ud_header.lrh.destination_lid = in build_sriov_qp0_header()2905 sqp->ud_header.lrh.source_lid = in build_sriov_qp0_header()2913 mlx->rlid = sqp->ud_header.lrh.destination_lid; in build_sriov_qp0_header()2915 sqp->ud_header.lrh.virtual_lane = 0; in build_sriov_qp0_header()3089 sqp->ud_header.lrh.service_level = in build_mlx_header()3091 sqp->ud_header.lrh.destination_lid = ah->av.ib.dlid; in build_mlx_header()3092 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_mlx_header()3154 (sqp->ud_header.lrh.destination_lid == in build_mlx_header()3158 (sqp->ud_header.lrh.service_level << 8)); in build_mlx_header()[all …]