| /linux-6.15/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 370 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 387 kfree(in_mad); in mlx5_query_ext_port_caps() 398 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_smp_attr_node_info() 399 if (!in_mad) in mlx5_query_mad_ifc_smp_attr_node_info() 408 kfree(in_mad); in mlx5_query_mad_ifc_smp_attr_node_info() 484 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() 498 kfree(in_mad); in mlx5_query_mad_ifc_node_desc() 509 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid() 535 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey() 564 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids() [all …]
|
| /linux-6.15/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 56 struct ib_smp *in_mad; in mthca_query_device() local 64 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device() 116 kfree(in_mad); in mthca_query_device() 128 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_port() 165 kfree(in_mad); in mthca_query_port() 224 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_pkey() 241 kfree(in_mad); in mthca_query_pkey() 253 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_gid() 281 kfree(in_mad); in mthca_query_gid() 997 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_init_node_data() [all …]
|
| H A D | mthca_cmd.h | 316 const void *in_mad, void *response_mad);
|
| H A D | mthca_cmd.c | 1864 const void *in_mad, void *response_mad) in mthca_MAD_IFC() argument 1892 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
|
| /linux-6.15/drivers/infiniband/hw/mlx4/ |
| H A D | main.c | 465 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device() 640 kfree(in_mad); in mlx4_ib_query_device() 664 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in ib_link_query_port() 740 kfree(in_mad); in ib_link_query_port() 843 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in __mlx4_ib_query_gid() 884 kfree(in_mad); in __mlx4_ib_query_gid() 912 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl() 934 kfree(in_mad); in mlx4_ib_query_sl2vl() 966 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in __mlx4_ib_query_pkey() 986 kfree(in_mad); in __mlx4_ib_query_pkey() [all …]
|
| H A D | mad.c | 111 const void *in_mad, void *response_mad) in mlx4_MAD_IFC() argument 130 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC() 973 in_mad->mad_hdr.attr_id); in iboe_process_mad() 1129 struct ib_smp *in_mad = NULL; in handle_slaves_guid_change() local 1136 in_mad = kmalloc(sizeof *in_mad, GFP_KERNEL); in handle_slaves_guid_change() 1138 if (!in_mad || !out_mad) in handle_slaves_guid_change() 1146 memset(in_mad, 0, sizeof *in_mad); in handle_slaves_guid_change() 1149 in_mad->base_version = 1; in handle_slaves_guid_change() 1151 in_mad->class_version = 1; in handle_slaves_guid_change() 1152 in_mad->method = IB_MGMT_METHOD_GET; in handle_slaves_guid_change() [all …]
|
| H A D | mlx4_ib.h | 816 const void *in_mad, void *response_mad);
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | sysfs.c | 549 struct ib_mad *in_mad; in get_perf_mad() local 558 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in get_perf_mad() 560 if (!in_mad || !out_mad) { in get_perf_mad() 565 in_mad->mad_hdr.base_version = 1; in get_perf_mad() 566 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad() 567 in_mad->mad_hdr.class_version = 1; in get_perf_mad() 568 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad() 569 in_mad->mad_hdr.attr_id = attr; in get_perf_mad() 572 in_mad->data[41] = port_num; /* PortSelect field */ in get_perf_mad() 575 in_mad, out_mad, &mad_size, in get_perf_mad() [all …]
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | mad.c | 4450 const struct opa_mad *in_mad, in hfi1_pkey_validation_pma() argument 4481 *out_mad = *in_mad; in process_subn_opa() 4582 *out_mad = *in_mad; in process_subn() 4634 const struct ib_mad *in_mad, in process_perf() argument 4642 *out_mad = *in_mad; in process_perf() 4696 const struct opa_mad *in_mad, in process_perf_opa() argument 4702 *out_mad = *in_mad; in process_perf_opa() 4779 const struct opa_mad *in_mad, in hfi1_process_opa_mad() argument 4797 switch (in_mad->mad_hdr.mgmt_class) { in hfi1_process_opa_mad() 4884 (struct opa_mad *)in_mad, in hfi1_process_mad() [all …]
|
| H A D | verbs.h | 291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|
| /linux-6.15/drivers/infiniband/hw/qedr/ |
| H A D | verbs.h | 96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
|
| /linux-6.15/drivers/infiniband/hw/qib/ |
| H A D | qib_mad.c | 1861 u8 port, const struct ib_mad *in_mad, in process_subn() argument 1869 *out_mad = *in_mad; in process_subn() 1887 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn() 2013 const struct ib_mad *in_mad, in process_perf() argument 2019 *out_mad = *in_mad; in process_perf() 2292 u8 port, const struct ib_mad *in_mad, in process_cc() argument 2296 *out_mad = *in_mad; in process_cc()
|
| /linux-6.15/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.h | 274 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|
| H A D | ib_verbs.c | 4488 const struct ib_mad *in_mad, struct ib_mad *out_mad, in bnxt_re_process_mad() argument 4496 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_PERF_MGMT) in bnxt_re_process_mad() 4499 switch (in_mad->mad_hdr.attr_id) { in bnxt_re_process_mad()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | cmd.c | 843 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block() local 851 in_mad->attr_mod = cpu_to_be32(index / 32); in query_pkey_block()
|
| /linux-6.15/include/rdma/ |
| H A D | ib_verbs.h | 2368 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|