Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/perf/tests/
Dbp_account.c83 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
92 attr_mod = attr; in bp_accounting()
93 attr_mod.bp_type = HW_BREAKPOINT_X; in bp_accounting()
94 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
96 ret = ioctl(fd[0], PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &attr_mod); in bp_accounting()
/Linux-v6.6/include/trace/events/
Dib_umad.h45 __field(u32, attr_mod)
82 __entry->attr_mod = mad_hdr->attr_mod;
105 be32_to_cpu(__entry->attr_mod)
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-v6.6/drivers/infiniband/hw/qib/
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 …]
Dqib_mad.h129 __be32 attr_mod; member
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmad.c323 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_ext_port_caps()
488 in_mad->attr_mod = cpu_to_be32(index / 32); in mlx5_query_mad_ifc_pkey()
517 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_gids()
528 in_mad->attr_mod = cpu_to_be32(index / 8); in mlx5_query_mad_ifc_gids()
562 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
628 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
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 …]
Dmad.h92 __be32 attr_mod; member
/Linux-v6.6/samples/bpf/
Dibumad_kern.c70 u32 attr_mod; member
/Linux-v6.6/include/rdma/
Dopa_smi.h33 __be32 attr_mod; member
Dib_mad.h147 __be32 attr_mod; member
416 __be32 attr_mod; member
Dib_smi.h29 __be32 attr_mod; member
/Linux-v6.6/include/uapi/rdma/
Drdma_user_cm.h215 __u32 attr_mod; member
/Linux-v6.6/drivers/infiniband/hw/mthca/
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-v6.6/drivers/infiniband/core/
Ducma.c292 uevent->resp.ece.attr_mod = event->ece.attr_mod; in ucma_create_uevent()
1076 ece.attr_mod = cmd.ece.attr_mod; in ucma_connect()
1133 ece.attr_mod = cmd.ece.attr_mod; in ucma_accept()
Dcma.c2141 event->ece.attr_mod = rep_data->ece.attr_mod; in cma_set_rep_event_data()
2366 event->ece.attr_mod = req_data->ece.attr_mod; in cma_set_req_event_data()
4376 req.ece.attr_mod = id_priv->ece.attr_mod; in cma_connect_ib()
4518 id_priv->ece.attr_mod = ece->attr_mod; in rdma_connect_ece()
4550 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_accept_ib()
4603 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_send_sidr_rep()
4686 id_priv->ece.attr_mod = ece->attr_mod; in rdma_accept_ece()
Dcm.c1295 __be64 tid, u32 attr_mod) in cm_format_mad_ece_hdr() argument
1298 hdr->attr_mod = cpu_to_be32(attr_mod); in cm_format_mad_ece_hdr()
1315 cm_form_tid(cm_id_priv), param->ece.attr_mod); in cm_format_req()
1820 param->ece.attr_mod = be32_to_cpu(req_msg->hdr.attr_mod); in cm_format_req_event()
2218 param->ece.attr_mod); in cm_format_rep()
2404 param->ece.attr_mod = be32_to_cpu(rep_msg->hdr.attr_mod); in cm_format_rep_event()
3622 cm_id_priv->tid, param->ece.attr_mod); in cm_format_sidr_rep()
Dmad.c209 (hdr->attr_mod & IB_BM_ATTR_MOD_RESP))); in ib_response_mad()
/Linux-v6.6/drivers/infiniband/hw/mlx4/
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()
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()
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-v6.6/drivers/net/ethernet/mellanox/mlx4/
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-v6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c135 return be32_to_cpu(recvd_mad->mad_hdr.attr_mod) & 0xff; in vema_get_vport_num()
/Linux-v6.6/include/linux/mlx4/
Ddevice.h1014 __be32 attr_mod; member
/Linux-v6.6/drivers/infiniband/ulp/srpt/
Dib_srpt.c433 slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod); in srpt_mgmt_method_get()
437 slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod); in srpt_mgmt_method_get()

12