| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_provider.h | 303 return container_of(ibucontext, struct mthca_ucontext, ibucontext); in to_mucontext() 308 return container_of(ibmr, struct mthca_fmr, ibmr); in to_mfmr() 313 return container_of(ibmr, struct mthca_mr, ibmr); in to_mmr() 318 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd() 323 return container_of(ibah, struct mthca_ah, ibah); in to_mah() 328 return container_of(ibcq, struct mthca_cq, ibcq); in to_mcq() 333 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq() 338 return container_of(ibqp, struct mthca_qp, ibqp); in to_mqp() 343 return container_of(qp, struct mthca_sqp, qp); in to_msqp()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sysfs.c | 108 container_of(attr, struct port_attribute, attr); in port_attr_show() 109 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show() 122 container_of(attr, struct port_attribute, attr); in port_attr_store() 123 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_store() 139 container_of(attr, struct port_attribute, attr); in gid_attr_show() 389 container_of(attr, struct port_table_attribute, attr); in _show_port_gid_attr() 411 container_of(attr, struct port_table_attribute, attr); in show_port_gid() 439 container_of(attr, struct port_table_attribute, attr); in show_port_pkey() 518 container_of(attr, struct port_table_attribute, attr); in show_pma_counter() 826 dev = container_of((struct device *)kobj, in show_hw_stats() [all …]
|
| H A D | ib_umem_rbtree.c | 55 container_of(n, struct ib_umem_odp, interval_tree); in node_start() 68 container_of(n, struct ib_umem_odp, interval_tree); in node_last() 93 umem = container_of(node, struct ib_umem_odp, interval_tree); in rbt_ib_umem_for_each_in_range()
|
| H A D | ib_iwcm.c | 206 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in add_ref() 214 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in rem_ref() 293 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_disconnect() 358 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in destroy_cm_id() 429 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_destroy_cm_id() 465 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_listen() 508 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_reject() 546 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_accept() 601 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_connect() 687 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in cm_conn_req_handler() [all …]
|
| H A D | ib_uverbs_main.c | 187 container_of(kobj, struct ib_uverbs_device, kobj); in ib_uverbs_release_dev() 200 container_of(ref, struct ib_uverbs_event_file, ref); in ib_uverbs_release_event_file() 290 container_of(uobj, struct ib_uqp_object, uevent.uobject); in ib_uverbs_cleanup_ucontext() 313 container_of(uobj, struct ib_uwq_object, uevent.uobject); in ib_uverbs_cleanup_ucontext() 324 container_of(uobj, struct ib_uevent_object, uobject); in ib_uverbs_cleanup_ucontext() 336 container_of(uobj, struct ib_ucq_object, uobject); in ib_uverbs_cleanup_ucontext() 356 container_of(uobj, struct ib_uxrcd_object, uobject); in ib_uverbs_cleanup_ucontext() 385 container_of(ref, struct ib_uverbs_file, ref); in ib_uverbs_release_file() 616 uobj = container_of(event->element.qp->uobject, in ib_uverbs_qp_event_handler() 638 uobj = container_of(event->element.srq->uobject, in ib_uverbs_srq_event_handler() [all …]
|
| H A D | ib_sa_query.c | 505 container_of(work, struct ib_sa_port, update_task); in update_sm_ah() 563 container_of(handler, typeof(*sa_dev), event_handler); in ib_sa_event() 852 container_of(sa_query, struct ib_sa_path_query, sa_query); in ib_sa_path_rec_callback() 870 kfree(container_of(sa_query, struct ib_sa_path_query, sa_query)); in ib_sa_path_rec_release() 974 container_of(sa_query, struct ib_sa_service_query, sa_query); in ib_sa_service_rec_callback() 988 kfree(container_of(sa_query, struct ib_sa_service_query, sa_query)); in ib_sa_service_rec_release() 1097 container_of(sa_query, struct ib_sa_mcmember_query, sa_query); in ib_sa_mcmember_rec_callback() 1111 kfree(container_of(sa_query, struct ib_sa_mcmember_query, sa_query)); in ib_sa_mcmember_rec_release() 1189 container_of(sa_query, struct ib_sa_guidinfo_query, sa_query); in ib_sa_guidinfo_rec_callback() 1203 kfree(container_of(sa_query, struct ib_sa_guidinfo_query, sa_query)); in ib_sa_guidinfo_rec_release() [all …]
|
| /freebsd-13.1/sys/arm/nvidia/drm2/ |
| H A D | tegra_fb.c | 52 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_destroy() 70 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_create_handle() 137 fb = container_of(helper, struct tegra_fb, fb_helper); in tegra_fb_probe() 138 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_fb_probe() 208 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_getinfo() 234 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_init() 304 planes[i] = container_of(gem_obj, struct tegra_bo, gem_obj); in tegra_drm_fb_create() 327 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_drm_fb_destroy()
|
| H A D | tegra_dc.c | 329 output = container_of(encoder, struct tegra_drm_encoder, in dc_setup_clk() 517 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in dc_plane_update() 518 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_plane_update() 651 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_mode_set() 653 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_crtc_mode_set() 723 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_mode_set_base() 724 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_crtc_mode_set_base() 743 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc); in dc_crtc_prepare() 884 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_finish_page_flip() 949 fb = container_of(drm_crtc->fb, struct tegra_fb, drm_fb); in dc_page_flip() [all …]
|
| H A D | tegra_drm_subr.c | 58 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_get_modes() 89 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_best_encoder() 102 output = container_of(connector, struct tegra_drm_encoder, in tegra_drm_connector_detect()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_80211.h | 82 #define TXQ_TO_LTXQ(_txq) container_of(_txq, struct lkpi_txq, txq) 104 #define STA_TO_LSTA(_sta) container_of(_sta, struct lkpi_sta, sta) 125 #define VAP_TO_LVIF(_vap) container_of(_vap, struct lkpi_vif, iv_vap) 127 #define VIF_TO_LVIF(_vif) container_of(_vif, struct lkpi_vif, vif) 163 #define HW_TO_LHW(_hw) container_of(_hw, struct lkpi_hw, hw) 171 #define WIPHY_TO_LWIPHY(_wiphy) container_of(_wiphy, struct lkpi_wiphy, wiphy)
|
| H A D | linux_devres.c | 95 dr = container_of(p, struct devres, __drdata); in lkpi_devres_free() 107 dr = container_of(p, struct devres, __drdata); in lkpi_devres_add() 171 dr = container_of(p, struct devres, __drdata); in lkpi_devres_unlink()
|
| /freebsd-13.1/sys/dev/axgbe/ |
| H A D | xgbe-ptp.c | 123 struct xgbe_prv_data *pdata = container_of(cc, in xgbe_cc_read() 135 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjfreq() 166 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjtime() 180 struct xgbe_prv_data *pdata = container_of(info, in xgbe_gettime() 200 struct xgbe_prv_data *pdata = container_of(info, in xgbe_settime()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib.h | 646 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd() 656 return container_of(ibcq, struct mlx4_ib_cq, ibcq); in to_mcq() 661 return container_of(mcq, struct mlx4_ib_cq, mcq); in to_mibcq() 666 return container_of(ibmr, struct mlx4_ib_mr, ibmr); in to_mmr() 671 return container_of(ibmw, struct mlx4_ib_mw, ibmw); in to_mmw() 676 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); in to_mfmr() 686 return container_of(ibqp, struct mlx4_ib_qp, ibqp); in to_mqp() 691 return container_of(mqp, struct mlx4_ib_qp, mqp); in to_mibqp() 696 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); in to_msrq() 701 return container_of(msrq, struct mlx4_ib_srq, msrq); in to_mibsrq() [all …]
|
| H A D | mlx4_ib_sysfs.c | 50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_admin_alias_guid() 75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in store_admin_alias_guid() 405 container_of(attr, struct port_attribute, attr); in port_attr_show() 418 container_of(attr, struct port_attribute, attr); in port_attr_store() 446 container_of(attr, struct port_table_attribute, attr); in show_port_pkey() 463 container_of(attr, struct port_table_attribute, attr); in store_port_pkey() 547 container_of(attr, struct mlx4_port, smi_enabled); in sysfs_show_smi_enabled() 563 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_show_enable_smi_admin() 579 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_store_enable_smi_admin() 753 mport = container_of(p, struct mlx4_port, kobj); in register_one_pkey_tree() [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib.h | 454 return container_of(wr, struct mlx5_umr_wr, wr); in umr_wr() 780 return container_of(mcq, struct mlx5_ib_cq, mcq); in to_mibcq() 795 return container_of(ibcq, struct mlx5_ib_cq, ibcq); in to_mcq() 810 return container_of(mmkey, struct mlx5_ib_mr, mmkey); in to_mibmr() 815 return container_of(ibpd, struct mlx5_ib_pd, ibpd); in to_mpd() 825 return container_of(ibqp, struct mlx5_ib_qp, ibqp); in to_mqp() 830 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq() 840 return container_of(msrq, struct mlx5_ib_srq, msrq); in to_mibsrq() 845 return container_of(ibmr, struct mlx5_ib_mr, ibmr); in to_mmr() 850 return container_of(ibmw, struct mlx5_ib_mw, ibmw); in to_mmw() [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_dim.c | 65 struct net_dim *dim = container_of(work, struct net_dim, work); in mlx5e_dim_work() 66 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_dim_work() 67 struct mlx5e_channel *c = container_of(rq, struct mlx5e_channel, rq); in mlx5e_dim_work()
|
| /freebsd-13.1/sys/dev/qlnx/qlnxr/ |
| H A D | qlnxr_def.h | 776 return container_of(ibdev, struct qlnxr_dev, ibdev); in get_qlnxr_dev() 782 return container_of(ibucontext, struct qlnxr_ucontext, ibucontext); in get_qlnxr_ucontext() 788 return container_of(ibpd, struct qlnxr_pd, ibpd); in get_qlnxr_pd() 794 return container_of(ibcq, struct qlnxr_cq, ibcq); in get_qlnxr_cq() 800 return container_of(ibqp, struct qlnxr_qp, ibqp); in get_qlnxr_qp() 806 return container_of(ibmr, struct qlnxr_mr, ibmr); in get_qlnxr_mr() 812 return container_of(ibah, struct qlnxr_ah, ibah); in get_qlnxr_ah() 818 return container_of(ibsrq, struct qlnxr_srq, ibsrq); in get_qlnxr_srq() 846 return container_of(ifrpl, struct qlnxr_fast_reg_page_list, ibfrpl); in get_qlnxr_frmr_list()
|
| /freebsd-13.1/sys/dev/drm2/ttm/ |
| H A D | ttm_agp_backend.c | 53 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind() 78 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind() 86 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_destroy()
|
| /freebsd-13.1/sys/geom/uzip/ |
| H A D | g_uzip_zstd.c | 57 #ifndef container_of 58 #define container_of(ptr, type, member) \ macro 64 #define to_zstd_softc(zpp) container_of(zpp, struct g_uzip_zstd, guz_pub)
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_health.c | 146 container_of(work, struct mlx5_core_dev, priv.health.work_cmd_completion); in mlx5_trigger_cmd_completions() 375 dwork = container_of(work, struct delayed_work, work); in health_recover() 376 health = container_of(dwork, struct mlx5_core_health, recover_work); in health_recover() 377 priv = container_of(health, struct mlx5_priv, health); in health_recover() 378 dev = container_of(priv, struct mlx5_core_dev, priv); in health_recover() 428 health = container_of(work, struct mlx5_core_health, work); in health_care() 429 priv = container_of(health, struct mlx5_priv, health); in health_care() 430 dev = container_of(priv, struct mlx5_core_dev, priv); in health_care() 551 dev = container_of(work, struct mlx5_core_dev, priv.health.work_watchdog); in health_watchdog()
|
| H A D | mlx5_fw.c | 484 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_component_query() 494 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_lock() 515 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_update() 526 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_block_download() 536 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_component_verify() 546 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_activate() 558 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_query_state() 576 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_cancel() 585 container_of(mlxfw_dev, struct mlx5_mlxfw_dev, mlxfw_dev); in mlx5_fsm_release()
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | rdma_vt.h | 406 return container_of(ibpd, struct rvt_pd, ibpd); in ibpd_to_rvtpd() 411 return container_of(ibah, struct rvt_ah, ibah); in ibah_to_rvtah() 416 return container_of(ibdev, struct rvt_dev_info, ibdev); in ib_to_rvt() 421 return container_of(ibsrq, struct rvt_srq, ibsrq); in ibsrq_to_rvtsrq() 426 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp()
|
| /freebsd-13.1/contrib/ofed/librdmacm/ |
| H A D | cma.c | 586 id_priv = container_of(id, struct cma_id_private, id); in rdma_destroy_id() 628 id_priv = container_of(id, struct cma_id_private, id); in ucma_query_addr() 661 id_priv = container_of(id, struct cma_id_private, id); in ucma_query_gid() 722 id_priv = container_of(id, struct cma_id_private, id); in ucma_query_path() 754 id_priv = container_of(id, struct cma_id_private, id); in ucma_query_route() 803 id_priv = container_of(id, struct cma_id_private, id); in rdma_bind_addr2() 832 id_priv = container_of(id, struct cma_id_private, id); in rdma_bind_addr() 848 id_priv = container_of(id, struct cma_id_private, id); in ucma_complete() 881 id_priv = container_of(id, struct cma_id_private, id); in rdma_resolve_addr2() 917 id_priv = container_of(id, struct cma_id_private, id); in rdma_resolve_addr() [all …]
|
| /freebsd-13.1/contrib/ofed/libmlx4/ |
| H A D | mlx4.h | 311 return container_of(ibdev, struct mlx4_device, verbs_dev); in to_mdev() 331 return container_of(container_of(ibsrq, struct verbs_srq, srq), in to_msrq() 337 return container_of(container_of(ibqp, struct verbs_qp, qp), in to_mqp()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_crtc.h | 830 #define obj_to_crtc(x) container_of(x, struct drm_crtc, base) 831 #define obj_to_connector(x) container_of(x, struct drm_connector, base) 832 #define obj_to_encoder(x) container_of(x, struct drm_encoder, base) 833 #define obj_to_mode(x) container_of(x, struct drm_display_mode, base) 834 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) 835 #define obj_to_property(x) container_of(x, struct drm_property, base) 836 #define obj_to_blob(x) container_of(x, struct drm_property_blob, base) 837 #define obj_to_plane(x) container_of(x, struct drm_plane, base)
|