Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dbp_account.c84 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
93 attr_mod = attr; in bp_accounting()
94 attr_mod.bp_type = HW_BREAKPOINT_X; in bp_accounting()
95 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
96 attr_mod.bp_len = default_breakpoint_len(); in bp_accounting()
98 ret = ioctl(fd[0], PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &attr_mod); in bp_accounting()
/linux/include/trace/events/
H A Dib_umad.h45 __field(u32, attr_mod)
82 __entry->attr_mod = mad_hdr->attr_mod;
105 be32_to_cpu(__entry->attr_mod)
H A Dib_mad.h37 __field(u32, attr_mod)
81 __entry->attr_mod =
82 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_mod;
101 be32_to_cpu(__entry->attr_mod),
201 __field(u32, attr_mod)
221 __entry->attr_mod = mad_hdr->attr_mod;
241 be32_to_cpu(__entry->attr_mod),
/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.c182 data.details.ntc_256.attr_mod = smp->attr_mod; in qib_bad_mkey()
270 if (smp->attr_mod) in subn_get_nodedescription()
287 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo()
317 u32 startgx = 8 * be32_to_cpu(smp->attr_mod); in subn_get_guidinfo()
464 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_get_portinfo()
599 u32 startpx = 32 * (be32_to_cpu(smp->attr_mod) & 0xffff); in subn_get_pkeytable()
624 u32 startgx = 8 * be32_to_cpu(smp->attr_mod); in subn_set_guidinfo()
671 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_set_portinfo()
1042 u32 startpx = 32 * (be32_to_cpu(smp->attr_mod) & 0xffff); in subn_set_pkeytable()
1100 unsigned which = be32_to_cpu(smp->attr_mod) >> 16; in subn_get_vl_arb()
[all …]
H A Dqib_mad.h129 __be32 attr_mod; member
/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c371 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_ext_port_caps()
536 in_mad->attr_mod = cpu_to_be32(index / 32); in mlx5_query_mad_ifc_pkey()
565 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_gids()
576 in_mad->attr_mod = cpu_to_be32(index / 8); in mlx5_query_mad_ifc_gids()
610 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
689 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c453 trap->data.ntc_256.attr_mod = mad->attr_mod; in bad_mkey()
609 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo()
2222 be32_to_cpu(smp->attr_mod)); in __subn_get_opa_vl_arb()
2266 be32_to_cpu(smp->attr_mod)); in __subn_set_opa_vl_arb()
2382 __be32 attr_mod; member
2568 if (pmp->mad_hdr.attr_mod != 0) in pma_get_opa_classportinfo()
2692 u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_portstatus()
2955 num_ports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_datacounters()
3090 if (pmp->mad_hdr.attr_mod != 0 || p->port_select != port) { in pma_get_ib_portcounters_ext()
3175 num_ports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_porterrors()
[all …]
H A Dmad.h92 __be32 attr_mod; member
/linux/samples/bpf/
H A Dibumad_kern.c70 u32 attr_mod; member
/linux/include/rdma/
H A Dopa_smi.h33 __be32 attr_mod; member
H A Dib_mad.h147 __be32 attr_mod; member
418 __be32 attr_mod; member
H A Dib_smi.h29 __be32 attr_mod; member
/linux/include/uapi/rdma/
H A Drdma_user_cm.h215 __u32 attr_mod; member
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c137 in_mad->attr_mod = cpu_to_be32(port); in mthca_query_port()
231 in_mad->attr_mod = cpu_to_be32(index / 32); in mthca_query_pkey()
260 in_mad->attr_mod = cpu_to_be32(port); in mthca_query_gid()
271 in_mad->attr_mod = cpu_to_be32(index / 8); in mthca_query_gid()
/linux/drivers/infiniband/core/
H A Ducma.c291 uevent->resp.ece.attr_mod = event->ece.attr_mod; in ucma_create_uevent()
1075 ece.attr_mod = cmd.ece.attr_mod; in ucma_connect()
1132 ece.attr_mod = cmd.ece.attr_mod; in ucma_accept()
H A Dcma.c2143 event->ece.attr_mod = rep_data->ece.attr_mod; in cma_set_rep_event_data()
2368 event->ece.attr_mod = req_data->ece.attr_mod; in cma_set_req_event_data()
4378 req.ece.attr_mod = id_priv->ece.attr_mod; in cma_connect_ib()
4520 id_priv->ece.attr_mod = ece->attr_mod; in rdma_connect_ece()
4552 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_accept_ib()
4605 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_send_sidr_rep()
4688 id_priv->ece.attr_mod = ece->attr_mod; in rdma_accept_ece()
H A Dcm.c1316 __be64 tid, u32 attr_mod) in cm_format_mad_ece_hdr() argument
1319 hdr->attr_mod = cpu_to_be32(attr_mod); in cm_format_mad_ece_hdr()
1336 cm_form_tid(cm_id_priv), param->ece.attr_mod); in cm_format_req()
1841 param->ece.attr_mod = be32_to_cpu(req_msg->hdr.attr_mod); in cm_format_req_event()
2239 param->ece.attr_mod); in cm_format_rep()
2425 param->ece.attr_mod = be32_to_cpu(rep_msg->hdr.attr_mod); in cm_format_rep_event()
3643 cm_id_priv->tid, param->ece.attr_mod); in cm_format_sidr_rep()
H A Dmad.c209 (hdr->attr_mod & IB_BM_ATTR_MOD_RESP))); in ib_response_mad()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c671 in_mad->attr_mod = cpu_to_be32(port); in ib_link_query_port()
723 in_mad->attr_mod = cpu_to_be32(port); in ib_link_query_port()
850 in_mad->attr_mod = cpu_to_be32(port); in __mlx4_ib_query_gid()
872 in_mad->attr_mod = cpu_to_be32(index / 8); in __mlx4_ib_query_gid()
919 in_mad->attr_mod = 0; in mlx4_ib_query_sl2vl()
973 in_mad->attr_mod = cpu_to_be32(index / 32); in __mlx4_ib_query_pkey()
H A Dmcg.c295 mad.mad_hdr.attr_mod = cpu_to_be32(0); in send_leave_to_wire()
336 mad.mad_hdr.attr_mod = cpu_to_be32(0); in send_reply_to_slave()
H A Dmad.c264 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; in smp_snoop()
300 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod); in smp_snoop()
1154 in_mad->attr_mod = cpu_to_be32(guid_tbl_blk_num + i); in handle_slaves_guid_change()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c851 in_mad->attr_mod = cpu_to_be32(index / 32); in query_pkey_block()
924 index = be32_to_cpu(smp->attr_mod); in mlx4_MAD_IFC_wrapper()
948 smp->attr_mod = cpu_to_be32(port); in mlx4_MAD_IFC_wrapper()
970 smp->attr_mod = 0; in mlx4_MAD_IFC_wrapper()
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema.c135 return be32_to_cpu(recvd_mad->mad_hdr.attr_mod) & 0xff; in vema_get_vport_num()
/linux/include/linux/mlx4/
H A Ddevice.h1014 __be32 attr_mod; member
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c498 slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod); in srpt_mgmt_method_get()
502 slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod); in srpt_mgmt_method_get()