| /include/linux/ |
| D | container_of.h | 18 #define container_of(ptr, type, member) ({ \ macro 34 const typeof(*(ptr)) *: ((const type *)container_of(ptr, type, member)),\ 35 default: ((type *)container_of(ptr, type, member)) \
|
| D | peci.h | 55 return container_of(d, struct peci_controller, dev); in to_peci_controller() 85 return container_of(d, struct peci_device, dev); in to_peci_device()
|
| D | plist.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)
|
| D | sunxi-rsb.h | 38 return container_of(d, struct sunxi_rsb_device, dev); in to_sunxi_rsb_device() 67 return container_of(d, struct sunxi_rsb_driver, driver); in to_sunxi_rsb_driver()
|
| D | siox.h | 8 #define to_siox_device(_dev) container_of((_dev), struct siox_device, dev) 59 return container_of(driver, struct siox_driver, driver); in to_siox_driver()
|
| D | mei_aux.h | 29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
|
| D | container.h | 24 return container_of(dev, struct container_dev, dev); in to_container_dev()
|
| D | lwq.h | 67 _n ? container_of(_n, type, member.node) : NULL; }) 84 *(_t1) ? (_n = container_of(*(_t1), typeof(*(_n)), _member.node),\
|
| D | transport_class.h | 54 container_of(x, struct transport_class, class) 62 container_of(x, struct transport_container, ac)
|
| /include/crypto/internal/ |
| D | aead.h | 50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 55 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance() 96 return container_of(req, struct aead_request, base); in aead_request_cast() 111 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
|
| D | akcipher.h | 83 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance() 89 return container_of(&inst->alg, struct akcipher_instance, alg.base); in akcipher_instance() 121 return container_of(spawn->base.alg, struct akcipher_alg, base); in crypto_spawn_akcipher_alg()
|
| D | hash.h | 144 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, in __crypto_ahash_alg() 150 return container_of(crypto_hash_alg_common(hash), struct ahash_alg, in crypto_ahash_alg() 182 return container_of(inst, struct ahash_instance, s.base); in ahash_instance() 248 return container_of(inst, struct shash_instance, s.base); in shash_instance() 270 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
|
| /include/sound/ |
| D | seq_device.h | 28 container_of(_dev, struct snd_seq_device, dev) 52 container_of(_drv, struct snd_seq_driver, driver)
|
| /include/drm/ |
| D | drm_gem_vram_helper.h | 78 return container_of(bo, struct drm_gem_vram_object, bo); in drm_gem_vram_of_bo() 90 return container_of(gem, struct drm_gem_vram_object, bo.base); in drm_gem_vram_of_gem() 197 return container_of(bdev, struct drm_vram_mm, bdev); in drm_vram_mm_of_bdev()
|
| /include/linux/ulpi/ |
| D | driver.h | 23 #define to_ulpi_dev(d) container_of(d, struct ulpi, dev) 49 #define to_ulpi_driver(d) container_of(d, struct ulpi_driver, driver)
|
| /include/net/ |
| D | xdp_sock_drv.h | 87 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma() 94 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma() 122 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free() 141 struct xdp_buff_xsk *frag = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_add_frag() 148 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag() 164 struct xdp_buff_xsk *xskb = container_of(tail, struct xdp_buff_xsk, xdp); in xsk_buff_del_tail() 171 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_tail() 224 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
|
| D | switchdev.h | 110 container_of((OBJ), struct switchdev_obj_port_vlan, obj) 120 container_of((OBJ), struct switchdev_obj_port_mdb, obj) 133 container_of((OBJ), struct switchdev_obj_mrp, obj) 147 container_of((OBJ), struct switchdev_obj_ring_test_mrp, obj) 158 container_of((OBJ), struct switchdev_obj_ring_role_mrp, obj) 167 container_of((OBJ), struct switchdev_obj_ring_state_mrp, obj) 180 container_of((OBJ), struct switchdev_obj_in_test_mrp, obj) 193 container_of((OBJ), struct switchdev_obj_in_role_mrp, obj) 202 container_of((OBJ), struct switchdev_obj_in_state_mrp, obj)
|
| /include/scsi/ |
| D | scsi_transport_sas.h | 89 container_of((d), struct sas_phy, dev) 105 container_of((d), struct sas_rphy, dev) 124 container_of((r), struct sas_end_device, rphy) 145 container_of((r), struct sas_expander_device, rphy) 164 container_of((d), struct sas_port, dev)
|
| /include/linux/mlx5/ |
| D | eq.h | 56 (container_of(container_of(ptr, struct mlx5_nb, nb), type, member))
|
| /include/drm/display/ |
| D | drm_dp_aux_bus.h | 39 return container_of(dev, struct dp_aux_ep_device, dev); in to_dp_aux_ep_dev() 44 return container_of(drv, struct dp_aux_ep_driver, driver); in to_dp_aux_ep_drv()
|
| /include/soc/starfive/ |
| D | reset-starfive-jh71x0.h | 15 container_of((_adev), struct jh71x0_reset_adev, adev)
|
| /include/linux/phy/ |
| D | omap_usb.h | 14 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
|
| /include/media/ |
| D | v4l2-flash-led-class.h | 100 return container_of(sd, struct v4l2_flash, sd); in v4l2_subdev_to_v4l2_flash() 111 return container_of(c->handler, struct v4l2_flash, hdl); in v4l2_ctrl_to_v4l2_flash()
|
| /include/net/caif/ |
| D | cfsrvl.h | 47 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_get() 56 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_put()
|
| /include/linux/gpio/ |
| D | legacy-of-mm-gpiochip.h | 28 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()
|