Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/tests/
Dbp_account.c70 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
79 attr_mod = attr; in bp_accounting()
80 attr_mod.bp_type = HW_BREAKPOINT_X; in bp_accounting()
81 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
83 ret = ioctl(fd[0], PERF_EVENT_IOC_MODIFY_ATTRIBUTES, &attr_mod); in bp_accounting()
/kernel/linux/linux-5.10/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)
82 __entry->attr_mod =
83 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_mod;
102 be32_to_cpu(__entry->attr_mod),
202 __field(u32, attr_mod)
223 __entry->attr_mod = mad_hdr->attr_mod;
246 be32_to_cpu(__entry->attr_mod),
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c296 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_ext_port_caps()
461 in_mad->attr_mod = cpu_to_be32(index / 32); in mlx5_query_mad_ifc_pkey()
490 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_gids()
501 in_mad->attr_mod = cpu_to_be32(index / 8); in mlx5_query_mad_ifc_gids()
535 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
596 in_mad->attr_mod = cpu_to_be32(port); in mlx5_query_mad_ifc_port()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/rdma/
Dopa_smi.h33 __be32 attr_mod; member
Dib_smi.h29 __be32 attr_mod; member
Dib_mad.h147 __be32 attr_mod; member
415 __be32 attr_mod; member
/kernel/linux/linux-5.10/samples/bpf/
Dibumad_kern.c70 u32 attr_mod; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c495 trap->data.ntc_256.attr_mod = mad->attr_mod; in bad_mkey()
651 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo()
2264 be32_to_cpu(smp->attr_mod)); in __subn_get_opa_vl_arb()
2308 be32_to_cpu(smp->attr_mod)); in __subn_set_opa_vl_arb()
2424 __be32 attr_mod; member
2610 if (pmp->mad_hdr.attr_mod != 0) in pma_get_opa_classportinfo()
2734 u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_portstatus()
2997 num_ports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_datacounters()
3132 if (pmp->mad_hdr.attr_mod != 0 || p->port_select != port) { in pma_get_ib_portcounters_ext()
3217 num_ports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_porterrors()
[all …]
Dmad.h133 __be32 attr_mod; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h215 __u32 attr_mod; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h173 __u32 attr_mod; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ducma.c289 uevent->resp.ece.attr_mod = event->ece.attr_mod; in ucma_create_uevent()
1073 ece.attr_mod = cmd.ece.attr_mod; in ucma_connect()
1130 ece.attr_mod = cmd.ece.attr_mod; in ucma_accept()
Dcma.c1981 event->ece.attr_mod = rep_data->ece.attr_mod; in cma_set_rep_event_data()
2206 event->ece.attr_mod = req_data->ece.attr_mod; in cma_set_req_event_data()
4089 req.ece.attr_mod = id_priv->ece.attr_mod; in cma_connect_ib()
4230 id_priv->ece.attr_mod = ece->attr_mod; in rdma_connect_ece()
4262 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_accept_ib()
4312 rep.ece.attr_mod = id_priv->ece.attr_mod; in cma_send_sidr_rep()
4395 id_priv->ece.attr_mod = ece->attr_mod; in rdma_accept_ece()
Dcm.c1329 __be64 tid, u32 attr_mod) in cm_format_mad_ece_hdr() argument
1332 hdr->attr_mod = cpu_to_be32(attr_mod); in cm_format_mad_ece_hdr()
1348 cm_form_tid(cm_id_priv), param->ece.attr_mod); in cm_format_req()
1834 param->ece.attr_mod = be32_to_cpu(req_msg->hdr.attr_mod); in cm_format_req_event()
2231 param->ece.attr_mod); in cm_format_rep()
2412 param->ece.attr_mod = be32_to_cpu(rep_msg->hdr.attr_mod); in cm_format_rep_event()
3628 cm_id_priv->tid, param->ece.attr_mod); in cm_format_sidr_rep()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c145 in_mad->attr_mod = cpu_to_be32(port); in mthca_query_port()
239 in_mad->attr_mod = cpu_to_be32(index / 32); in mthca_query_pkey()
268 in_mad->attr_mod = cpu_to_be32(port); in mthca_query_gid()
279 in_mad->attr_mod = cpu_to_be32(index / 8); in mthca_query_gid()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c673 in_mad->attr_mod = cpu_to_be32(port); in ib_link_query_port()
725 in_mad->attr_mod = cpu_to_be32(port); in ib_link_query_port()
852 in_mad->attr_mod = cpu_to_be32(port); in __mlx4_ib_query_gid()
874 in_mad->attr_mod = cpu_to_be32(index / 8); in __mlx4_ib_query_gid()
920 in_mad->attr_mod = 0; in mlx4_ib_query_sl2vl()
974 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()
1152 in_mad->attr_mod = cpu_to_be32(guid_tbl_blk_num + i); in handle_slaves_guid_change()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c134 return be32_to_cpu(recvd_mad->mad_hdr.attr_mod) & 0xff; in vema_get_vport_num()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h1008 __be32 attr_mod; member
/kernel/linux/linux-5.10/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