| /include/linux/ |
| A D | container_of.h | 19 #define container_of(ptr, type, member) ({ \ macro 37 const typeof(*(ptr)) *: ((const type *)container_of(ptr, type, member)),\ 38 default: ((type *)container_of(ptr, type, member)) \
|
| A D | min_heap.h | 243 __min_heap_peek_inline(container_of(&(_heap)->nr, min_heap_char, nr))) 253 __min_heap_full_inline(container_of(&(_heap)->nr, min_heap_char, nr)) 319 __min_heap_sift_up_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 334 __min_heapify_all_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 356 __min_heap_pop_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 428 __min_heap_del_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 454 __min_heap_full(container_of(&(_heap)->nr, min_heap_char, nr)) 459 __min_heap_sift_up(container_of(&(_heap)->nr, min_heap_char, nr), \ 462 __min_heapify_all(container_of(&(_heap)->nr, min_heap_char, nr), \ 465 __min_heap_pop(container_of(&(_heap)->nr, min_heap_char, nr), \ [all …]
|
| A 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()
|
| A 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)
|
| A 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()
|
| A 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()
|
| A D | mei_aux.h | 29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
|
| A D | container.h | 24 return container_of(dev, struct container_dev, dev); in to_container_dev()
|
| A D | lwq.h | 67 _n ? container_of(_n, type, member.node) : NULL; }) 84 *(_t1) ? (_n = container_of(*(_t1), typeof(*(_n)), _member.node),\
|
| /include/crypto/internal/ |
| A D | sig.h | 58 return container_of(&inst->alg, struct sig_instance, alg.base); in sig_instance() 69 return container_of(&inst->alg.base, struct crypto_instance, alg); in sig_crypto_instance() 95 return container_of(spawn->base.alg, struct sig_alg, base); in crypto_spawn_sig_alg()
|
| A 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()
|
| A 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()
|
| /include/drm/ |
| A D | drm_gem_vram_helper.h | 77 return container_of(bo, struct drm_gem_vram_object, bo); in drm_gem_vram_of_bo() 89 return container_of(gem, struct drm_gem_vram_object, bo.base); in drm_gem_vram_of_gem() 182 return container_of(bdev, struct drm_vram_mm, bdev); in drm_vram_mm_of_bdev()
|
| /include/sound/ |
| A D | seq_device.h | 28 container_of(_dev, struct snd_seq_device, dev) 52 container_of(_drv, struct snd_seq_driver, driver)
|
| /include/linux/ulpi/ |
| A 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/ |
| A D | xdp_sock_drv.h | 78 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma() 85 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma() 113 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free() 141 frag = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_add_frag() 149 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag() 165 struct xdp_buff_xsk *xskb = container_of(tail, struct xdp_buff_xsk, xdp); in xsk_buff_del_tail() 172 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_tail() 251 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
|
| A 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/ |
| A 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/ |
| A D | eq.h | 56 (container_of(container_of(ptr, struct mlx5_nb, nb), type, member))
|
| /include/drm/display/ |
| A 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/ |
| A D | reset-starfive-jh71x0.h | 15 container_of((_adev), struct jh71x0_reset_adev, adev)
|
| /include/soc/nuvoton/ |
| A D | clock-npcm8xx.h | 15 return container_of(_adev, struct npcm_clock_adev, adev); in to_npcm_clock_adev()
|
| /include/linux/phy/ |
| A D | omap_usb.h | 14 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
|
| /include/media/ |
| A 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/ |
| A D | cfsrvl.h | 46 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_get() 55 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_put()
|