Searched refs:container_of (Results 26 - 50 of 87) sorted by relevance

1234

/freebsd-10.1-release/sys/ofed/drivers/infiniband/core/
H A Dcma.c325 struct cma_multicast *mc = container_of(kref, struct cma_multicast, mcref);
491 id_priv = container_of(id, struct rdma_id_private, id);
520 id_priv = container_of(id, struct rdma_id_private, id);
647 id_priv = container_of(id, struct rdma_id_private, id);
876 mc = container_of(id_priv->mc_list.next,
898 id_priv = container_of(id, struct rdma_id_private, id);
1106 id_priv = container_of(id, struct rdma_id_private, id);
1146 id_priv = container_of(id, struct rdma_id_private, id);
1378 conn_id = container_of(new_cm_id, struct rdma_id_private, id);
1521 dev_id_priv = container_of(i
[all...]
H A Dagent.c120 mad_send_wr = container_of(send_buf,
H A Dcm.c852 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
950 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
1136 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
1553 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
1671 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
1737 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
2021 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
2084 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
2264 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
2434 cm_id_priv = container_of(cm_i
[all...]
H A Dlocal_sa.c809 port = container_of(work, typeof(*port), work);
821 dev = container_of(event_handler, typeof(*dev), event_handler);
873 next_path = container_of(iter->iter, struct ib_path_rec_info, iter);
962 cur_path = container_of(iter->iter, struct ib_path_rec_info,
982 req = container_of(work, struct sa_path_request, work);
H A Dmad_rmpp.c242 container_of(work, struct mad_rmpp_recv, timeout_work.work);
264 container_of(work, struct mad_rmpp_recv, cleanup_work.work);
392 return container_of(seg->list.next, struct ib_mad_recv_buf, list);
H A Dmulticast.c410 group = container_of(work, typeof(*group), work);
637 member = container_of(multicast, struct mcast_member, multicast);
747 dev = container_of(handler, struct mcast_device, event_handler);
/freebsd-10.1-release/sys/dev/cxgbe/
H A Dosdep.h91 #define container_of(p, s, f) ((s *)(((uint8_t *)(p)) - offsetof(s, f))) macro
/freebsd-10.1-release/sys/dev/drm2/
H A Ddrm_os_freebsd.h41 #define container_of(ptr, type, member) ({ \ macro
/freebsd-10.1-release/sys/dev/drm2/radeon/
H A Dradeon_mode.h45 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base)
46 #define to_radeon_connector(x) container_of(x, struct radeon_connector, base)
47 #define to_radeon_encoder(x) container_of(x, struct radeon_encoder, base)
48 #define to_radeon_framebuffer(x) container_of(x, struct radeon_framebuffer, base)
H A Dradeon_object.c65 bo = container_of(tbo, struct radeon_bo, tbo);
577 rbo = container_of(bo, struct radeon_bo, tbo);
591 rbo = container_of(bo, struct radeon_bo, tbo);
H A Dradeon_ttm.c55 mman = container_of(bdev, struct radeon_mman, bdev);
56 rdev = container_of(mman, struct radeon_device, mman);
190 rbo = container_of(bo, struct radeon_bo, tbo);
/freebsd-10.1-release/sys/ofed/include/linux/
H A Dkernel.h127 #define container_of(ptr, type, member) \ macro
H A Dworkqueue.h58 return container_of(work, struct delayed_work, work);
H A Dlist.h113 #define list_entry(ptr, type, field) container_of(ptr, type, field)
372 #define hlist_entry(ptr, type, field) container_of(ptr, type, field)
/freebsd-10.1-release/contrib/ofed/libibcm/src/
H A Dcm.c124 #define container_of(ptr, type, field) \ macro
307 cm_id_priv = container_of(cm_id, struct cm_id_private, id);
465 cmd->uid = (uintptr_t) container_of(cm_id, struct cm_id_private, id);
1008 cm_id_priv = container_of(event->cm_id, struct cm_id_private, id);
1012 cm_id_priv = container_of(event->param.req_rcvd.listen_id,
1030 cm_id_priv = container_of(event->param.sidr_req_rcvd.listen_id,
/freebsd-10.1-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c80 struct ipoib_ah *ah = container_of(kref, struct ipoib_ah, ref);
575 container_of(work, struct ipoib_dev_priv, ah_reap_task.work);
915 container_of(work, struct ipoib_dev_priv, flush_light);
923 container_of(work, struct ipoib_dev_priv, flush_normal);
931 container_of(work, struct ipoib_dev_priv, flush_heavy);
961 container_of(work, struct ipoib_dev_priv, pkey_poll_task.work);
H A Dipoib_verbs.c276 container_of(handler, struct ipoib_dev_priv, event_handler);
/freebsd-10.1-release/sys/dev/drm2/ttm/
H A Dttm_lock.c249 struct ttm_lock *lock = container_of(base, struct ttm_lock, base);
H A Dttm_page_alloc_dma.c205 container_of(kobj, struct ttm_pool_manager, kobj);
213 container_of(kobj, struct ttm_pool_manager, kobj);
247 container_of(kobj, struct ttm_pool_manager, kobj);
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/
H A Deq.c135 container_of(work, struct mlx4_mfunc_master_ctx,
138 container_of(master, struct mlx4_mfunc, master);
139 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc);
404 container_of(work, struct mlx4_mfunc_master_ctx,
407 container_of(master, struct mlx4_mfunc, master);
409 container_of(mfunc, struct mlx4_priv, mfunc);
/freebsd-10.1-release/sys/dev/drm2/i915/
H A Dintel_hdmi.c54 return container_of(encoder, struct intel_hdmi, base.base);
59 return container_of(intel_attached_encoder(connector),
H A Dintel_lvds.c57 return container_of(encoder, struct intel_lvds, base.base);
62 return container_of(intel_attached_encoder(connector),
517 container_of(nb, struct drm_i915_private, lid_notifier);
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmain.c1297 container_of(device, struct mlx4_ib_dev, ib_dev.dev);
1305 container_of(device, struct mlx4_ib_dev, ib_dev.dev);
1315 container_of(device, struct mlx4_ib_dev, ib_dev.dev);
1323 container_of(device, struct mlx4_ib_dev, ib_dev.dev);
1361 struct update_gid_work *gw = container_of(work, struct update_gid_work, work);
1524 ibdev = container_of(this, struct mlx4_ib_dev, iboe.nb);
1680 struct mlx4_ib_dev *dev = container_of(device, struct mlx4_ib_dev,
1696 struct mlx4_ib_dev *dev = container_of(device, struct mlx4_ib_dev,
H A Dmcg.c537 group = container_of(delay, typeof(*group), timeout_work);
644 group = container_of(work, typeof(*group), work);
989 container_of(attr, struct mcast_group, dentry);
1115 struct clean_work *cw = container_of(work, struct clean_work, work);
/freebsd-10.1-release/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c24 * container_of - cast a member of a structure out to the containing structure
30 #define container_of(ptr, type, member) ({ \ macro
356 container_of(ptr, type, member)

Completed in 247 milliseconds

1234