Home
last modified time | relevance | path

Searched refs:out_mad (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dmad.c317 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
364 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid()
365 if (!out_mad) in mlx5_query_mad_ifc_system_image_guid()
386 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys()
387 if (!out_mad) in mlx5_query_mad_ifc_max_pkeys()
408 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id()
431 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
456 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid()
482 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey()
511 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_provider.c65 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
66 if (!in_mad || !out_mad) in mthca_query_device()
117 kfree(out_mad); in mthca_query_device()
129 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port()
166 kfree(out_mad); in mthca_query_port()
225 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey()
242 kfree(out_mad); in mthca_query_pkey()
254 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid()
282 kfree(out_mad); in mthca_query_gid()
997 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A Dmain.c460 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
635 kfree(out_mad); in mlx4_ib_query_device()
659 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port()
735 kfree(out_mad); in ib_link_query_port()
838 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_gid()
879 kfree(out_mad); in __mlx4_ib_query_gid()
907 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl()
929 kfree(out_mad); in mlx4_ib_query_sl2vl()
961 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_pkey()
981 kfree(out_mad); in __mlx4_ib_query_pkey()
[all …]
A Dmad.c870 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
874 if (!out_mad->mad_hdr.status) { in ib_process_mad()
878 node_desc_override(ibdev, out_mad); in ib_process_mad()
932 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info()
972 (void *)(out_mad->data + 40), in iboe_process_mad()
1130 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change() local
1137 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in handle_slaves_guid_change()
1138 if (!in_mad || !out_mad) in handle_slaves_guid_change()
1147 memset(out_mad, 0, sizeof *out_mad); in handle_slaves_guid_change()
1158 port_num, NULL, NULL, in_mad, out_mad)) { in handle_slaves_guid_change()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/
A Docrdma_stats.h72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
A Docrdma_stats.c673 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad) in ocrdma_pma_counters() argument
677 pma_cnt = (void *)(out_mad->data + 40); in ocrdma_pma_counters()
/linux-6.3-rc2/drivers/infiniband/core/
A Dsysfs.c558 struct ib_mad *out_mad; in get_perf_mad() local
559 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
567 out_mad = kzalloc(sizeof(*out_mad), GFP_KERNEL); in get_perf_mad()
568 if (!in_mad || !out_mad) { in get_perf_mad()
583 in_mad, out_mad, &mad_size, in get_perf_mad()
590 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
594 kfree(out_mad); in get_perf_mad()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dmad.c4471 struct opa_mad *out_mad, in process_subn_opa() argument
4481 *out_mad = *in_mad; in process_subn_opa()
4576 struct ib_mad *out_mad) in process_subn() argument
4582 *out_mad = *in_mad; in process_subn()
4635 struct ib_mad *out_mad) in process_perf() argument
4642 *out_mad = *in_mad; in process_perf()
4702 *out_mad = *in_mad; in process_perf_opa()
4807 out_mad, &resp_len, local_mad); in hfi1_process_opa_mad()
4834 struct ib_mad *out_mad) in hfi1_process_ib_mad() argument
4885 (struct opa_mad *)out_mad, in hfi1_process_mad()
[all …]
A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/linux-6.3-rc2/drivers/infiniband/hw/qedr/
A Dverbs.h97 struct ib_mad *out_mad, size_t *out_mad_size,
A Dverbs.c4481 struct ib_mad *out_mad, size_t *out_mad_size, in qedr_process_mad() argument
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_mad.c1862 struct ib_mad *out_mad) in process_subn() argument
1864 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()
1869 *out_mad = *in_mad; in process_subn()
2014 struct ib_mad *out_mad) in process_perf() argument
2016 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf()
2019 *out_mad = *in_mad; in process_perf()
2293 struct ib_mad *out_mad) in process_cc() argument
2295 struct ib_cc_mad *ccp = (struct ib_cc_mad *)out_mad; in process_cc()
2296 *out_mad = *in_mad; in process_cc()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dcmd.c844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local
860 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
/linux-6.3-rc2/include/rdma/
A Dib_verbs.h2363 const struct ib_mad *in_mad, struct ib_mad *out_mad,

Completed in 69 milliseconds