Home
last modified time | relevance | path

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

/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dmad.c371 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
418 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid()
419 if (!out_mad) in mlx5_query_mad_ifc_system_image_guid()
440 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys()
441 if (!out_mad) in mlx5_query_mad_ifc_max_pkeys()
462 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id()
485 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
510 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid()
536 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey()
565 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids()
[all …]
/linux-6.15/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c57 struct ib_smp *out_mad; in mthca_query_device() local
65 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); 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()
998 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()
[all …]
/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmain.c466 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
641 kfree(out_mad); in mlx4_ib_query_device()
665 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port()
741 kfree(out_mad); in ib_link_query_port()
844 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_gid()
885 kfree(out_mad); in __mlx4_ib_query_gid()
913 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl()
935 kfree(out_mad); in mlx4_ib_query_sl2vl()
967 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_pkey()
987 kfree(out_mad); in __mlx4_ib_query_pkey()
[all …]
H 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.15/drivers/infiniband/hw/bnxt_re/
H A Dbnxt_re.h242 int bnxt_re_assign_pma_port_counters(struct bnxt_re_dev *rdev, struct ib_mad *out_mad);
244 struct ib_mad *out_mad);
H A Dhw_counters.c290 int bnxt_re_assign_pma_port_ext_counters(struct bnxt_re_dev *rdev, struct ib_mad *out_mad) in bnxt_re_assign_pma_port_ext_counters() argument
299 pma_cnt_ext = (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in bnxt_re_assign_pma_port_ext_counters()
308 pma_cnt_ext = (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in bnxt_re_assign_pma_port_ext_counters()
335 int bnxt_re_assign_pma_port_counters(struct bnxt_re_dev *rdev, struct ib_mad *out_mad) in bnxt_re_assign_pma_port_counters() argument
344 pma_cnt = (struct ib_pma_portcounters *)(out_mad->data + 40); in bnxt_re_assign_pma_port_counters()
H A Dib_verbs.h274 const struct ib_mad *in_mad, struct ib_mad *out_mad,
H A Dib_verbs.c4488 const struct ib_mad *in_mad, struct ib_mad *out_mad, in bnxt_re_process_mad() argument
4502 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in bnxt_re_process_mad()
4505 rc = bnxt_re_assign_pma_port_ext_counters(rdev, out_mad); in bnxt_re_process_mad()
4508 rc = bnxt_re_assign_pma_port_counters(rdev, out_mad); in bnxt_re_process_mad()
/linux-6.15/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.h72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
H 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.15/drivers/infiniband/core/
H A Dsysfs.c550 struct ib_mad *out_mad; in get_perf_mad() local
551 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
559 out_mad = kzalloc(sizeof(*out_mad), GFP_KERNEL); in get_perf_mad()
560 if (!in_mad || !out_mad) { in get_perf_mad()
575 in_mad, out_mad, &mad_size, in get_perf_mad()
582 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
586 kfree(out_mad); in get_perf_mad()
/linux-6.15/drivers/infiniband/hw/hfi1/
H 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 …]
H A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/linux-6.15/drivers/infiniband/hw/qedr/
H A Dverbs.h97 struct ib_mad *out_mad, size_t *out_mad_size,
H A Dverbs.c4491 struct ib_mad *out_mad, size_t *out_mad_size, in qedr_process_mad() argument
/linux-6.15/drivers/infiniband/hw/qib/
H 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.15/drivers/net/ethernet/mellanox/mlx4/
H 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.15/include/rdma/
H A Dib_verbs.h2368 const struct ib_mad *in_mad, struct ib_mad *out_mad,