/freebsd-11.0-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_ib_intfc.h | 14 #undef container_of macro
|
H A D | iw_cxgb_provider.h | 42 #ifndef container_of 43 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field))) macro 48 return container_of(ibpd, struct iwch_pd, ibpd); 83 return container_of(ibmr, struct iwch_mr, ibmr); 96 return container_of(ibmw, struct iwch_mw, ibmw); 111 return container_of(ibcq, struct iwch_cq, ibcq); 177 return container_of(ibqp, struct iwch_qp, ibqp); 194 return container_of(c, struct iwch_ucontext, ibucontext);
|
H A D | iw_cxgb.h | 115 #ifndef container_of 116 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field))) macro 121 return container_of(ibdev, struct iwch_dev, ibdev);
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.h | 300 return container_of(ibucontext, struct mthca_ucontext, ibucontext); 305 return container_of(ibmr, struct mthca_fmr, ibmr); 310 return container_of(ibmr, struct mthca_mr, ibmr); 315 return container_of(ibpd, struct mthca_pd, ibpd); 320 return container_of(ibah, struct mthca_ah, ibah); 325 return container_of(ibcq, struct mthca_cq, ibcq); 330 return container_of(ibsrq, struct mthca_srq, ibsrq); 335 return container_of(ibqp, struct mthca_qp, ibqp); 340 return container_of(qp, struct mthca_sqp, qp);
|
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_txrx.c | 49 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq);
|
/freebsd-11.0-release/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); 78 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); 86 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm);
|
/freebsd-11.0-release/sys/dev/drm/ |
H A D | drm_hashtab.h | 42 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member)
|
H A D | drm_linux_list.h | 42 #define list_entry(ptr, type, member) container_of(ptr,type,member) 43 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
|
/freebsd-11.0-release/sys/dev/drm2/ |
H A D | drm_hashtab.h | 42 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member)
|
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)
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | sysfs.c | 76 container_of(attr, struct port_attribute, attr); 77 struct ib_port *p = container_of(kobj, struct ib_port, kobj); 269 container_of(attr, struct port_table_attribute, attr); 284 container_of(attr, struct port_table_attribute, attr); 299 container_of(attr, struct port_table_attribute, attr); 460 struct ib_port *p = container_of(kobj, struct ib_port, kobj); 485 struct ib_device *dev = container_of(device, struct ib_device, dev); 495 struct ib_device *dev = container_of(device, struct ib_device, dev); 649 struct ib_device *dev = container_of(device, struct ib_device, dev); 664 struct ib_device *dev = container_of(devic [all...] |
H A D | iwcm.c | 262 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 271 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 360 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 450 struct iwcm_listen_work *work = container_of(_work, 458 cm_id_priv = container_of(listen_cm_id, struct iwcm_id_private, id); 583 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 658 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 681 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 743 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); 781 cm_id_priv = container_of(cm_i [all...] |
H A D | uverbs_main.c | 173 container_of(ref, struct ib_uverbs_device, ref); 181 container_of(ref, struct ib_uverbs_event_file, ref); 278 container_of(uobj, struct ib_uqp_object, uevent.uobject); 294 container_of(uobj, struct ib_udct_object, uobject); 308 container_of(uobj, struct ib_uevent_object, uobject); 322 container_of(uobj, struct ib_ucq_object, uobject); 349 container_of(uobj, struct ib_uxrcd_object, uobject); 371 container_of(ref, struct ib_uverbs_file, ref); 512 uobj = container_of(cq->uobject, struct ib_ucq_object, uobject); 564 struct ib_ucq_object *uobj = container_of(even [all...] |
H A D | sa_query.c | 385 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref); 394 container_of(work, struct ib_sa_port, update_task); 448 container_of(handler, typeof(*sa_dev), event_handler); 665 container_of(sa_query, struct ib_sa_path_query, sa_query); 683 kfree(container_of(sa_query, struct ib_sa_path_query, sa_query)); 785 container_of(sa_query, struct ib_sa_service_query, sa_query); 799 kfree(container_of(sa_query, struct ib_sa_service_query, sa_query)); 908 container_of(sa_query, struct ib_sa_mcmember_query, sa_query); 922 kfree(container_of(sa_query, struct ib_sa_mcmember_query, sa_query)); 1000 container_of(sa_quer [all...] |
/freebsd-11.0-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 600 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); 605 return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext); 610 return container_of(ibpd, struct mlx4_ib_pd, ibpd); 615 return container_of(ibxrcd, struct mlx4_ib_xrcd, ibxrcd); 620 return container_of(ibcq, struct mlx4_ib_cq, ibcq); 625 return container_of(mcq, struct mlx4_ib_cq, mcq); 630 return container_of(ibmr, struct mlx4_ib_mr, ibmr); 635 return container_of(ibmw, struct mlx4_ib_mw, ibmw); 640 return container_of(ibfrpl, struct mlx4_ib_fast_reg_page_list, ibfrpl); 645 return container_of(ibfm [all...] |
H A D | sysfs.c | 52 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 79 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 136 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 163 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 399 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); 423 container_of(attr, struct port_attribute, attr); 424 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); 436 container_of(attr, struct port_attribute, attr); 437 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); 464 container_of(att [all...] |
/freebsd-11.0-release/sys/dev/drm2/i915/ |
H A D | intel_drv.h | 299 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 300 #define to_intel_connector(x) container_of(x, struct intel_connector, base) 301 #define to_intel_encoder(x) container_of(x, struct intel_encoder, base) 302 #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base) 303 #define to_intel_plane(x) container_of(x, struct intel_plane, base) 553 container_of(encoder, struct intel_digital_port, base.base); 560 return container_of(encoder, struct intel_digital_port, base.base); 566 return container_of(intel_dp, struct intel_digital_port, dp); 572 return container_of(intel_hdmi, struct intel_digital_port, hdmi);
|
/freebsd-11.0-release/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_health.c | 56 priv = container_of(health, struct mlx5_priv, health); 57 dev = container_of(priv, struct mlx5_core_dev, priv);
|
/freebsd-11.0-release/contrib/ofed/librdmacm/src/ |
H A D | cma.c | 164 #define container_of(ptr, type, field) \ macro 447 id_priv = container_of(id, struct cma_id_private, id); 485 id_priv = container_of(id, struct cma_id_private, id); 538 id_priv = container_of(id, struct cma_id_private, id); 562 id_priv = container_of(id, struct cma_id_private, id); 585 id_priv = container_of(id, struct cma_id_private, id); 611 id_priv = container_of(id, struct cma_id_private, id); 805 id_priv = container_of(id, struct cma_id_private, id); 874 id_priv = container_of(id, struct cma_id_private, id); 905 id_priv = container_of(i [all...] |
/freebsd-11.0-release/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 212 kobj = container_of(kref, struct kobject, kref); 251 dattr = container_of(attr, struct class_attribute, attr); 254 error = dattr->show(container_of(kobj, struct class, kobj), 266 dattr = container_of(attr, struct class_attribute, attr); 269 error = dattr->store(container_of(kobj, struct class, kobj), 279 class = container_of(kobj, struct class, kobj); 299 dev = container_of(kobj, struct device, kobj); 313 dattr = container_of(attr, struct device_attribute, attr); 316 error = dattr->show(container_of(kobj, struct device, kobj), 328 dattr = container_of(att [all...] |
/freebsd-11.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | iw_cxgbe.h | 231 return container_of(ibdev, struct c4iw_dev, ibdev); 236 return container_of(rdev, struct c4iw_dev, rdev); 315 return container_of(ibpd, struct c4iw_pd, ibpd); 346 return container_of(ibmr, struct c4iw_mr, ibmr); 358 return container_of(ibmw, struct c4iw_mw, ibmw); 372 return container_of(ibpl, struct c4iw_fr_page_list, ibpl); 387 return container_of(ibcq, struct c4iw_cq, ibcq); 444 return container_of(ibqp, struct c4iw_qp, ibqp); 457 return container_of(c, struct c4iw_ucontext, ibucontext);
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | rbtree.h | 65 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
|
/freebsd-11.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | sense.c | 94 struct mlx4_sense *sense = container_of(delay, struct mlx4_sense,
|
/freebsd-11.0-release/sys/contrib/vchiq/interface/compat/ |
H A D | list.h | 49 #define container_of(ptr, type, member) \ macro 201 #define list_entry(PTR, TYPE, FIELD) container_of(PTR, TYPE, FIELD)
|
/freebsd-11.0-release/sys/dev/cxgb/ |
H A D | cxgb_adapter.h | 546 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field))) macro 551 return container_of(q, struct sge_qset, fl[qidx]); 557 return container_of(q, struct sge_qset, rspq); 563 return container_of(q, struct sge_qset, txq[qidx]); 566 #undef container_of macro
|