| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_mad.c | 249 memset(out_mad->data, 0, sizeof(out_mad->data)); in mlx5_ib_process_mad() 269 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 316 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid() 317 if (!out_mad) in mlx5_query_mad_ifc_system_image_guid() 338 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys() 360 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id() 383 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() 408 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid() 434 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey() 463 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids() [all …]
|
| H A D | mlx5_ib.h | 940 struct ib_smp *out_mad);
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_provider.c | 71 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device() 72 if (!in_mad || !out_mad) in mthca_query_device() 132 kfree(out_mad); in mthca_query_device() 144 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port() 181 kfree(out_mad); in mthca_query_port() 240 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey() 257 kfree(out_mad); in mthca_query_pkey() 269 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid() 297 kfree(out_mad); in mthca_query_gid() 1130 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data() [all …]
|
| H A D | mthca_mad.c | 211 struct ib_mad *out_mad = (struct ib_mad *)out; in mthca_process_mad() local 214 *out_mad_size != sizeof(*out_mad))) in mthca_process_mad() 263 port_num, in_wc, in_grh, in_mad, out_mad); in mthca_process_mad() 271 if (!out_mad->mad_hdr.status) { in mthca_process_mad() 273 node_desc_override(ibdev, out_mad); in mthca_process_mad() 278 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in mthca_process_mad()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_main.c | 469 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device() 578 kfree(out_mad); in mlx4_ib_query_device() 602 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port() 678 kfree(out_mad); in ib_link_query_port() 780 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_gid() 821 kfree(out_mad); in __mlx4_ib_query_gid() 863 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl() 885 kfree(out_mad); in mlx4_ib_query_sl2vl() 917 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_pkey() 937 kfree(out_mad); in __mlx4_ib_query_pkey() [all …]
|
| H A D | mlx4_ib_mad.c | 835 if (!out_mad->mad_hdr.status) { in ib_process_mad() 895 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info() 931 memset(out_mad->data, 0, sizeof out_mad->data); in iboe_process_mad() 972 in_grh, in_mad, out_mad); in mlx4_ib_process_mad() 975 in_grh, in_mad, out_mad); in mlx4_ib_process_mad() 980 in_grh, in_mad, out_mad); in mlx4_ib_process_mad() 1100 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change() local 1107 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in handle_slaves_guid_change() 1108 if (!in_mad || !out_mad) { in handle_slaves_guid_change() 1119 memset(out_mad, 0, sizeof *out_mad); in handle_slaves_guid_change() [all …]
|
| /freebsd-13.1/sys/dev/qlnx/qlnxr/ |
| H A D | qlnxr_verbs.h | 163 struct ib_mad_hdr *out_mad, 173 struct ib_mad *out_mad);
|
| H A D | qlnxr_verbs.c | 6346 struct ib_mad_hdr *out_mad, 6359 struct ib_mad *out_mad)
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sysfs.c | 472 struct ib_mad *out_mad; in get_perf_mad() local 473 size_t mad_size = sizeof(*out_mad); in get_perf_mad() 481 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in get_perf_mad() 482 if (!in_mad || !out_mad) { in get_perf_mad() 499 (struct ib_mad_hdr *)out_mad, &mad_size, in get_perf_mad() 506 memcpy(data, out_mad->data + offset, size); in get_perf_mad() 510 kfree(out_mad); in get_perf_mad()
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | provider.c | 88 struct ib_mad_hdr *out_mad, in c4iw_process_mad() argument
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_cmd.c | 852 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local 868 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | ib_verbs.h | 2082 struct ib_mad_hdr *out_mad,
|