Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/include/linux/
A Dcontainer_of.h19 #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 Dmin_heap.h243 __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 Dpeci.h55 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 Dplist.h229 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 Dsunxi-rsb.h38 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 Dsiox.h8 #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 Dmei_aux.h29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
A Dcontainer.h24 return container_of(dev, struct container_dev, dev); in to_container_dev()
A Dlwq.h67 _n ? container_of(_n, type, member.node) : NULL; })
84 *(_t1) ? (_n = container_of(*(_t1), typeof(*(_n)), _member.node),\
/include/crypto/internal/
A Dsig.h58 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 Daead.h50 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 Dakcipher.h83 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 Ddrm_gem_vram_helper.h77 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 Dseq_device.h28 container_of(_dev, struct snd_seq_device, dev)
52 container_of(_drv, struct snd_seq_driver, driver)
/include/linux/ulpi/
A Ddriver.h23 #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 Dxdp_sock_drv.h78 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 Dswitchdev.h110 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 Dscsi_transport_sas.h89 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 Deq.h56 (container_of(container_of(ptr, struct mlx5_nb, nb), type, member))
/include/drm/display/
A Ddrm_dp_aux_bus.h39 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 Dreset-starfive-jh71x0.h15 container_of((_adev), struct jh71x0_reset_adev, adev)
/include/soc/nuvoton/
A Dclock-npcm8xx.h15 return container_of(_adev, struct npcm_clock_adev, adev); in to_npcm_clock_adev()
/include/linux/phy/
A Domap_usb.h14 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
/include/media/
A Dv4l2-flash-led-class.h100 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 Dcfsrvl.h46 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()

Completed in 31 milliseconds

12345678910>>...12