/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | mad.c | 316 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 333 kfree(in_mad); in mlx5_query_ext_port_caps() 344 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_smp_attr_node_info() 345 if (!in_mad) in mlx5_query_mad_ifc_smp_attr_node_info() 354 kfree(in_mad); in mlx5_query_mad_ifc_smp_attr_node_info() 430 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() 444 kfree(in_mad); in mlx5_query_mad_ifc_node_desc() 455 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid() 481 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey() 510 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A D | mthca_provider.c | 64 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device() 66 if (!in_mad || !out_mad) 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() 996 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_init_node_data() [all …]
|
A D | mthca_cmd.h | 316 const void *in_mad, void *response_mad);
|
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.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | main.c | 459 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device() 634 kfree(in_mad); in mlx4_ib_query_device() 658 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in ib_link_query_port() 734 kfree(in_mad); in ib_link_query_port() 837 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in __mlx4_ib_query_gid() 878 kfree(in_mad); in __mlx4_ib_query_gid() 906 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl() 928 kfree(in_mad); in mlx4_ib_query_sl2vl() 960 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in __mlx4_ib_query_pkey() 980 kfree(in_mad); in __mlx4_ib_query_pkey() [all …]
|
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 …]
|
A D | mlx4_ib.h | 811 const void *in_mad, void *response_mad);
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | sysfs.c | 557 struct ib_mad *in_mad; in get_perf_mad() local 566 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in get_perf_mad() 568 if (!in_mad || !out_mad) { in get_perf_mad() 573 in_mad->mad_hdr.base_version = 1; in get_perf_mad() 574 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad() 575 in_mad->mad_hdr.class_version = 1; in get_perf_mad() 576 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad() 577 in_mad->mad_hdr.attr_id = attr; in get_perf_mad() 580 in_mad->data[41] = port_num; /* PortSelect field */ in get_perf_mad() 583 in_mad, out_mad, &mad_size, in get_perf_mad() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
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 …]
|
A D | verbs.h | 291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|
/linux-6.3-rc2/drivers/infiniband/hw/qedr/ |
A D | verbs.h | 96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
|
/linux-6.3-rc2/drivers/infiniband/hw/qib/ |
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.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
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.3-rc2/include/rdma/ |
A D | ib_verbs.h | 2363 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|