/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mad.c | 247 memset(out_mad->data, 0, sizeof(out_mad->data)); in mlx5_ib_process_mad() 267 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 314 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid() 315 if (!out_mad) in mlx5_query_mad_ifc_system_image_guid() 336 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys() 358 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id() 381 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc() 406 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid() 432 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey() 461 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids() [all …]
|
H A D | mlx5_ib.h | 967 struct ib_smp *out_mad);
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_provider.c | 72 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device() 73 if (!in_mad || !out_mad) in mthca_query_device() 133 kfree(out_mad); in mthca_query_device() 145 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port() 182 kfree(out_mad); in mthca_query_port() 241 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey() 258 kfree(out_mad); in mthca_query_pkey() 270 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid() 298 kfree(out_mad); in mthca_query_gid() 1076 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/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/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 470 struct ib_mad *out_mad; in get_perf_mad() local 471 size_t mad_size = sizeof(*out_mad); in get_perf_mad() 479 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in get_perf_mad() 480 if (!in_mad || !out_mad) { in get_perf_mad() 497 (struct ib_mad_hdr *)out_mad, &mad_size, in get_perf_mad() 504 memcpy(data, out_mad->data + offset, size); in get_perf_mad() 508 kfree(out_mad); in get_perf_mad()
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.h | 135 struct ib_mad_hdr *out_mad,
|
H A D | qlnxr_verbs.c | 5582 struct ib_mad_hdr *out_mad, in qlnxr_process_mad() argument
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.h | 351 struct ib_mad_hdr *out_mad, size_t *out_mad_size,
|
H A D | ib_verbs.c | 5490 struct ib_mad_hdr *out_mad, size_t *out_mad_size, in bnxt_re_process_mad() argument
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | provider.c | 85 struct ib_mad_hdr *out_mad, in c4iw_process_mad() argument
|
/freebsd/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/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 2334 struct ib_mad_hdr *out_mad,
|