container_of 129 include/acpi/acpi_bus.h return container_of(kobj, struct acpi_hotplug_profile, kobj); container_of 373 include/acpi/acpi_bus.h #define to_acpi_device(d) container_of(d, struct acpi_device, dev) container_of 374 include/acpi/acpi_bus.h #define to_acpi_driver(d) container_of(d, struct acpi_driver, drv) container_of 218 include/crypto/algapi.h return container_of(tfm->__crt_alg, struct crypto_instance, alg); container_of 340 include/crypto/algapi.h container_of(queue->backlog, struct crypto_async_request, list); container_of 91 include/crypto/compress.h return container_of(alg, struct pcomp_alg, base); container_of 112 include/crypto/hash.h return container_of(tfm, struct crypto_ahash, base); container_of 137 include/crypto/hash.h return container_of(alg, struct hash_alg_common, base); container_of 241 include/crypto/hash.h return container_of(req, struct ahash_request, base); container_of 289 include/crypto/hash.h return container_of(alg, struct shash_alg, base); container_of 138 include/crypto/internal/hash.h return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, container_of 151 include/crypto/internal/hash.h return container_of(&inst->alg.halg.base, struct crypto_instance, alg); container_of 157 include/crypto/internal/hash.h return container_of(&inst->alg, struct ahash_instance, alg.halg.base); container_of 208 include/crypto/internal/hash.h return container_of(&inst->alg.base, struct crypto_instance, alg); container_of 214 include/crypto/internal/hash.h return container_of(__crypto_shash_alg(&inst->alg), container_of 243 include/crypto/internal/hash.h return container_of(tfm, struct crypto_shash, base); container_of 48 include/crypto/pcrypt.h return container_of(padata, struct pcrypt_request, padata); container_of 64 include/crypto/skcipher.h return container_of(ablkcipher_request_cast(req), container_of 864 include/drm/drm_crtc.h #define obj_to_crtc(x) container_of(x, struct drm_crtc, base) container_of 865 include/drm/drm_crtc.h #define obj_to_connector(x) container_of(x, struct drm_connector, base) container_of 866 include/drm/drm_crtc.h #define obj_to_encoder(x) container_of(x, struct drm_encoder, base) container_of 867 include/drm/drm_crtc.h #define obj_to_mode(x) container_of(x, struct drm_display_mode, base) container_of 868 include/drm/drm_crtc.h #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) container_of 869 include/drm/drm_crtc.h #define obj_to_property(x) container_of(x, struct drm_property, base) container_of 870 include/drm/drm_crtc.h #define obj_to_blob(x) container_of(x, struct drm_property_blob, base) container_of 871 include/drm/drm_crtc.h #define obj_to_plane(x) container_of(x, struct drm_plane, base) container_of 102 include/drm/drm_encoder_slave.h #define to_encoder_slave(x) container_of((x), struct drm_encoder_slave, base) container_of 128 include/drm/drm_encoder_slave.h #define to_drm_i2c_encoder_driver(x) container_of((x), \ container_of 19 include/drm/drm_gem_cma_helper.h return container_of(gem_obj, struct drm_gem_cma_object, base); container_of 40 include/drm/drm_hashtab.h #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) container_of 130 include/drm/drm_mipi_dsi.h return container_of(dev, struct mipi_dsi_device, dev); container_of 157 include/drm/drm_mipi_dsi.h return container_of(driver, struct mipi_dsi_driver, driver); container_of 339 include/drm/ttm/ttm_object.h container_of(base, struct ttm_prime_object, base)->real_type : container_of 60 include/linux/amba/bus.h #define to_amba_device(d) container_of(d, struct amba_device, dev) container_of 144 include/linux/backlight.h #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev) container_of 64 include/linux/basic_mmio_gpio.h return container_of(gc, struct bgpio_chip, gc); container_of 89 include/linux/cb710.h return container_of(pdev, struct cb710_slot, pdev); container_of 252 include/linux/clk/ti.h #define to_clk_hw_omap(_hw) container_of(_hw, struct clk_hw_omap, hw) container_of 107 include/linux/configfs.h return item ? container_of(item,struct config_group,cg_item) : NULL; container_of 189 include/linux/configfs.h container_of(attr, struct _item##_attribute, attr); \ container_of 202 include/linux/configfs.h container_of(attr, struct _item##_attribute, attr); \ container_of 248 include/linux/configfs.h container_of(group, struct configfs_subsystem, su_group) : container_of 24 include/linux/container.h return container_of(dev, struct container_dev, dev); container_of 702 include/linux/crypto.h return container_of(req, struct ablkcipher_request, base); container_of 304 include/linux/device-mapper.h return container_of(bio, struct dm_target_io, clone)->target_bio_nr; container_of 803 include/linux/device.h return container_of(kobj, struct device, kobj); container_of 55 include/linux/dio.h #define to_dio_dev(n) container_of(n, struct dio_dev, dev) container_of 95 include/linux/dio.h #define to_dio_driver(drv) container_of(drv, struct dio_driver, driver) container_of 174 include/linux/dma/ipu-dma.h #define to_tx_desc(tx) container_of(tx, struct idmac_tx_desc, txd) container_of 175 include/linux/dma/ipu-dma.h #define to_idmac_chan(c) container_of(c, struct idmac_channel, dma_chan) container_of 47 include/linux/eisa.h #define to_eisa_device(n) container_of(n, struct eisa_device, dev) container_of 62 include/linux/eisa.h #define to_eisa_driver(drv) container_of(drv,struct eisa_driver, driver) container_of 109 include/linux/enclosure.h return container_of(dev, struct enclosure_device, edev); container_of 115 include/linux/enclosure.h return container_of(dev, struct enclosure_component, cdev); container_of 210 include/linux/firewire.h return container_of(dev, struct fw_device, device); container_of 231 include/linux/firewire.h return container_of(dev, struct fw_unit, device); container_of 87 include/linux/fmc.h #define to_fmc_driver(x) container_of((x), struct fmc_driver, driver) container_of 184 include/linux/fmc.h #define to_fmc_device(x) container_of((x), struct fmc_device, dev) container_of 52 include/linux/gameport.h #define to_gameport_port(d) container_of(d, struct gameport, dev) container_of 65 include/linux/gameport.h #define to_gameport_driver(d) container_of(d, struct gameport_driver, driver) container_of 19 include/linux/genhd.h #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) container_of 20 include/linux/genhd.h #define dev_to_part(device) container_of((device), struct hd_struct, __dev) container_of 279 include/linux/host1x.h return container_of(dev, struct host1x_device, dev); container_of 152 include/linux/hsi/hsi.h #define to_hsi_client(dev) container_of(dev, struct hsi_client, device) container_of 176 include/linux/hsi/hsi.h #define to_hsi_client_driver(drv) container_of(drv, struct hsi_client_driver,\ container_of 255 include/linux/hsi/hsi.h #define to_hsi_port(dev) container_of(dev, struct hsi_port, device) container_of 293 include/linux/hsi/hsi.h #define to_hsi_controller(dev) container_of(dev, struct hsi_controller, device) container_of 30 include/linux/hwmon-sysfs.h container_of(_dev_attr, struct sensor_device_attribute, dev_attr) container_of 46 include/linux/hwmon-sysfs.h container_of(_dev_attr, struct sensor_device_attribute_2, dev_attr) container_of 901 include/linux/hyperv.h return container_of(d, struct hv_device, device); container_of 906 include/linux/hyperv.h return container_of(d, struct hv_driver, driver); container_of 198 include/linux/i2c.h #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) container_of 228 include/linux/i2c.h #define to_i2c_client(d) container_of(d, struct i2c_client, dev) container_of 235 include/linux/i2c.h struct device * const dev = container_of(kobj, struct device, kobj); container_of 447 include/linux/i2c.h #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) container_of 783 include/linux/i2o.h #define to_i2o_driver(drv) container_of(drv,struct i2o_driver, driver) container_of 784 include/linux/i2o.h #define to_i2o_device(dev) container_of(dev, struct i2o_device, device) container_of 785 include/linux/i2o.h #define to_i2o_controller(dev) container_of(dev, struct i2o_controller, device) container_of 871 include/linux/i2o.h mmsg = container_of(msg, struct i2o_msg_mfa, msg); container_of 932 include/linux/i2o.h mmsg = container_of(msg, struct i2o_msg_mfa, msg); container_of 575 include/linux/ide.h #define to_ide_device(dev) container_of(dev, ide_drive_t, gendev) container_of 578 include/linux/ide.h container_of(obj, struct cont_type, dev) container_of 581 include/linux/ide.h container_of((disk)->private_data, struct cont_type, driver) container_of 1027 include/linux/ide.h #define to_ide_driver(drv) container_of(drv, struct ide_driver, gen_driver) container_of 518 include/linux/iio/iio.h return container_of(dev, struct iio_dev, dev); container_of 31 include/linux/iio/sysfs.h container_of(_dev_attr, struct iio_dev_attr, dev_attr) container_of 49 include/linux/iio/sysfs.h container_of(_dev_attr, struct iio_const_attr, dev_attr) container_of 78 include/linux/iio/trigger.h return container_of(d, struct iio_trigger, dev); container_of 194 include/linux/input.h #define to_input_dev(d) container_of(d, struct input_dev, dev) container_of 804 include/linux/irq.h return container_of(d->chip, struct irq_chip_type, chip); container_of 23 include/linux/isa.h #define to_isa_driver(x) container_of((x), struct isa_driver, driver) container_of 183 include/linux/kobject.h return kobj ? container_of(kobj, struct kset, kobj) : NULL; container_of 122 include/linux/lcd.h #define to_lcd_device(obj) container_of(obj, struct lcd_device, dev) container_of 352 include/linux/list.h container_of(ptr, type, member) container_of 688 include/linux/list.h #define hlist_entry(ptr, type, member) container_of(ptr,type,member) container_of 49 include/linux/list_bl.h #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) container_of 27 include/linux/list_nulls.h #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) container_of 88 include/linux/llist.h container_of(ptr, type, member) container_of 309 include/linux/lru_cache.h container_of(ptr, type, member) container_of 99 include/linux/maple.h #define to_maple_dev(n) container_of(n, struct maple_device, dev) container_of 100 include/linux/maple.h #define to_maple_driver(n) container_of(n, struct maple_driver, drv) container_of 36 include/linux/mcb.h #define to_mcb_bus(b) container_of((b), struct mcb_bus, dev) container_of 72 include/linux/mcb.h #define to_mcb_device(x) container_of((x), struct mcb_device, dev) container_of 90 include/linux/mcb.h #define to_mcb_driver(x) container_of((x), struct mcb_driver, driver) container_of 12 include/linux/mfd/abx500/ux500_chargalg.h #define psy_to_ux500_charger(x) container_of((x), \ container_of 559 include/linux/mfd/palmas.h #define comparator_to_palmas(x) container_of((x), struct palmas_usb, comparator) container_of 159 include/linux/mfd/si476x-core.h #define SI476X_WORK_TO_CORE(w) container_of(to_delayed_work(w), \ container_of 163 include/linux/mfd/ucb1x00.h #define classdev_to_ucb1x00(cd) container_of(cd, struct ucb1x00, dev) container_of 102 include/linux/mic_bus.h return container_of(_dev, struct mbus_device, dev); container_of 107 include/linux/mic_bus.h return container_of(drv, struct mbus_driver, driver); container_of 510 include/linux/mmc/card.h #define mmc_dev_to_card(d) container_of(d, struct mmc_card, dev) container_of 512 include/linux/mmc/card.h #define mmc_list_to_card(l) container_of(l, struct mmc_card, node) container_of 72 include/linux/mmc/sdio_func.h #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) container_of 87 include/linux/mmc/sdio_func.h #define to_sdio_driver(d) container_of(d, struct sdio_driver, drv) container_of 814 include/linux/mmzone.h return container_of(lruvec, struct zone, lruvec); container_of 189 include/linux/mtd/sh_flctl.h return container_of(mtdinfo, struct sh_flctl, mtd); container_of 1705 include/linux/netdevice.h #define to_net_dev(d) container_of(d, struct net_device, dev) container_of 226 include/linux/nfs_fs.h return container_of(inode, struct nfs_inode, vfs_inode); container_of 82 include/linux/node.h #define to_node(device) container_of(device, struct node, dev) container_of 47 include/linux/of_gpio.h return container_of(gc, struct of_mm_gpio_chip, gc); container_of 391 include/linux/pci.h #define to_pci_dev(n) container_of(n, struct pci_dev, dev) container_of 413 include/linux/pci.h #define to_pci_host_bridge(n) container_of(n, struct pci_host_bridge, dev) container_of 478 include/linux/pci.h #define to_pci_bus(n) container_of(n, struct pci_bus, dev) container_of 658 include/linux/pci.h #define to_pci_driver(drv) container_of(drv, struct pci_driver, driver) container_of 112 include/linux/pci_hotplug.h #define to_hotplug_slot(n) container_of(n, struct hotplug_slot, kobj) container_of 32 include/linux/pcieport_if.h #define to_pcie_device(d) container_of(d, struct pcie_device, device) container_of 63 include/linux/pcieport_if.h container_of(d, struct pcie_port_service_driver, driver) container_of 190 include/linux/phy.h #define to_mii_bus(d) container_of(d, struct mii_bus, dev) container_of 423 include/linux/phy.h #define to_phy_device(d) container_of(d, struct phy_device, dev) container_of 568 include/linux/phy.h #define to_phy_driver(d) container_of(d, struct phy_driver, driver) container_of 55 include/linux/phy/omap_usb.h #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) container_of 113 include/linux/phy/phy.h #define to_phy(dev) (container_of((dev), struct phy, dev)) container_of 161 include/linux/pktcdvd.h ((struct pktcdvd_kobj*)container_of(_k,struct pktcdvd_kobj,kobj)) container_of 42 include/linux/platform_device.h #define to_platform_device(x) container_of((x), struct platform_device, dev) container_of 185 include/linux/platform_device.h #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ container_of 238 include/linux/plist.h container_of(plist_first(head), type, member); \ container_of 242 include/linux/plist.h container_of(plist_first(head), type, member) container_of 255 include/linux/plist.h container_of(plist_last(head), type, member); \ container_of 259 include/linux/plist.h container_of(plist_last(head), type, member) container_of 83 include/linux/pm_domain.h return container_of(pd, struct generic_pm_domain, domain); container_of 115 include/linux/pm_domain.h return container_of(pdd, struct generic_pm_domain_data, base); container_of 220 include/linux/pnp.h #define to_pnp_card(n) container_of(n, struct pnp_card, dev) container_of 276 include/linux/pnp.h #define to_pnp_dev(n) container_of(n, struct pnp_dev, dev) container_of 382 include/linux/pnp.h #define to_pnp_driver(drv) container_of(drv, struct pnp_driver, driver) container_of 397 include/linux/pnp.h #define to_pnp_card_driver(drv) container_of(drv, struct pnp_card_driver, link) container_of 50 include/linux/rbtree.h #define rb_entry(ptr, type, member) container_of(ptr, type, member) container_of 252 include/linux/rculist.h container_of((typeof(ptr))rcu_dereference_raw(__ptr), type, member); \ container_of 495 include/linux/remoteproc.h return container_of(vdev, struct rproc_vdev, vdev); container_of 122 include/linux/rhashtable.h #define rht_entry(ptr, type, member) container_of(ptr, type, member) container_of 202 include/linux/rio.h #define to_rio_dev(n) container_of(n, struct rio_dev, dev) container_of 203 include/linux/rio.h #define sw_to_rio_dev(n) container_of(n, struct rio_dev, rswitch[0]) container_of 204 include/linux/rio.h #define to_rio_mport(n) container_of(n, struct rio_mport, dev) container_of 399 include/linux/rio.h #define to_rio_driver(drv) container_of(drv,struct rio_driver, driver) container_of 449 include/linux/rio.h return container_of(ddev, struct rio_mport, dma); container_of 130 include/linux/rtc.h #define to_rtc_device(d) container_of(d, struct rtc_device, dev) container_of 54 include/linux/seqno-fence.h return container_of(fence, struct seqno_fence, base); container_of 111 include/linux/serial_8250.h return container_of(up, struct uart_8250_port, port); container_of 52 include/linux/serio.h #define to_serio_port(d) container_of(d, struct serio, dev) container_of 69 include/linux/serio.h #define to_serio_driver(d) container_of(d, struct serio_driver, driver) container_of 42 include/linux/shmem_fs.h return container_of(inode, struct shmem_inode_info, vfs_inode); container_of 810 include/linux/skbuff.h fclones = container_of(skb, struct sk_buff_fclones, skb1); container_of 118 include/linux/spi/spi.h return dev ? container_of(dev, struct spi_device, dev) : NULL; container_of 198 include/linux/spi/spi.h return drv ? container_of(drv, struct spi_driver, driver) : NULL; container_of 55 include/linux/spmi.h return container_of(d, struct spmi_device, dev); container_of 100 include/linux/spmi.h return container_of(d, struct spmi_controller, dev); container_of 156 include/linux/spmi.h return container_of(d, struct spmi_driver, driver); container_of 284 include/linux/ssb/ssb.h wrap = container_of(dev, struct __ssb_dev_wrapper, dev); container_of 321 include/linux/ssb/ssb.h #define drv_to_ssb_drv(_drv) container_of(_drv, struct ssb_driver, drv) container_of 61 include/linux/ssb/ssb_driver_gige.h return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); container_of 60 include/linux/stop_machine.h container_of(work, struct cpu_stop_work, work); container_of 69 include/linux/sunrpc/rpc_pipe_fs.h return container_of(inode, struct rpc_inode, vfs_inode); container_of 60 include/linux/superhyway.h #define to_superhyway_driver(d) container_of((d), struct superhyway_driver, drv) container_of 76 include/linux/superhyway.h #define to_superhyway_device(d) container_of((d), struct superhyway_device, dev) container_of 94 include/linux/tc.h #define to_tc_dev(n) container_of(n, struct tc_dev, dev) container_of 110 include/linux/tc.h #define to_tc_driver(drv) container_of(drv, struct tc_driver, driver) container_of 55 include/linux/transport_class.h container_of(x, struct transport_class, class) container_of 63 include/linux/transport_class.h container_of(x, struct transport_container, ac) container_of 192 include/linux/usb.h #define to_usb_interface(d) container_of(d, struct usb_interface, dev) container_of 236 include/linux/usb.h container_of(r, struct usb_interface_cache, ref) container_of 238 include/linux/usb.h container_of(a, struct usb_interface_cache, altsetting[0]) container_of 593 include/linux/usb.h #define to_usb_device(d) container_of(d, struct usb_device, dev) container_of 1088 include/linux/usb.h #define to_usb_driver(d) container_of(d, struct usb_driver, drvwrap.driver) container_of 1120 include/linux/usb.h #define to_usb_device_driver(d) container_of(d, struct usb_device_driver, \ container_of 414 include/linux/usb/composite.h return container_of(gdrv, struct usb_composite_driver, gadget_driver); container_of 568 include/linux/usb/gadget.h #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) container_of 576 include/linux/usb/gadget.h return container_of(dev, struct usb_gadget, dev); container_of 75 include/linux/usb/gadget_configfs.h gi = container_of(group, struct struct_member, strings_group); \ container_of 213 include/linux/usb/hcd.h return container_of(bus, struct usb_hcd, self); container_of 122 include/linux/usb/serial.h #define to_usb_serial_port(d) container_of(d, struct usb_serial_port, dev) container_of 171 include/linux/usb/serial.h #define to_usb_serial(d) container_of(d, struct usb_serial, kref) container_of 298 include/linux/usb/serial.h container_of(d, struct usb_serial_driver, driver) container_of 73 include/linux/uwb.h #define to_uwb_dev(d) container_of(d, struct uwb_dev, dev) container_of 73 include/linux/uwb/umc.h #define to_umc_dev(d) container_of(d, struct umc_dev, dev) container_of 98 include/linux/uwb/umc.h #define to_umc_driver(d) container_of(d, struct umc_driver, driver) container_of 111 include/linux/virtio.h return container_of(_dev, struct virtio_device, dev); container_of 153 include/linux/virtio.h return container_of(drv, struct virtio_driver, driver); container_of 92 include/linux/vlynq.h return container_of(drv, struct vlynq_driver, driver); container_of 97 include/linux/vlynq.h return container_of(device, struct vlynq_device, dev); container_of 137 include/linux/workqueue.h return container_of(work, struct delayed_work, work); container_of 40 include/linux/zorro.h #define to_zorro_dev(n) container_of(n, struct zorro_dev, dev) container_of 63 include/linux/zorro.h #define to_zorro_driver(drv) container_of(drv, struct zorro_driver, driver) container_of 108 include/media/adp1653.h #define to_adp1653_flash(sd) container_of(sd, struct adp1653_flash, subdev) container_of 154 include/media/exynos-fimc.h return container_of(vdev, struct exynos_video_entity, vdev); container_of 88 include/media/media-device.h #define to_media_device(node) container_of(node, struct media_device, devnode) container_of 83 include/media/media-devnode.h #define to_media_devnode(cd) container_of(cd, struct media_devnode, dev) container_of 177 include/media/rc-core.h #define to_rc_dev(d) container_of(d, struct rc_dev, dev) container_of 160 include/media/saa7146.h return container_of(v4l2_dev, struct saa7146_dev, v4l2_dev); container_of 260 include/media/soc_camera.h return container_of(v4l2_dev, struct soc_camera_host, v4l2_dev); container_of 399 include/media/soc_camera.h return container_of(vq, struct soc_camera_device, vb2_vidq); container_of 404 include/media/soc_camera.h return container_of(vq, struct soc_camera_device, vb_vidq); container_of 145 include/media/v4l2-dev.h container_of(__e, struct video_device, entity) container_of 147 include/media/v4l2-dev.h #define to_video_device(cd) container_of(cd, struct video_device, dev) container_of 624 include/media/v4l2-subdev.h container_of(ent, struct v4l2_subdev, entity) container_of 643 include/media/v4l2-subdev.h container_of(fh, struct v4l2_subdev_fh, vfh) container_of 834 include/net/bluetooth/hci_core.h #define to_hci_dev(d) container_of(d, struct hci_dev, dev) container_of 835 include/net/bluetooth/hci_core.h #define to_hci_conn(c) container_of(c, struct hci_conn, dev) container_of 50 include/net/caif/cfsrvl.h struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); container_of 59 include/net/caif/cfsrvl.h struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); container_of 3132 include/net/cfg80211.h return container_of(priv, struct wiphy, priv); container_of 37 include/net/cls_cgroup.h classid = container_of(task_css(p, net_cls_cgrp_id), container_of 394 include/net/dst.h struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); container_of 100 include/net/fib_rules.h struct fib_rule *rule = container_of(head, struct fib_rule, rcu); container_of 172 include/net/flow.h return container_of(fl4, struct flowi, u.ip4); container_of 177 include/net/flow.h return container_of(fl6, struct flowi, u.ip6); container_of 182 include/net/flow.h return container_of(fldn, struct flowi, u.dn); container_of 50 include/net/gro_cells.h struct gro_cell *cell = container_of(napi, struct gro_cell, napi); container_of 122 include/net/netfilter/nf_conntrack.h return container_of(hash, struct nf_conn, container_of 561 include/net/netfilter/nf_tables.h return container_of(chain, struct nft_base_chain, chain); container_of 171 include/net/nfc/nfc.h #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev) container_of 1254 include/net/sctp/structs.h ep = container_of(base, struct sctp_endpoint, base); container_of 1855 include/net/sctp/structs.h asoc = container_of(base, struct sctp_association, base); container_of 65 include/net/sctp/ulpevent.h return container_of((void *)ev, struct sk_buff, cb); container_of 1402 include/net/sock.h return &container_of(inode, struct socket_alloc, vfs_inode)->socket; container_of 1407 include/net/sock.h return &container_of(socket, struct socket_alloc, socket)->vfs_inode; container_of 13 include/net/tc_act/tc_csum.h container_of(a->priv,struct tcf_csum,common) container_of 12 include/net/tc_act/tc_defact.h container_of(a->priv, struct tcf_defact, common) container_of 15 include/net/tc_act/tc_gact.h container_of(a->priv, struct tcf_gact, common) container_of 15 include/net/tc_act/tc_ipt.h container_of(a->priv, struct tcf_ipt, common) container_of 15 include/net/tc_act/tc_mirred.h container_of(a->priv, struct tcf_mirred, common) container_of 18 include/net/tc_act/tc_nat.h return container_of(a->priv, struct tcf_nat, common); container_of 13 include/net/tc_act/tc_pedit.h container_of(a->priv, struct tcf_pedit, common) container_of 33 include/net/tc_act/tc_skbedit.h container_of(a->priv, struct tcf_skbedit, common) container_of 75 include/net/wpan-phy.h #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev) container_of 154 include/pcmcia/ds.h #define to_pcmcia_dev(n) container_of(n, struct pcmcia_device, dev) container_of 155 include/pcmcia/ds.h #define to_pcmcia_drv(n) container_of(n, struct pcmcia_driver, drv) container_of 44 include/scsi/fcoe_sysfs.h container_of((d), struct fcoe_ctlr_device, dev) container_of 115 include/scsi/fcoe_sysfs.h container_of((d), struct fcoe_fcf_device, dev) container_of 458 include/scsi/libfc.h #define fc_seq_exch(sp) container_of(sp, struct fc_exch, seq) container_of 1091 include/scsi/libfc.h return container_of(disc, struct fc_lport, disc); container_of 99 include/scsi/libsas.h #define to_dom_device(_obj) container_of(_obj, struct domain_device, dev_obj) container_of 100 include/scsi/libsas.h #define to_dev_attr(_attr) container_of(_attr, struct domain_dev_attribute,\ container_of 252 include/scsi/libsas.h struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); container_of 312 include/scsi/libsas.h struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); container_of 383 include/scsi/libsas.h struct sas_ha_event *ev = container_of(work, typeof(*ev), work.work); container_of 235 include/scsi/scsi_device.h container_of(d, struct scsi_device, sdev_gendev) container_of 237 include/scsi/scsi_device.h container_of(d, struct scsi_device, sdev_dev) container_of 312 include/scsi/scsi_device.h #define to_scsi_target(d) container_of(d, struct scsi_target, dev) container_of 22 include/scsi/scsi_driver.h container_of((drv), struct scsi_driver, gendrv) container_of 758 include/scsi/scsi_host.h container_of(d, struct Scsi_Host, shost_dev) container_of 777 include/scsi/scsi_host.h return container_of(dev, struct Scsi_Host, shost_gendev); container_of 259 include/scsi/scsi_transport_fc.h container_of(d, struct fc_vport, dev) container_of 369 include/scsi/scsi_transport_fc.h container_of(d, struct fc_rport, dev) container_of 216 include/scsi/scsi_transport_iscsi.h container_of(_dev, struct iscsi_cls_conn, dev) container_of 261 include/scsi/scsi_transport_iscsi.h container_of(_dev, struct iscsi_cls_session, dev) container_of 302 include/scsi/scsi_transport_iscsi.h container_of(_dev, struct iscsi_iface, dev) container_of 346 include/scsi/scsi_transport_iscsi.h container_of(_dev, struct iscsi_bus_flash_conn, dev) container_of 408 include/scsi/scsi_transport_iscsi.h container_of(_dev, struct iscsi_bus_flash_session, dev) container_of 77 include/scsi/scsi_transport_sas.h container_of((d), struct sas_phy, dev) container_of 93 include/scsi/scsi_transport_sas.h container_of((d), struct sas_rphy, dev) container_of 112 include/scsi/scsi_transport_sas.h container_of((r), struct sas_end_device, rphy) container_of 133 include/scsi/scsi_transport_sas.h container_of((r), struct sas_expander_device, rphy) container_of 151 include/scsi/scsi_transport_sas.h container_of((d), struct sas_port, dev) container_of 536 include/sound/ac97_codec.h #define to_ac97_t(d) container_of(d, struct snd_ac97, dev) container_of 148 include/sound/core.h #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev) container_of 1193 include/sound/soc.h return container_of(component, struct snd_soc_codec, component); container_of 1206 include/sound/soc.h return container_of(component, struct snd_soc_platform, component); container_of 1221 include/sound/soc.h return container_of(dapm, struct snd_soc_component, dapm); container_of 1234 include/sound/soc.h return container_of(dapm, struct snd_soc_codec, dapm); container_of 104 include/target/configfs_macros.h return (ci) ? container_of(to_config_group(ci), struct _item, \ container_of 115 include/target/configfs_macros.h container_of(attr, struct _name##_attribute, attr); \ container_of 130 include/target/configfs_macros.h container_of(attr, struct _name##_attribute, attr); \ container_of 19 include/trace/events/ext4.h #define EXT4_I(inode) (container_of(inode, struct ext4_inode_info, vfs_inode)) container_of 78 include/xen/xenbus.h return container_of(dev, struct xenbus_device, dev); container_of 106 include/xen/xenbus.h return container_of(drv, struct xenbus_driver, driver); container_of 40 scripts/kconfig/list.h container_of(ptr, type, member)