/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | dm.h | 44 return container_of(ibdm, struct mlx5_ib_dm, ibdm); 49 return container_of(ibdm, struct mlx5_ib_dm_memic, base.ibdm); 54 return container_of(ibdm, struct mlx5_ib_dm_icm, base.ibdm);
|
/linux-master/drivers/virtio/ |
H A D | virtio_dma_buf.c | 24 container_of(exp_info->ops, 45 container_of(dma_buf->ops, 78 container_of(dma_buf->ops,
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | hub.h | 32 return container_of(plane, struct tegra_shared_plane, base.base); 58 return container_of(client, struct tegra_display_hub, client); 72 return container_of(priv, struct tegra_display_hub_state, base);
|
/linux-master/fs/notify/ |
H A D | fsnotify.h | 15 return container_of(conn->obj, struct inode, i_fsnotify_marks); 21 return container_of(conn->obj, struct mount, mnt_fsnotify_marks); 27 return container_of(conn->obj, struct super_block, s_fsnotify_marks);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | rbtree_fail.c | 25 node_a = container_of(a, struct node_data, node); 26 node_b = container_of(b, struct node_data, node); 93 n = container_of(res, struct node_data, node); 97 m = container_of(res, struct node_data, node); 122 n = container_of(res, struct node_data, node); 217 n = container_of(res, struct node_data, node); 235 node_a = container_of(a, struct node_data, node); 236 node_b = container_of(b, struct node_data, node); 247 node_a = container_of(a, struct node_data, node); 248 node_b = container_of( [all...] |
H A D | rbtree.c | 29 node_a = container_of(a, struct node_data, node); 30 node_b = container_of(b, struct node_data, node); 99 n = container_of(res, struct node_data, node); 147 o = container_of(res, struct node_data, node); 156 o = container_of(res, struct node_data, node); 167 o = container_of(res, struct node_data, node); 204 o = container_of(res, struct node_data, node); 209 m = container_of(res, struct node_data, node); 227 o = container_of(res, struct node_data, node); 235 m = container_of(res [all...] |
H A D | linked_list.c | 28 bpf_obj_drop(container_of(n, struct foo, node2)); 37 bpf_obj_drop(container_of(n, struct foo, node2)); 54 f = container_of(n, struct foo, node2); 69 f = container_of(n, struct foo, node2); 80 bpf_obj_drop(container_of(n, struct foo, node2)); 88 bpf_obj_drop(container_of(n, struct foo, node2)); 133 pf = container_of(n, struct foo, node2); 152 pf = container_of(n, struct foo, node2); 163 bpf_obj_drop(container_of(n, struct foo, node2)); 171 bpf_obj_drop(container_of( [all...] |
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.h | 78 #define to_rcar_crtc(c) container_of(c, struct rcar_du_crtc, crtc) 79 #define wb_to_rcar_crtc(c) container_of(c, struct rcar_du_crtc, writeback) 94 #define to_rcar_crtc_state(s) container_of(s, struct rcar_du_crtc_state, state)
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_eswitch_br.h | 92 container_of(nb, \ 97 container_of(w, \ 102 container_of(w, \
|
/linux-master/include/linux/ |
H A D | lwq.h | 15 #include <linux/container_of.h> 67 _n ? container_of(_n, type, member.node) : NULL; }) 84 *(_t1) ? (_n = container_of(*(_t1), typeof(*(_n)), _member.node),\
|
H A D | plist.h | 76 #include <linux/container_of.h> 229 container_of(plist_first(head), type, member); \ 233 container_of(plist_first(head), type, member) 246 container_of(plist_last(head), type, member); \ 250 container_of(plist_last(head), type, member)
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_uvmm.h | 38 #define uvmm_from_gpuvm(x) container_of((x), struct nouveau_uvmm, base) 39 #define uvma_from_va(x) container_of((x), struct nouveau_uvma, va) 75 #define to_uvmm_bind_job(job) container_of((job), struct nouveau_uvmm_bind_job, base)
|
/linux-master/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_vsp.h | 14 #include <linux/container_of.h> 37 return container_of(p, struct rzg2l_du_vsp_plane, plane); 54 return container_of(state, struct rzg2l_du_vsp_plane_state, state);
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 37 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 44 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 51 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 60 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 70 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 95 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 108 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 121 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 134 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); 161 struct sm_disk *smd = container_of(s [all...] |
/linux-master/security/tomoyo/ |
H A D | group.c | 24 return container_of(a, struct tomoyo_path_group, head)->member_name == 25 container_of(b, struct tomoyo_path_group, head)->member_name; 39 return !memcmp(&container_of(a, struct tomoyo_number_group, head) 41 &container_of(b, struct tomoyo_number_group, head) 43 sizeof(container_of(a, struct tomoyo_number_group, head) 58 const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), 60 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2),
|
H A D | gc.c | 112 container_of(element, typeof(*ptr), head.list); 128 container_of(element, typeof(*ptr), head.list); 144 container_of(element, typeof(*ptr), head.list); 159 container_of(element, typeof(*acl), list); 166 = container_of(acl, typeof(*entry), head); 173 = container_of(acl, typeof(*entry), head); 181 = container_of(acl, typeof(*entry), head); 189 = container_of(acl, typeof(*entry), head); 199 = container_of(acl, typeof(*entry), head); 209 container_of(ac [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.h | 283 return container_of(ibucontext, struct mthca_ucontext, ibucontext); 288 return container_of(ibmr, struct mthca_mr, ibmr); 293 return container_of(ibpd, struct mthca_pd, ibpd); 298 return container_of(ibah, struct mthca_ah, ibah); 303 return container_of(ibcq, struct mthca_cq, ibcq); 308 return container_of(ibsrq, struct mthca_srq, ibsrq); 313 return container_of(ibqp, struct mthca_qp, ibqp);
|
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_kms.h | 131 #define to_kplane(p) container_of(p, struct komeda_plane, base) 132 #define to_kplane_st(p) container_of(p, struct komeda_plane_state, base) 133 #define to_kconn(p) container_of(p, struct komeda_wb_connector, base) 134 #define to_kcrtc(p) container_of(p, struct komeda_crtc, base) 135 #define to_kcrtc_st(p) container_of(p, struct komeda_crtc_state, base) 136 #define to_kdev(p) container_of(p, struct komeda_kms_dev, base) 137 #define to_wb_conn(x) container_of(x, struct drm_writeback_connector, base)
|
/linux-master/drivers/vfio/pci/pds/ |
H A D | vfio_dev.c | 25 return container_of(core_device, struct pds_vfio_pci_device, 44 container_of(vdev, struct pds_vfio_pci_device, 88 container_of(vdev, struct pds_vfio_pci_device, 119 container_of(vdev, struct pds_vfio_pci_device, 152 container_of(vdev, struct pds_vfio_pci_device, 162 container_of(vdev, struct pds_vfio_pci_device, 180 container_of(vdev, struct pds_vfio_pci_device,
|
/linux-master/mm/damon/ |
H A D | sysfs-schemes.c | 43 struct damon_sysfs_scheme_region *region = container_of(kobj, 52 struct damon_sysfs_scheme_region *region = container_of(kobj, 61 struct damon_sysfs_scheme_region *region = container_of(kobj, 70 struct damon_sysfs_scheme_region *region = container_of(kobj, 78 struct damon_sysfs_scheme_region *region = container_of(kobj, 187 struct damon_sysfs_scheme_regions *regions = container_of(kobj, 207 kfree(container_of(kobj, struct damon_sysfs_scheme_regions, kobj)); 246 struct damon_sysfs_stats *stats = container_of(kobj, 255 struct damon_sysfs_stats *stats = container_of(kobj, 264 struct damon_sysfs_stats *stats = container_of(kob [all...] |
/linux-master/drivers/clk/ |
H A D | clk-wm831x.c | 27 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 36 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 68 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 85 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 103 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 116 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 153 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 178 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 233 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, 250 struct wm831x_clk *clkdata = container_of(h [all...] |
/linux-master/drivers/misc/ |
H A D | tifm_core.c | 43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 44 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, 70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 71 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, 92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 93 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, 110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 111 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, 121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 122 struct tifm_driver *drv = container_of(de [all...] |
/linux-master/drivers/gpu/drm/msm/dp/ |
H A D | dp_catalog.c | 89 struct dp_catalog_private *catalog = container_of(dp_catalog, 167 struct dp_catalog_private *catalog = container_of(dp_catalog, 175 struct dp_catalog_private *catalog = container_of(dp_catalog, 184 struct dp_catalog_private *catalog = container_of(dp_catalog, 194 struct dp_catalog_private *catalog = container_of(dp_catalog, 209 struct dp_catalog_private *catalog = container_of(dp_catalog, 234 struct dp_catalog_private *catalog = container_of(dp_catalog, 250 struct dp_catalog_private *catalog = container_of(dp_catalog, 269 struct dp_catalog_private *catalog = container_of(dp_catalog, 299 struct dp_catalog_private *catalog = container_of(dp_catalo [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_simple_kms_helper.c | 91 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 122 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 135 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 153 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 164 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 175 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 186 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 197 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); 224 pipe = container_of(plane, struct drm_simple_display_pipe, plane); 251 pipe = container_of(plan [all...] |
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 16 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 53 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 70 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 81 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); 122 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); 136 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl);
|