Searched refs:container_of (Results 1 - 200 of 4651) sorted by relevance

1234567891011>>

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.h3 #define nvkm_control(p) container_of((p), struct nvkm_control, object)
/linux-4.4.14/include/net/tc_act/
H A Dtc_connmark.h13 container_of(a->priv, struct tcf_connmark_info, common)
H A Dtc_csum.h13 container_of(a->priv,struct tcf_csum,common)
H A Dtc_defact.h12 container_of(a->priv, struct tcf_defact, common)
H A Dtc_gact.h16 container_of(a->priv, struct tcf_gact, common)
H A Dtc_ipt.h15 container_of(a->priv, struct tcf_ipt, common)
H A Dtc_mirred.h15 container_of(a->priv, struct tcf_mirred, common)
H A Dtc_nat.h18 return container_of(a->priv, struct tcf_nat, common); to_tcf_nat()
H A Dtc_pedit.h13 container_of(a->priv, struct tcf_pedit, common)
H A Dtc_vlan.h25 container_of(a->priv, struct tcf_vlan, common)
H A Dtc_bpf.h27 container_of(a->priv, struct tcf_bpf, common)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dnv40.h3 #define nv40_pm(p) container_of((p), struct nv40_pm, base)
H A Dpriv.h3 #define nvkm_pm(p) container_of((p), struct nvkm_pm, engine)
69 #define nvkm_perfdom(p) container_of((p), struct nvkm_perfdom, object)
97 #define nvkm_perfmon(p) container_of((p), struct nvkm_perfmon, object)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnv50.h3 #define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base)
H A Dpriv.h3 #define nvkm_sw(p) container_of((p), struct nvkm_sw, engine)
H A Dchan.h3 #define nvkm_sw_chan(p) container_of((p), struct nvkm_sw_chan, object)
H A Dnvsw.h3 #define nvkm_nvsw(p) container_of((p), struct nvkm_nvsw, object)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv40.h3 #define nv40_ram(p) container_of((p), struct nv40_ram, base)
H A Dgf100.h3 #define gf100_fb(p) container_of((p), struct gf100_fb, base)
H A Dnv50.h3 #define nv50_fb(p) container_of((p), struct nv50_fb, base)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/
H A Dpriv.h3 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dpriv.h3 #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
H A Dnv31.h3 #define nv31_mpeg(p) container_of((p), struct nv31_mpeg, engine)
20 #define nv31_mpeg_chan(p) container_of((p), struct nv31_mpeg_chan, object)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv20.h3 #define nv20_gr(p) container_of((p), struct nv20_gr, base)
21 #define nv20_gr_chan(p) container_of((p), struct nv20_gr_chan, object)
H A Dnv50.h3 #define nv50_gr(p) container_of((p), struct nv50_gr, base)
21 #define nv50_gr_chan(p) container_of((p), struct nv50_gr_chan, object)
H A Dnv40.h3 #define nv40_gr(p) container_of((p), struct nv40_gr, base)
18 #define nv40_gr_chan(p) container_of((p), struct nv40_gr_chan, object)
H A Dpriv.h3 #define nvkm_gr(p) container_of((p), struct nvkm_gr, engine)
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Dkernel.h10 #ifndef container_of
11 #define container_of(ptr, type, member) ({ \ macro
/linux-4.4.14/drivers/md/persistent-data/
H A Ddm-space-map-disk.c36 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_destroy()
43 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_extend()
50 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_nr_blocks()
58 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_nr_free()
67 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_count()
92 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_set_count()
130 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_inc_block()
146 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_dec_block()
155 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_new_block()
176 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_commit()
206 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_copy_root()
H A Ddm-space-map-metadata.c275 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_destroy()
282 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_blocks()
291 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_free()
304 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_count()
344 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_count_is_more_than_one()
396 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_set_count()
414 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_inc_block()
431 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_dec_block()
448 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block_()
473 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block()
495 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_commit()
513 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_register_threshold_callback()
529 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_copy_root()
583 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_blocks()
592 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_free()
602 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_count()
627 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_new_block()
642 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_inc_block()
649 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_dec_block()
696 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_extend()
767 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_create()
813 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_open()
/linux-4.4.14/drivers/usb/gadget/
H A Dconfigfs.h16 return container_of(to_config_group(item), struct usb_os_desc, group); to_usb_os_desc()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A Dpriv.h3 #define nvkm_dma(p) container_of((p), struct nvkm_dma, engine)
H A Duser.h3 #define nvkm_dmaobj(p) container_of((p), struct nvkm_dmaobj, object)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchangf100.h3 #define gf100_fifo_chan(p) container_of((p), struct gf100_fifo_chan, base)
H A Dgf100.h3 #define gf100_fifo(p) container_of((p), struct gf100_fifo, base)
H A Dnv04.h3 #define nv04_fifo(p) container_of((p), struct nv04_fifo, base)
H A Dnv50.h3 #define nv50_fifo(p) container_of((p), struct nv50_fifo, base)
H A Dchangk104.h3 #define gk104_fifo_chan(p) container_of((p), struct gk104_fifo_chan, base)
H A Dchannv04.h3 #define nv04_fifo_chan(p) container_of((p), struct nv04_fifo_chan, base)
H A Dchannv50.h3 #define nv50_fifo_chan(p) container_of((p), struct nv50_fifo_chan, base)
H A Dpriv.h3 #define nvkm_fifo(p) container_of((p), struct nvkm_fifo, engine)
H A Dchan.h3 #define nvkm_fifo_chan(p) container_of((p), struct nvkm_fifo_chan, object)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dgf100.h3 #define gf100_bar(p) container_of((p), struct gf100_bar, base)
H A Dpriv.h3 #define nvkm_bar(p) container_of((p), struct nvkm_bar, subdev)
H A Dnv50.h3 #define nv50_bar(p) container_of((p), struct nv50_bar, base)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dpriv.h3 #define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv04.h3 #define nv04_mmu(p) container_of((p), struct nv04_mmu, base)
H A Dpriv.h3 #define nvkm_mmu(p) container_of((p), struct nvkm_mmu, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dpriv.h3 #define nvkm_pmu(p) container_of((p), struct nvkm_pmu, subdev)
/linux-4.4.14/drivers/dma/sh/
H A Dshdma.h59 #define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, shdma_chan)
60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node)
61 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)
62 #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Doproxy.h3 #define nvkm_oproxy(p) container_of((p), struct nvkm_oproxy, base)
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dxtensa.h3 #define nvkm_xtensa(p) container_of((p), struct nvkm_xtensa, engine)
H A Dfalcon.h3 #define nvkm_falcon(p) container_of((p), struct nvkm_falcon, engine)
/linux-4.4.14/arch/arm/include/asm/xen/
H A Devents.h19 #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((ptr), \
/linux-4.4.14/drivers/misc/
H A Dtifm_core.c47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_bus_match()
48 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, tifm_bus_match()
64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_uevent()
74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_probe()
75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_probe()
96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_remove()
97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_remove()
115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_suspend()
116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_suspend()
126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_resume()
127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_resume()
145 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); type_show()
169 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); tifm_free()
248 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_free_device()
/linux-4.4.14/drivers/platform/chrome/
H A Dcros_ec_vbc.c31 struct device *dev = container_of(kobj, struct device, kobj); vboot_context_read()
32 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, vboot_context_read()
72 struct device *dev = container_of(kobj, struct device, kobj); vboot_context_write()
73 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, vboot_context_write()
113 struct device *dev = container_of(kobj, struct device, kobj); cros_ec_vbc_is_visible()
114 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, cros_ec_vbc_is_visible()
/linux-4.4.14/tools/perf/util/
H A Dstrlist.c19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); strlist__node_new()
49 struct strlist *slist = container_of(rblist, struct strlist, rblist); strlist__node_delete()
50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); strlist__node_delete()
58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); strlist__node_cmp()
106 snode = container_of(rb_node, struct str_node, rb_node); strlist__find()
197 snode = container_of(rb_node, struct str_node, rb_node); strlist__entry()
H A Dintlist.c38 struct int_node *node = container_of(rb_node, struct int_node, rb_node); intlist__node_delete()
46 struct int_node *node = container_of(rb_node, struct int_node, rb_node); intlist__node_cmp()
76 node = container_of(rb_node, struct int_node, rb_node); __intlist__findnew()
143 node = container_of(rb_node, struct int_node, rb_node); intlist__entry()
/linux-4.4.14/drivers/clk/
H A Dclk-wm831x.c35 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_xtal_is_prepared()
44 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_xtal_recalc_rate()
77 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_is_prepared()
94 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_prepare()
111 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_unprepare()
124 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_recalc_rate()
161 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_set_rate()
186 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_get_parent()
241 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_is_prepared()
258 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_prepare()
281 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_unprepare()
307 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_get_parent()
327 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_set_parent()
H A Dclk-twl6040.c39 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_is_enabled()
46 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_prepare()
59 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_unprepare()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
H A Drcar_du_encoder.h40 container_of(e, struct rcar_du_encoder, slave.base)
50 container_of(c, struct rcar_du_connector, connector)
H A Drcar_du_plane.h38 return container_of(plane, struct rcar_du_plane, plane); to_rcar_plane()
64 return container_of(state, struct rcar_du_plane_state, state); to_rcar_plane_state()
/linux-4.4.14/arch/mips/include/asm/
H A Dgio_device.h19 #define to_gio_device(d) container_of(d, struct gio_device, dev)
32 #define to_gio_driver(drv) container_of(drv, struct gio_driver, driver)
/linux-4.4.14/drivers/staging/iio/
H A Dring_hw.h25 #define iio_to_hw_buf(r) container_of(r, struct iio_hw_buffer, buf)
/linux-4.4.14/drivers/staging/most/hdm-dim2/
H A Ddim2_sysfs.c54 container_of(kobj, struct medialb_bus, kobj_group); bus_kobj_attr_show()
55 struct bus_attr *xattr = container_of(attr, struct bus_attr, attr); bus_kobj_attr_show()
68 container_of(kobj, struct medialb_bus, kobj_group); bus_kobj_attr_store()
69 struct bus_attr *xattr = container_of(attr, struct bus_attr, attr); bus_kobj_attr_store()
/linux-4.4.14/drivers/mmc/core/
H A Dpwrseq_simple.c45 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_pre_power_on()
58 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_post_power_on()
66 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_power_off()
79 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_free()
H A Dpwrseq_emmc.c38 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, mmc_pwrseq_emmc_reset()
46 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, mmc_pwrseq_emmc_free()
62 struct mmc_pwrseq_emmc *pwrseq = container_of(this, mmc_pwrseq_emmc_reset_nb()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.h3 #define nv50_clk(p) container_of((p), struct nv50_clk, base)
H A Dpriv.h3 #define nvkm_clk(p) container_of((p), struct nvkm_clk, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv04.h3 #define nv04_devinit(p) container_of((p), struct nv04_devinit, base)
H A Dnv50.h3 #define nv50_devinit(p) container_of((p), struct nv50_devinit, base)
H A Dpriv.h3 #define nvkm_devinit(p) container_of((p), struct nvkm_devinit, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dpriv.h3 #define nvkm_instmem(p) container_of((p), struct nvkm_instmem, subdev)
/linux-4.4.14/drivers/pcmcia/
H A Dsa1111_generic.h12 return container_of(s, struct sa1111_pcmcia_socket, soc); to_skt()
/linux-4.4.14/drivers/gpu/drm/armada/
H A Darmada_fb.h18 container_of(dfb, struct armada_framebuffer, fb)
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.h7 return container_of(bd, struct nouveau_drm, ttm.bdev); nouveau_bdev()
/linux-4.4.14/arch/um/kernel/skas/
H A Dsyscall.c15 struct pt_regs *regs = container_of(r, struct pt_regs, regs); handle_syscall()
/linux-4.4.14/include/scsi/
H A Dscsi_driver.h21 container_of((drv), struct scsi_driver, gendrv)
H A Dscsi_transport_sas.h77 container_of((d), struct sas_phy, dev)
93 container_of((d), struct sas_rphy, dev)
112 container_of((r), struct sas_end_device, rphy)
133 container_of((r), struct sas_expander_device, rphy)
151 container_of((d), struct sas_port, dev)
/linux-4.4.14/include/linux/
H A Dcontainer.h24 return container_of(dev, struct container_dev, dev); to_container_dev()
H A Disa.h23 #define to_isa_driver(x) container_of((x), struct isa_driver, driver)
H A Dtransport_class.h55 container_of(x, struct transport_class, class)
63 container_of(x, struct transport_container, ac)
H A Dpcieport_if.h32 #define to_pcie_device(d) container_of(d, struct pcie_device, device)
63 container_of(d, struct pcie_port_service_driver, driver)
H A Dhwmon-sysfs.h30 container_of(_dev_attr, struct sensor_device_attribute, dev_attr)
46 container_of(_dev_attr, struct sensor_device_attribute_2, dev_attr)
H A Dmaple.h99 #define to_maple_dev(n) container_of(n, struct maple_device, dev)
100 #define to_maple_driver(n) container_of(n, struct maple_driver, drv)
H A Dnd.h29 return container_of(drv, struct nd_device_driver, drv); to_nd_device_driver()
49 return container_of(dev, struct nd_namespace_common, dev); to_ndns()
95 return container_of(dev, struct nd_namespace_io, common.dev); to_nd_namespace_io()
102 return container_of(nsio, struct nd_namespace_pmem, nsio); to_nd_namespace_pmem()
107 return container_of(dev, struct nd_namespace_blk, common.dev); to_nd_namespace_blk()
H A Dmcb.h36 #define to_mcb_bus(b) container_of((b), struct mcb_bus, dev)
72 #define to_mcb_device(x) container_of((x), struct mcb_device, dev)
90 #define to_mcb_driver(x) container_of((x), struct mcb_driver, driver)
/linux-4.4.14/drivers/gpio/
H A Dgpio-ucb1400.c18 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_dir_in()
26 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_dir_out()
35 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_get()
42 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_set()
H A Dgpio-adp5520.c30 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_get_value()
49 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_set_value()
60 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_direction_input()
73 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_direction_output()
H A Dgpio-octeon.c44 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_in()
52 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_set()
61 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_out()
75 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_get()
H A Dgpio-kempld.c69 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_get()
78 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_set()
89 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_direction_input()
103 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_direction_output()
117 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_get_direction()
H A Dgpio-dln2.c156 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_request()
197 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_free()
204 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_get_direction()
214 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_get()
229 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set()
237 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set_direction()
265 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_direction_output()
278 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set_debounce()
305 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_unmask()
314 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_mask()
323 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_set_type()
352 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_bus_lock()
360 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_bus_unlock()
H A Dgpio-pl061.c63 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_direction_input()
82 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_direction_output()
107 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_get_value()
114 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_set_value()
122 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_type()
212 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_handler()
230 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_mask()
243 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_unmask()
264 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_ack()
/linux-4.4.14/drivers/hwtracing/stm/
H A Dconsole.c41 struct stm_console *sc = container_of(con, struct stm_console, console); stm_console_write()
48 struct stm_console *sc = container_of(data, struct stm_console, data); stm_console_link()
60 struct stm_console *sc = container_of(data, struct stm_console, data); stm_console_unlink()
/linux-4.4.14/drivers/infiniband/hw/usnic/
H A Dusnic_ib.h99 return container_of(ibdev, struct usnic_ib_dev, ib_dev); to_usdev()
105 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); to_ucontext()
111 return container_of(ibpd, struct usnic_ib_pd, ibpd); to_upd()
117 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); to_uucontext()
123 return container_of(ibmr, struct usnic_ib_mr, ibmr); to_umr()
H A Dusnic_ib_sysfs.c53 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_fw_ver()
68 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_board()
91 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_config()
150 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_iface()
162 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_max_vf()
175 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_qp_per_vf()
189 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_cq_per_vf()
227 qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj); usnic_ib_qpn_attr_show()
228 qpn_attr = container_of(attr, struct qpn_attribute, attr); usnic_ib_qpn_attr_show()
/linux-4.4.14/include/crypto/internal/
H A Daead.h50 return container_of(&inst->alg.base, struct crypto_instance, alg); aead_crypto_instance()
55 return container_of(&inst->alg, struct aead_instance, alg.base); aead_instance()
100 return container_of(spawn->base.alg, struct aead_alg, base); crypto_spawn_aead_alg()
144 return req ? container_of(req, struct aead_request, base) : NULL; aead_dequeue_request()
153 return req ? container_of(req, struct aead_request, base) : NULL; aead_get_backlog()
H A Dhash.h138 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, __crypto_ahash_alg()
151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); ahash_crypto_instance()
157 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); ahash_instance()
208 return container_of(&inst->alg.base, struct crypto_instance, alg); shash_crypto_instance()
214 return container_of(__crypto_shash_alg(&inst->alg), shash_instance()
243 return container_of(tfm, struct crypto_shash, base); __crypto_shash_cast()
/linux-4.4.14/drivers/md/bcache/
H A Dmovinggc.c23 struct cache_set *c = container_of(buf, struct cache_set, moving_pred()
39 struct moving_io *io = container_of(cl, struct moving_io, cl); moving_io_destructor()
45 struct moving_io *io = container_of(cl, struct moving_io, cl); write_moving_finish()
65 struct bbio *b = container_of(bio, struct bbio, bio); read_moving_endio()
66 struct moving_io *io = container_of(bio->bi_private, read_moving_endio()
97 struct moving_io *io = container_of(cl, struct moving_io, cl); write_moving()
121 struct moving_io *io = container_of(cl, struct moving_io, cl); read_moving_submit()
H A Dio.c18 struct bbio *b = container_of(bio, struct bbio, bio); bch_bbio_free()
37 struct bbio *b = container_of(bio, struct bbio, bio); __bch_submit_bbio()
49 struct bbio *b = container_of(bio, struct bbio, bio); bch_submit_bbio()
111 struct bbio *b = container_of(bio, struct bbio, bio); bch_bbio_count_io_errors()
H A Drequest.c58 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_keys()
120 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_invalidate()
148 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_error()
179 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_endio()
196 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_start()
318 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert()
482 struct bbio *b = container_of(bio, struct bbio, bio); bch_cache_read_endio()
484 struct search *s = container_of(cl, struct search, cl); bch_cache_read_endio()
510 struct search *s = container_of(op, struct search, op); cache_lookup_fn()
549 bio_key = &container_of(n, struct bbio, bio)->key; cache_lookup_fn()
575 struct search *s = container_of(cl, struct search, iop.cl); cache_lookup()
599 struct search *s = container_of(cl, struct search, cl); request_endio()
636 struct search *s = container_of(cl, struct search, cl); search_free()
681 struct search *s = container_of(cl, struct search, cl); cached_dev_bio_complete()
682 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_bio_complete()
692 struct search *s = container_of(cl, struct search, cl); cached_dev_cache_miss_done()
710 struct search *s = container_of(cl, struct search, cl); cached_dev_read_error()
730 struct search *s = container_of(cl, struct search, cl); cached_dev_read_done()
731 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_read_done()
770 struct search *s = container_of(cl, struct search, cl); cached_dev_read_done_bh()
771 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_read_done_bh()
790 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_cache_miss()
869 struct search *s = container_of(cl, struct search, cl); cached_dev_write_complete()
870 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_write_complete()
947 struct search *s = container_of(cl, struct search, cl); cached_dev_nodata()
966 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_make_request()
1008 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_ioctl()
1015 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_congested()
1068 struct search *s = container_of(cl, struct search, cl); flash_dev_nodata()
H A Dsysfs.c111 struct cached_dev *dc = container_of(kobj, struct cached_dev, SHOW()
192 struct cached_dev *dc = container_of(kobj, struct cached_dev, SHOW_LOCKED()
290 struct cached_dev *dc = container_of(kobj, struct cached_dev, STORE()
343 struct bcache_device *d = container_of(kobj, struct bcache_device, SHOW()
362 struct bcache_device *d = container_of(kobj, struct bcache_device, STORE()
410 struct bset_stats_op *op = container_of(b_op, struct bset_stats_op, op); bch_btree_bset_stats()
519 struct cache_set *c = container_of(kobj, struct cache_set, kobj); SHOW()
582 struct cache_set *c = container_of(kobj, struct cache_set, kobj); SHOW_LOCKED()
662 struct cache_set *c = container_of(kobj, struct cache_set, internal); STORE_LOCKED()
668 struct cache_set *c = container_of(kobj, struct cache_set, internal); STORE()
736 struct cache *ca = container_of(kobj, struct cache, kobj); SHOW()
843 struct cache *ca = container_of(kobj, struct cache, kobj); SHOW_LOCKED()
H A Dstats.c55 container_of(kobj, struct cache_stats, kobj); SHOW()
201 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_accounting()
208 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_readahead()
215 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_miss_collision()
/linux-4.4.14/security/tomoyo/
H A Dgroup.c21 return container_of(a, struct tomoyo_path_group, head)->member_name == tomoyo_same_path_group()
22 container_of(b, struct tomoyo_path_group, head)->member_name; tomoyo_same_path_group()
36 return !memcmp(&container_of(a, struct tomoyo_number_group, head) tomoyo_same_number_group()
38 &container_of(b, struct tomoyo_number_group, head) tomoyo_same_number_group()
40 sizeof(container_of(a, struct tomoyo_number_group, head) tomoyo_same_number_group()
55 const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), tomoyo_same_address_group()
57 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), tomoyo_same_address_group()
H A Dgc.c109 container_of(element, typeof(*ptr), head.list); tomoyo_del_transition_control()
124 container_of(element, typeof(*ptr), head.list); tomoyo_del_aggregator()
139 container_of(element, typeof(*ptr), head.list); tomoyo_del_manager()
153 container_of(element, typeof(*acl), list); tomoyo_del_acl()
159 = container_of(acl, typeof(*entry), head); tomoyo_del_acl()
166 = container_of(acl, typeof(*entry), head); tomoyo_del_acl()
174 = container_of(acl, typeof(*entry), head); tomoyo_del_acl()
182 = container_of(acl, typeof(*entry), head); tomoyo_del_acl()
192 = container_of(acl, typeof(*entry), head); tomoyo_del_acl()
202 container_of(acl, typeof(*entry), head); tomoyo_del_acl()
210 container_of(acl, typeof(*entry), head); tomoyo_del_acl()
219 container_of(acl, typeof(*entry), head); tomoyo_del_acl()
227 container_of(acl, typeof(*entry), head); tomoyo_del_acl()
246 container_of(element, typeof(*domain), list); tomoyo_del_domain()
270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), tomoyo_del_condition()
322 container_of(element, typeof(*member), head.list); tomoyo_del_path_group()
336 container_of(element, typeof(*group), head.list); tomoyo_del_group()
426 (container_of(element, typeof(struct tomoyo_name), tomoyo_try_to_gc()
439 if (atomic_read(&container_of tomoyo_try_to_gc()
H A Denviron.c21 container_of(ptr, typeof(*acl), head); tomoyo_check_env_acl()
78 const struct tomoyo_env_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_env_acl()
79 const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_env_acl()
H A Dfile.c253 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), tomoyo_check_path_acl()
276 container_of(ptr, typeof(*acl), head); tomoyo_check_path_number_acl()
296 container_of(ptr, typeof(*acl), head); tomoyo_check_path2_acl()
315 container_of(ptr, typeof(*acl), head); tomoyo_check_mkdev_acl()
338 const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_path_acl()
339 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_path_acl()
356 u16 * const a_perm = &container_of(a, struct tomoyo_path_acl, head) tomoyo_merge_path_acl()
359 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; tomoyo_merge_path_acl()
407 const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_mkdev_acl()
408 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_mkdev_acl()
428 u8 *const a_perm = &container_of(a, struct tomoyo_mkdev_acl, tomoyo_merge_mkdev_acl()
431 const u8 b_perm = container_of(b, struct tomoyo_mkdev_acl, head) tomoyo_merge_mkdev_acl()
486 const struct tomoyo_path2_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_path2_acl()
487 const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_path2_acl()
505 u8 * const a_perm = &container_of(a, struct tomoyo_path2_acl, head) tomoyo_merge_path2_acl()
508 const u8 b_perm = container_of(b, struct tomoyo_path2_acl, head)->perm; tomoyo_merge_path2_acl()
619 const struct tomoyo_path_number_acl *p1 = container_of(a, typeof(*p1), tomoyo_same_path_number_acl()
621 const struct tomoyo_path_number_acl *p2 = container_of(b, typeof(*p2), tomoyo_same_path_number_acl()
640 u8 * const a_perm = &container_of(a, struct tomoyo_path_number_acl, tomoyo_merge_path_number_acl()
643 const u8 b_perm = container_of(b, struct tomoyo_path_number_acl, head) tomoyo_merge_path_number_acl()
947 const struct tomoyo_mount_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_mount_acl()
948 const struct tomoyo_mount_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_mount_acl()
/linux-4.4.14/fs/cachefiles/
H A Dinterface.c38 cache = container_of(_cache, struct cachefiles_cache, cache); cachefiles_alloc_object()
127 cache = container_of(_object->cache, struct cachefiles_cache, cache); cachefiles_lookup_object()
128 parent = container_of(_object->parent, cachefiles_lookup_object()
130 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_lookup_object()
164 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_lookup_complete()
183 container_of(_object, struct cachefiles_object, fscache); cachefiles_grab_object()
209 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_update_object()
210 cache = container_of(object->fscache.cache, struct cachefiles_cache, cachefiles_update_object()
259 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_drop_object()
264 cache = container_of(object->fscache.cache, cachefiles_drop_object()
320 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_put_object()
369 cache = container_of(_cache, struct cachefiles_cache, cache); cachefiles_sync_cache()
399 object = container_of(op->object, struct cachefiles_object, fscache); cachefiles_check_consistency()
400 cache = container_of(object->fscache.cache, cachefiles_check_consistency()
430 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_attr_changed()
431 cache = container_of(object->fscache.cache, cachefiles_attr_changed()
493 object = container_of(op->object, struct cachefiles_object, fscache); cachefiles_invalidate_object()
494 cache = container_of(object->fscache.cache, cachefiles_invalidate_object()
/linux-4.4.14/net/mac80211/
H A Dled.c57 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_tx_led_activate()
66 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_tx_led_deactivate()
75 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_rx_led_activate()
84 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_rx_led_deactivate()
93 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_assoc_led_activate()
102 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_assoc_led_deactivate()
111 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_radio_led_activate()
120 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_radio_led_deactivate()
129 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_tpt_led_activate()
138 struct ieee80211_local *local = container_of(led_cdev->trigger, ieee80211_tpt_led_deactivate()
/linux-4.4.14/drivers/staging/rdma/amso1100/
H A Dc2_provider.h134 return container_of(ibpd, struct c2_pd, ibpd); to_c2pd()
139 return container_of(ibucontext, struct c2_ucontext, ibucontext); to_c2ucontext()
144 return container_of(ibmr, struct c2_mr, ibmr); to_c2mr()
150 return container_of(ibah, struct c2_ah, ibah); to_c2ah()
155 return container_of(ibcq, struct c2_cq, ibcq); to_c2cq()
160 return container_of(ibqp, struct c2_qp, ibqp); to_c2qp()
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-controls.c28 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_stream_vbi_fmt()
65 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_video_encoding()
82 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_audio_sampling_freq()
93 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_audio_mode()
134 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); ivtv_g_volatile_ctrl()
148 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); ivtv_s_ctrl()
/linux-4.4.14/drivers/media/radio/
H A Dradio-trust.c121 struct trust *tr = container_of(isa, struct trust, isa); trust_s_mute_volume()
131 struct trust *tr = container_of(isa, struct trust, isa); trust_s_stereo()
149 struct trust *tr = container_of(isa, struct trust, isa); trust_s_frequency()
165 container_of(ctrl->handler, struct radio_isa_card, hdl); trust_s_ctrl()
166 struct trust *tr = container_of(isa, struct trust, isa); trust_s_ctrl()
185 struct trust *tr = container_of(isa, struct trust, isa); trust_initialize()
/linux-4.4.14/net/sunrpc/
H A Dsvcauth_unix.c42 struct unix_domain *ud = container_of(dom, struct unix_domain, h); svcauth_unix_domain_release()
98 struct cache_head *item = container_of(kref, struct cache_head, ref); ip_map_put()
99 struct ip_map *im = container_of(item, struct ip_map,h); ip_map_put()
113 struct ip_map *orig = container_of(corig, struct ip_map, h); ip_map_match()
114 struct ip_map *new = container_of(cnew, struct ip_map, h); ip_map_match()
120 struct ip_map *new = container_of(cnew, struct ip_map, h); ip_map_init()
121 struct ip_map *item = container_of(citem, struct ip_map, h); ip_map_init()
128 struct ip_map *new = container_of(cnew, struct ip_map, h); update()
129 struct ip_map *item = container_of(citem, struct ip_map, h); update()
148 struct ip_map *im = container_of(h, struct ip_map, h); ip_map_request()
233 container_of(dom, struct unix_domain, h), ip_map_parse()
257 im = container_of(h, struct ip_map, h); ip_map_show()
288 return container_of(ch, struct ip_map, h); __ip_map_lookup()
424 struct cache_head *item = container_of(kref, struct cache_head, ref); unix_gid_put()
425 struct unix_gid *ug = container_of(item, struct unix_gid, h); unix_gid_put()
434 struct unix_gid *orig = container_of(corig, struct unix_gid, h); unix_gid_match()
435 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_match()
440 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_init()
441 struct unix_gid *item = container_of(citem, struct unix_gid, h); unix_gid_init()
446 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_update()
447 struct unix_gid *item = container_of(citem, struct unix_gid, h); unix_gid_update()
466 struct unix_gid *ug = container_of(h, struct unix_gid, h); unix_gid_request()
558 ug = container_of(h, struct unix_gid, h); unix_gid_show()
623 return container_of(ch, struct unix_gid, h); unix_gid_lookup()
/linux-4.4.14/arch/mips/kernel/
H A Dcevt-txx9.c33 container_of(cs, struct txx9_clocksource, cs); txx9_cs_read()
91 container_of(evt, struct txx9_clock_event_device, cd); txx9tmr_set_state_periodic()
107 container_of(evt, struct txx9_clock_event_device, cd); txx9tmr_set_state_oneshot()
118 container_of(evt, struct txx9_clock_event_device, cd); txx9tmr_set_state_shutdown()
129 container_of(evt, struct txx9_clock_event_device, cd); txx9tmr_tick_resume()
142 container_of(evt, struct txx9_clock_event_device, cd); txx9tmr_set_next_event()
/linux-4.4.14/drivers/usb/dwc3/
H A Dgadget.h27 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint))
28 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget))
61 #define to_dwc3_request(r) (container_of(r, struct dwc3_request, request))
/linux-4.4.14/drivers/dma/hsu/
H A Dhsu.h77 return container_of(vdesc, struct hsu_dma_desc, vdesc); to_hsu_dma_desc()
94 return container_of(chan, struct hsu_dma_chan, vchan.chan); to_hsu_dma_chan()
118 return container_of(ddev, struct hsu_dma, dma); to_hsu_dma()
/linux-4.4.14/drivers/acpi/
H A Dwakeup.c36 container_of(node, struct acpi_device, wakeup_list); acpi_enable_wakeup_devices()
63 container_of(node, struct acpi_device, wakeup_list); acpi_disable_wakeup_devices()
85 struct acpi_device *dev = container_of(node, acpi_wakeup_device_init()
/linux-4.4.14/drivers/char/hw_random/
H A Docteon-rng.c31 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_init()
43 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_cleanup()
52 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_data_read()
/linux-4.4.14/fs/nfs/
H A Ddns_resolve.c76 new = container_of(cnew, struct nfs_dns_ent, h); nfs_dns_ent_update()
77 key = container_of(ckey, struct nfs_dns_ent, h); nfs_dns_ent_update()
89 new = container_of(cnew, struct nfs_dns_ent, h); nfs_dns_ent_init()
90 key = container_of(ckey, struct nfs_dns_ent, h); nfs_dns_ent_init()
107 item = container_of(ref, struct nfs_dns_ent, h.ref); nfs_dns_ent_put()
134 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); nfs_dns_request()
143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); nfs_dns_upcall()
158 a = container_of(ca, struct nfs_dns_ent, h); nfs_dns_match()
159 b = container_of(cb, struct nfs_dns_ent, h); nfs_dns_match()
176 item = container_of(h, struct nfs_dns_ent, h); nfs_dns_show()
202 return container_of(ch, struct nfs_dns_ent, h); nfs_dns_lookup()
216 return container_of(ch, struct nfs_dns_ent, h); nfs_dns_update()
/linux-4.4.14/tools/include/linux/
H A Dkernel.h18 #ifndef container_of
20 * container_of - cast a member of a structure out to the containing structure
26 #define container_of(ptr, type, member) ({ \ macro
/linux-4.4.14/drivers/scsi/
H A Dscsi_sas_internal.h40 #define to_sas_internal(tmpl) container_of(tmpl, struct sas_internal, t)
/linux-4.4.14/drivers/media/platform/vsp1/
H A Dvsp1_hsit.h33 return container_of(subdev, struct vsp1_hsit, entity.subdev); to_hsit()
H A Dvsp1_lif.h32 return container_of(subdev, struct vsp1_lif, entity.subdev); to_lif()
H A Dvsp1_lut.h33 return container_of(subdev, struct vsp1_lut, entity.subdev); to_lut()
H A Dvsp1_sru.h35 return container_of(subdev, struct vsp1_sru, entity.subdev); to_sru()
H A Dvsp1_video.h91 return container_of(e->pipe, struct vsp1_pipeline, pipe); to_vsp1_pipeline()
107 return container_of(vbuf, struct vsp1_video_buffer, buf); to_vsp1_video_buffer()
140 return container_of(vdev, struct vsp1_video, video); to_vsp1_video()
H A Dvsp1_bru.h41 return container_of(subdev, struct vsp1_bru, entity.subdev); to_bru()
H A Dvsp1_uds.h33 return container_of(subdev, struct vsp1_uds, entity.subdev); to_uds()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpriv.h3 #define nvkm_bios(p) container_of((p), struct nvkm_bios, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dpriv.h3 #define nvkm_pci(p) container_of((p), struct nvkm_pci, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dpriv.h3 #define nvkm_timer(p) container_of((p), struct nvkm_timer, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dpriv.h3 #define nvkm_volt(p) container_of((p), struct nvkm_volt, subdev)
/linux-4.4.14/drivers/base/
H A Dsoc.c48 struct device *dev = container_of(kobj, struct device, kobj); soc_attribute_mode()
49 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_attribute_mode()
72 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_info_get()
107 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_release()
H A Dbase.h44 #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj)
53 #define to_driver(obj) container_of(obj, struct driver_private, kobj)
80 container_of(obj, struct device_private, knode_parent)
82 container_of(obj, struct device_private, knode_driver)
84 container_of(obj, struct device_private, knode_bus)
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_output.h24 return con ? container_of(con, struct fsl_dcu_drm_connector, base) to_fsl_dcu_connector()
/linux-4.4.14/scripts/gdb/linux/
H A Dutils.py50 def container_of(ptr, typeobj, member): function
58 $container_of(PTR, "TYPE", "ELEMENT"): Given PTR, return a pointer to the
63 super(ContainerOf, self).__init__("container_of")
66 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
/linux-4.4.14/kernel/bpf/
H A Darraymap.c67 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_lookup_elem()
79 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_get_next_key()
99 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_update_elem()
127 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_free()
170 struct bpf_array *array = container_of(map, struct bpf_array, map); fd_array_map_free()
190 struct bpf_array *array = container_of(map, struct bpf_array, map); fd_array_map_update_elem()
214 struct bpf_array *array = container_of(map, struct bpf_array, map); fd_array_map_delete_elem()
232 struct bpf_array *array = container_of(map, struct bpf_array, map); prog_fd_array_get_ptr()
254 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_fd_array_map_clear()
/linux-4.4.14/fs/notify/inotify/
H A Dinotify.h20 return container_of(fse, struct inotify_event_info, fse); INOTIFY_E()
/linux-4.4.14/drivers/w1/slaves/
H A Dw1_ds2780.c32 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_do_io()
57 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_io()
75 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_eeprom_cmd()
96 struct device *dev = container_of(kobj, struct device, kobj); w1_slave_read()
H A Dw1_ds2781.c30 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_do_io()
55 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_io()
73 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_eeprom_cmd()
94 struct device *dev = container_of(kobj, struct device, kobj); w1_slave_read()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
H A Dlproc_osc.c48 struct obd_device *dev = container_of(kobj, struct obd_device, active_show()
58 struct obd_device *dev = container_of(kobj, struct obd_device, active_store()
84 struct obd_device *dev = container_of(kobj, struct obd_device, max_rpcs_in_flight_show()
96 struct obd_device *dev = container_of(kobj, struct obd_device, max_rpcs_in_flight_store()
136 struct obd_device *dev = container_of(kobj, struct obd_device, max_dirty_mb_show()
155 struct obd_device *dev = container_of(kobj, struct obd_device, max_dirty_mb_store()
237 struct obd_device *dev = container_of(kobj, struct obd_device, cur_dirty_bytes_show()
254 struct obd_device *dev = container_of(kobj, struct obd_device, cur_grant_bytes_show()
271 struct obd_device *obd = container_of(kobj, struct obd_device, cur_grant_bytes_store()
301 struct obd_device *dev = container_of(kobj, struct obd_device, cur_lost_grant_bytes_show()
318 struct obd_device *obd = container_of(kobj, struct obd_device, grant_shrink_interval_show()
329 struct obd_device *obd = container_of(kobj, struct obd_device, grant_shrink_interval_store()
351 struct obd_device *obd = container_of(kobj, struct obd_device, checksums_show()
362 struct obd_device *obd = container_of(kobj, struct obd_device, checksums_store()
438 struct obd_device *obd = container_of(kobj, struct obd_device, resend_count_show()
449 struct obd_device *obd = container_of(kobj, struct obd_device, resend_count_store()
468 struct obd_device *obd = container_of(kobj, struct obd_device, contention_seconds_show()
480 struct obd_device *obd = container_of(kobj, struct obd_device, contention_seconds_store()
493 struct obd_device *obd = container_of(kobj, struct obd_device, lockless_truncate_show()
505 struct obd_device *obd = container_of(kobj, struct obd_device, lockless_truncate_store()
518 struct obd_device *obd = container_of(kobj, struct obd_device, destroys_in_flight_show()
530 struct obd_device *dev = container_of(kobj, struct obd_device, max_pages_per_rpc_show()
542 struct obd_device *dev = container_of(kobj, struct obd_device, max_pages_per_rpc_store()
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c190 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_fabric_wwn()
199 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_tag()
206 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode()
214 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode_cache()
222 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_write_protect()
230 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_prod_write_protect()
238 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode_login_only()
246 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_prot_fabric_only()
254 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_get_inst_index()
262 struct qla_tgt_mgmt_cmd *mcmd = container_of(work, tcm_qla2xxx_complete_mcmd()
281 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_complete_free()
311 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); tcm_qla2xxx_check_stop_free()
326 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, tcm_qla2xxx_release_cmd()
332 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); tcm_qla2xxx_release_cmd()
373 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_write_pending()
422 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_get_cmd_state()
464 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_handle_data_work()
508 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_handle_dif_work()
542 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_queue_data_in()
567 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_queue_status()
605 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, tcm_qla2xxx_queue_tm_rsp()
638 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_aborted_task()
653 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, tcm_qla2xxx_clear_nacl_from_fcport_map()
655 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_clear_nacl_from_fcport_map()
689 struct se_session *se_sess = container_of(kref, tcm_qla2xxx_release_session()
714 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_init_nodeacl()
734 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, \
744 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, \
789 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_enable_show()
798 struct tcm_qla2xxx_tpg *base_tpg = container_of(work, tcm_qla2xxx_depend_tpg()
812 struct tcm_qla2xxx_tpg *base_tpg = container_of(work, tcm_qla2xxx_undepend_tpg()
828 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_enable_store()
877 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_fabric_prot_type_store()
899 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_fabric_prot_type_show()
921 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_make_tpg()
966 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_drop_tpg()
996 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, tcm_qla2xxx_npiv_tpg_enable_store()
999 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_npiv_tpg_enable_store()
1042 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_make_tpg()
1109 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_find_sess_by_s_id()
1213 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_find_sess_by_loop_id()
1399 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_check_initiator_node_acl()
1426 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_update_sess()
1595 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_drop_lport()
1720 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_drop_lport()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c131 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phyreg_enter()
137 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phyreg_exit()
143 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_radioreg_enter()
151 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_radioreg_exit()
589 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_detach()
616 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_phyversion()
627 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_encore()
633 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_coreflags()
639 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_anacore()
676 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_clk_bwbits()
701 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_por_inform()
708 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_edcrs_lock()
720 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_initcal_enable()
727 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hw_clk_state_upd()
737 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hw_state_upd()
749 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_init()
801 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_cal_init()
819 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_down()
1073 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hold_upd()
1085 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_mute_upd()
1099 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_clear_tssi()
1118 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_switch_radio()
1152 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_bw_state_get()
1159 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_bw_state_set()
1166 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_radio_set()
1173 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_get()
1180 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_set()
1229 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_ch14_widefilter_set()
1249 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_band_validch()
1270 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_band_firstch()
1314 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get()
1326 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_target_set()
1374 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_set()
1410 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_sromlimit()
1459 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_sromlimit_max_get()
1496 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_target_min()
1503 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_target_max()
1815 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpwr_percent_set()
1822 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_machwcap_set()
1829 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_runbist_config()
1860 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_limit_set()
1884 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_ofdm_rateset_war()
1891 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_bf_preempt_enable()
1948 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_hw_ctrl_get()
1958 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_hw_ctrl_set()
2041 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_current()
2139 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_antsel_type_set()
2146 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_test_ison()
2153 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_ant_rxdiv_set()
2286 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_noise_sample_intr()
2342 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_noise_sample_request()
2534 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_rssi_compute()
2594 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_watchdog()
2654 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_BSSinit()
2714 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_cal_perical()
2807 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_init()
2818 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_set()
2830 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_get()
2840 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_active_get()
2870 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_ssmode_get()
2947 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_ipa_ison()
/linux-4.4.14/drivers/memstick/core/
H A Dmemstick.c46 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_bus_match()
48 struct memstick_driver *ms_drv = container_of(drv, memstick_bus_match()
65 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_uevent()
82 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_probe()
84 struct memstick_driver *drv = container_of(dev->driver, memstick_device_probe()
99 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_remove()
101 struct memstick_driver *drv = container_of(dev->driver, memstick_device_remove()
118 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_suspend()
120 struct memstick_driver *drv = container_of(dev->driver, memstick_device_suspend()
131 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_resume()
133 struct memstick_driver *drv = container_of(dev->driver, memstick_device_resume()
153 struct memstick_dev *card = container_of(dev, struct memstick_dev, \
184 struct memstick_host *host = container_of(dev, struct memstick_host, memstick_free()
196 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_free_card()
434 struct memstick_host *host = container_of(work, struct memstick_host, memstick_check()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c217 container_of(kobj, struct qib_pportdata, pport_cc_kobj); read_cc_table_bin()
267 container_of(kobj, struct qib_pportdata, pport_cc_kobj); read_cc_setting_bin()
300 container_of(attr, struct qib_port_attr, attr); qib_portattr_show()
302 container_of(kobj, struct qib_pportdata, pport_kobj); qib_portattr_show()
311 container_of(attr, struct qib_port_attr, attr); qib_portattr_store()
313 container_of(kobj, struct qib_pportdata, pport_kobj); qib_portattr_store()
384 container_of(attr, struct qib_sl2vl_attr, attr); sl2vl_attr_show()
386 container_of(kobj, struct qib_pportdata, sl2vl_kobj); sl2vl_attr_show()
456 container_of(attr, struct qib_diagc_attr, attr); diagc_attr_show()
458 container_of(kobj, struct qib_pportdata, diagc_kobj); diagc_attr_show()
468 container_of(attr, struct qib_diagc_attr, attr); diagc_attr_store()
470 container_of(kobj, struct qib_pportdata, diagc_kobj); diagc_attr_store()
505 container_of(device, struct qib_ibdev, ibdev.dev); show_rev()
514 container_of(device, struct qib_ibdev, ibdev.dev); show_hca()
536 container_of(device, struct qib_ibdev, ibdev.dev); show_boardversion()
548 container_of(device, struct qib_ibdev, ibdev.dev); show_localbus_info()
560 container_of(device, struct qib_ibdev, ibdev.dev); show_nctxts()
575 container_of(device, struct qib_ibdev, ibdev.dev); show_nfreectxts()
586 container_of(device, struct qib_ibdev, ibdev.dev); show_serial()
600 container_of(device, struct qib_ibdev, ibdev.dev); store_chip_reset()
621 container_of(device, struct qib_ibdev, ibdev.dev); show_tempsense()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dchangf119.c29 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); gf119_disp_chan_uevent_fini()
38 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); gf119_disp_chan_uevent_init()
H A Drootnv50.h3 #define nv50_disp_root(p) container_of((p), struct nv50_disp_root, object)
/linux-4.4.14/fs/btrfs/
H A Dsysfs.h67 return container_of(a, struct btrfs_feature_attr, kobj_attr); to_btrfs_feature_attr()
72 return container_of(attr, struct kobj_attribute, attr); attr_to_btrfs_attr()
/linux-4.4.14/fs/notify/fanotify/
H A Dfanotify.h40 return container_of(fse, struct fanotify_perm_event_info, fae.fse); FANOTIFY_PE()
46 return container_of(fse, struct fanotify_event_info, fse); FANOTIFY_E()
/linux-4.4.14/include/linux/ulpi/
H A Ddriver.h22 #define to_ulpi_dev(d) container_of(d, struct ulpi, dev)
48 #define to_ulpi_driver(d) container_of(d, struct ulpi_driver, driver)
/linux-4.4.14/include/net/caif/
H A Dcfsrvl.h50 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); cfsrvl_get()
59 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); cfsrvl_put()
/linux-4.4.14/arch/mips/ar7/
H A Dgpio.c37 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_get_value()
46 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_get_value()
57 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_set_value()
71 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_set_value()
85 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_direction_input()
96 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_direction_input()
112 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_direction_output()
125 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_direction_output()
/linux-4.4.14/arch/parisc/include/asm/
H A Dparisc-device.h42 #define to_parisc_device(d) container_of(d, struct parisc_device, dev)
43 #define to_parisc_driver(d) container_of(d, struct parisc_driver, drv)
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dtiocx.h57 #define to_cx_dev(n) container_of(n, struct cx_dev, dev)
58 #define to_cx_driver(drv) container_of(drv, struct cx_drv, driver)
/linux-4.4.14/arch/arm/mach-integrator/
H A Dlm.c17 #define to_lm_device(d) container_of(d, struct lm_device, dev)
18 #define to_lm_driver(d) container_of(d, struct lm_driver, drv)
/linux-4.4.14/drivers/bcma/
H A Dmain.c35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); manuf_show()
42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); id_show()
49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); rev_show()
56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); class_show()
120 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_release_core_dev()
572 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_suspend()
593 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_resume()
621 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_bus_match()
622 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_match()
638 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_probe()
639 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, bcma_device_probe()
651 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_remove()
652 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, bcma_device_remove()
663 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_uevent()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_mem.c54 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_free()
115 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_number()
130 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_current()
144 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_index()
160 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_array_free()
/linux-4.4.14/drivers/staging/android/
H A Dsync_debug.c140 container_of(pos, struct sync_pt, child_list); sync_print_obj()
157 container_of(fence->cbs[i].sync_pt, sync_print_fence()
170 waiter = container_of(pos, struct sync_fence_waiter, work); sync_print_fence()
187 container_of(pos, struct sync_timeline, sync_debugfs_show()
200 container_of(pos, struct sync_fence, sync_fence_list); sync_debugfs_show()
H A Dsync.c67 container_of(kref, struct sync_timeline, kref); sync_timeline_free()
183 check = container_of(cb, struct sync_fence_cb, cb); fence_check_cb_func()
320 wait = container_of(curr, struct sync_fence_waiter, work); sync_fence_wake_up_wq()
411 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_get_driver_name()
419 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_get_timeline_name()
427 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_release()
446 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_signaled()
458 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_enable_signaling()
471 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_fill_driver_data()
482 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_value_str()
496 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_timeline_value_str()
521 struct sync_fence *fence = container_of(kref, struct sync_fence, kref); sync_fence_free()
H A Dtimed_gpio.c41 container_of(timer, struct timed_gpio_data, timer); gpio_timer_func()
52 data = container_of(dev, struct timed_gpio_data, dev); gpio_get_time()
65 container_of(dev, struct timed_gpio_data, dev); gpio_enable()
/linux-4.4.14/drivers/media/platform/exynos4-is/
H A Dmedia-dev.h67 #define to_fimc_pipeline(_ep) container_of(_ep, struct fimc_pipeline, ep)
100 #define to_cam_clk(_hw) container_of(_hw, struct cam_clk, hw)
162 return container_of(si, struct fimc_sensor_info, pdata); source_to_sensor_info()
168 container_of(me->parent, struct fimc_md, media_dev); entity_to_fimc_mdev()
173 return container_of(n, struct fimc_md, subdev_notifier); notifier_to_fimc_md()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c56 container_of(hdr, struct mc_firmware_header_v1_0, header); radeon_ucode_print_mc_hdr()
77 container_of(hdr, struct smc_firmware_header_v1_0, header); radeon_ucode_print_smc_hdr()
95 container_of(hdr, struct gfx_firmware_header_v1_0, header); radeon_ucode_print_gfx_hdr()
116 container_of(hdr, struct rlc_firmware_header_v1_0, header); radeon_ucode_print_rlc_hdr()
143 container_of(hdr, struct sdma_firmware_header_v1_0, header); radeon_ucode_print_sdma_hdr()
/linux-4.4.14/drivers/target/tcm_fc/
H A Dtfc_conf.c135 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_port_name_show()
145 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_port_name_store()
155 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_node_name_show()
165 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_node_name_store()
191 container_of(nacl, struct ft_node_acl, se_node_acl); ft_init_nodeacl()
210 acl = container_of(se_acl, struct ft_node_acl, se_node_acl); ft_acl_get()
259 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); ft_add_tpg()
290 struct ft_tpg *tpg = container_of(se_tpg, struct ft_tpg, se_tpg); ft_del_tpg()
372 struct ft_lport_wwn *ft_wwn = container_of(wwn, ft_del_wwn()
398 return container_of(se_tpg, struct ft_tpg, se_tpg); ft_tpg()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c54 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, blocksize_show()
72 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, kbytestotal_show()
97 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, kbytesfree_show()
122 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, kbytesavail_show()
147 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, filestotal_show()
165 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, filesfree_show()
183 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, client_type_show()
194 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, fstype_show()
204 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, uuid_show()
227 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_mb_show()
245 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_mb_store()
275 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_per_file_mb_show()
293 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_per_file_mb_store()
320 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_whole_mb_show()
338 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_read_ahead_whole_mb_store()
488 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, checksum_pages_show()
499 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, checksum_pages_store()
528 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, ll_rd_track_id()
543 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, ll_wr_track_id()
612 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, statahead_max_show()
623 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, statahead_max_store()
646 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, statahead_agl_show()
657 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, statahead_agl_store()
696 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, lazystatfs_show()
707 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, lazystatfs_store()
729 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, max_easize_show()
746 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, default_easize_show()
788 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, xattr_cache_show()
799 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, xattr_cache_store()
860 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, llite_sb_release()
/linux-4.4.14/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c171 container_of(dev, struct solo_dev, dev); eeprom_store()
201 container_of(dev, struct solo_dev, dev); eeprom_show()
217 container_of(dev, struct solo_dev, dev); p2m_timeouts_show()
227 container_of(dev, struct solo_dev, dev); sdram_size_show()
237 container_of(dev, struct solo_dev, dev); tw28xx_show()
250 container_of(dev, struct solo_dev, dev); input_map_show()
285 container_of(dev, struct solo_dev, dev); p2m_timeout_store()
301 container_of(dev, struct solo_dev, dev); p2m_timeout_show()
311 container_of(dev, struct solo_dev, dev); intervals_show()
330 container_of(dev, struct solo_dev, dev); sdram_offsets_show()
379 struct device *dev = container_of(kobj, struct device, kobj); sdram_show()
381 container_of(dev, struct solo_dev, dev); sdram_show()
643 struct solo_dev *solo_dev = container_of(v4l2_dev, struct solo_dev, v4l2_dev); solo_pci_remove()
/linux-4.4.14/drivers/hid/
H A Dhid-lenovo.c223 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_fn_lock_show_cptkbd()
234 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_fn_lock_store_cptkbd()
253 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_show_cptkbd()
265 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_store_cptkbd()
390 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_to_select_show_tpkbd()
401 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_to_select_store_tpkbd()
420 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_dragging_show_tpkbd()
431 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_dragging_store_tpkbd()
450 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_release_to_select_show_tpkbd()
461 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_release_to_select_store_tpkbd()
480 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_select_right_show_tpkbd()
491 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_select_right_store_tpkbd()
510 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_show_tpkbd()
522 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_store_tpkbd()
539 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_speed_show_tpkbd()
551 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_speed_store_tpkbd()
612 struct hid_device *hdev = container_of(dev, struct hid_device, dev); lenovo_led_brightness_get_tpkbd()
628 struct hid_device *hdev = container_of(dev, struct hid_device, dev); lenovo_led_brightness_set_tpkbd()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c56 container_of(hdr, struct mc_firmware_header_v1_0, header); amdgpu_ucode_print_mc_hdr()
77 container_of(hdr, struct smc_firmware_header_v1_0, header); amdgpu_ucode_print_smc_hdr()
95 container_of(hdr, struct gfx_firmware_header_v1_0, header); amdgpu_ucode_print_gfx_hdr()
116 container_of(hdr, struct rlc_firmware_header_v1_0, header); amdgpu_ucode_print_rlc_hdr()
130 container_of(hdr, struct rlc_firmware_header_v2_0, header); amdgpu_ucode_print_rlc_hdr()
181 container_of(hdr, struct sdma_firmware_header_v1_0, header); amdgpu_ucode_print_sdma_hdr()
191 container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); amdgpu_ucode_print_sdma_hdr()
/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h301 return container_of(ibucontext, struct mthca_ucontext, ibucontext); to_mucontext()
306 return container_of(ibmr, struct mthca_fmr, ibmr); to_mfmr()
311 return container_of(ibmr, struct mthca_mr, ibmr); to_mmr()
316 return container_of(ibpd, struct mthca_pd, ibpd); to_mpd()
321 return container_of(ibah, struct mthca_ah, ibah); to_mah()
326 return container_of(ibcq, struct mthca_cq, ibcq); to_mcq()
331 return container_of(ibsrq, struct mthca_srq, ibsrq); to_msrq()
336 return container_of(ibqp, struct mthca_qp, ibqp); to_mqp()
341 return container_of(qp, struct mthca_sqp, qp); to_msqp()
/linux-4.4.14/drivers/target/
H A Dtarget_core_fabric_configfs.c75 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_mappedlun_link()
77 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_link()
145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_unlink()
147 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_mappedlun_unlink()
155 return container_of(to_config_group(item), struct se_lun_acl, item_to_lun_acl()
217 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_mappedlun_release()
271 struct se_node_acl *se_nacl = container_of(group, target_fabric_make_mappedlun()
358 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_drop_mappedlun()
385 struct se_node_acl *se_nacl = container_of(to_config_group(item), target_fabric_nacl_base_release()
423 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_nodeacl()
467 struct se_node_acl *se_nacl = container_of(to_config_group(item), target_fabric_drop_nodeacl()
498 struct se_tpg_np *se_tpg_np = container_of(to_config_group(item), target_fabric_np_base_release()
520 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_np()
564 return container_of(to_config_group(item), struct se_lun, item_to_lun()
674 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_port_link()
678 container_of(to_config_group(se_dev_ci), struct se_device, dev_group); target_fabric_port_link()
694 se_tpg = container_of(to_config_group(tpg_ci), target_fabric_port_link()
727 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_port_unlink()
747 struct se_lun *lun = container_of(to_config_group(item), target_fabric_port_release()
795 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_lun()
849 struct se_lun *lun = container_of(to_config_group(item), target_fabric_drop_lun()
891 struct se_portal_group *se_tpg = container_of(to_config_group(item), target_fabric_tpg_release()
913 struct se_wwn *wwn = container_of(group, struct se_wwn, wwn_group); target_fabric_make_tpg()
959 struct se_portal_group *se_tpg = container_of(to_config_group(item), target_fabric_drop_tpg()
979 struct se_wwn *wwn = container_of(to_config_group(item), target_fabric_release_wwn()
1015 struct target_fabric_configfs *tf = container_of(group, target_fabric_make_wwn()
1047 struct se_wwn *wwn = container_of(to_config_group(item), target_fabric_drop_wwn()
/linux-4.4.14/drivers/reset/
H A Dreset-socfpga.c38 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_assert()
59 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_deassert()
82 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_status()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
H A Diproc_nand.c43 container_of(soc, struct iproc_nand_soc, soc); iproc_nand_intc_ack()
58 container_of(soc, struct iproc_nand_soc, soc); iproc_nand_intc_set()
80 container_of(soc, struct iproc_nand_soc, soc); iproc_nand_apb_access()
/linux-4.4.14/drivers/infiniband/core/
H A Dumem_rbtree.c51 container_of(n, struct ib_umem_odp, interval_tree); node_start()
64 container_of(n, struct ib_umem_odp, interval_tree); node_last()
89 umem = container_of(node, struct ib_umem_odp, interval_tree); rbt_ib_umem_for_each_in_range()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_txrx.c54 struct mlx5e_channel *c = container_of(napi, struct mlx5e_channel, mlx5e_napi_poll()
88 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); mlx5e_completion_event()
98 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); mlx5e_cq_error_event()
/linux-4.4.14/drivers/gpu/drm/bochs/
H A Dbochs.h97 #define to_bochs_framebuffer(x) container_of(x, struct bochs_framebuffer, base)
110 return container_of(bo, struct bochs_bo, bo); bochs_bo()
115 return container_of(gem, struct bochs_bo, gem); gem_to_bochs_bo()
/linux-4.4.14/drivers/clocksource/
H A Dtimer-stm32.c46 container_of(evtdev, struct stm32_clock_event_ddata, evtdev); stm32_clock_event_shutdown()
56 container_of(evtdev, struct stm32_clock_event_ddata, evtdev); stm32_clock_event_set_periodic()
68 container_of(evtdev, struct stm32_clock_event_ddata, evtdev); stm32_clock_event_set_next_event()
H A Dtime-efm32.c54 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); efm32_clock_event_shutdown()
63 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); efm32_clock_event_set_oneshot()
77 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); efm32_clock_event_set_periodic()
93 container_of(evtdev, struct efm32_clock_event_ddata, evtdev); efm32_clock_event_set_next_event()
/linux-4.4.14/drivers/clk/hisilicon/
H A Dclkgate-separated.c52 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_enable()
69 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_disable()
84 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_is_enabled()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dmacio.h48 #define to_macio_device(d) container_of(d, struct macio_dev, ofdev.dev)
49 #define of_to_macio_device(d) container_of(d, struct macio_dev, ofdev)
138 #define to_macio_driver(drv) container_of(drv,struct macio_driver, driver)
/linux-4.4.14/arch/mips/ralink/
H A Dcevt-rt3352.c48 sdev = container_of(evt, struct systick_device, dev); systick_next_event()
95 sdev = container_of(evt, struct systick_device, dev); systick_shutdown()
109 sdev = container_of(evt, struct systick_device, dev); systick_set_oneshot()
/linux-4.4.14/drivers/tty/serial/
H A Dmax3100.c263 struct max3100_port *s = container_of(w, struct max3100_port, work); max3100_work()
342 struct max3100_port *s = container_of(port, max3100_enable_ms()
353 struct max3100_port *s = container_of(port, max3100_start_tx()
364 struct max3100_port *s = container_of(port, max3100_stop_rx()
380 struct max3100_port *s = container_of(port, max3100_tx_empty()
393 struct max3100_port *s = container_of(port, max3100_get_mctrl()
407 struct max3100_port *s = container_of(port, max3100_set_mctrl()
429 struct max3100_port *s = container_of(port, max3100_set_termios()
552 struct max3100_port *s = container_of(port, max3100_shutdown()
587 struct max3100_port *s = container_of(port, max3100_startup()
642 struct max3100_port *s = container_of(port, max3100_type()
653 struct max3100_port *s = container_of(port, max3100_release_port()
662 struct max3100_port *s = container_of(port, max3100_config_port()
675 struct max3100_port *s = container_of(port, max3100_verify_port()
689 struct max3100_port *s = container_of(port, max3100_stop_tx()
698 struct max3100_port *s = container_of(port, max3100_request_port()
708 struct max3100_port *s = container_of(port, max3100_break_ctl()
H A Dpnx8xxx_uart.c130 container_of(port, struct pnx8xxx_port, port); pnx8xxx_stop_tx()
147 container_of(port, struct pnx8xxx_port, port); pnx8xxx_start_tx()
164 container_of(port, struct pnx8xxx_port, port); pnx8xxx_stop_rx()
181 container_of(port, struct pnx8xxx_port, port); pnx8xxx_enable_ms()
321 container_of(port, struct pnx8xxx_port, port); pnx8xxx_tx_empty()
329 container_of(port, struct pnx8xxx_port, port); pnx8xxx_get_mctrl()
357 container_of(port, struct pnx8xxx_port, port); pnx8xxx_break_ctl()
374 container_of(port, struct pnx8xxx_port, port); pnx8xxx_startup()
409 container_of(port, struct pnx8xxx_port, port); pnx8xxx_shutdown()
447 container_of(port, struct pnx8xxx_port, port); pnx8xxx_set_termios()
565 container_of(port, struct pnx8xxx_port, port); pnx8xxx_type()
576 container_of(port, struct pnx8xxx_port, port); pnx8xxx_release_port()
587 container_of(port, struct pnx8xxx_port, port); pnx8xxx_request_port()
598 container_of(port, struct pnx8xxx_port, port); pnx8xxx_config_port()
614 container_of(port, struct pnx8xxx_port, port); pnx8xxx_verify_port()
681 container_of(port, struct pnx8xxx_port, port); pnx8xxx_console_putchar()
/linux-4.4.14/drivers/target/iscsi/
H A Discsi_target_configfs.c43 return container_of(to_tpg_np(item), struct iscsi_tpg_np, se_tpg_np); to_iscsi_tpg_np()
282 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); lio_target_call_addnptotpg()
324 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); lio_target_call_delnpfromtpg()
353 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
363 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
449 return __iscsi_nacl_auth_##name##_show(container_of(nacl, \
456 return __iscsi_nacl_auth_##name##_store(container_of(nacl, \
489 return __iscsi_nacl_auth_##name##_show(container_of(nacl, \
695 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_nacl_cmdsn_depth_store()
776 container_of(se_nacl, struct iscsi_node_acl, se_node_acl); lio_target_init_nodeacl()
797 struct iscsi_node_acl *acl = container_of(se_nacl, lio_target_cleanup_nodeacl()
822 struct iscsi_portal_group *tpg = container_of(se_tpg, \
838 struct iscsi_portal_group *tpg = container_of(se_tpg, \
900 struct iscsi_portal_group *tpg = container_of(se_tpg, \
913 struct iscsi_portal_group *tpg = container_of(se_tpg, \
961 struct iscsi_portal_group *tpg = container_of(se_tpg, \
1000 struct iscsi_portal_group *tpg = container_of(se_tpg, \
1023 struct iscsi_portal_group *tpg = container_of(se_tpg, \
1108 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_tpg_enable_show()
1124 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_tpg_enable_store()
1192 tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); lio_target_tiqn_addtpg()
1235 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); lio_target_tiqn_deltpg()
1312 struct iscsi_tiqn *tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); lio_target_call_coredeltiqn()
1454 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); iscsi_get_cmd_state()
1480 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_data_in()
1490 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_write_pending()
1501 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_write_pending_status()
1513 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_status()
1528 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_tm_rsp()
1536 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_aborted_task()
1543 return container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); iscsi_tpg()
1656 struct iscsi_node_acl *acl = container_of(se_acl, struct iscsi_node_acl, lio_set_default_node_attributes()
1659 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_set_default_node_attributes()
1673 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_release_cmd()
/linux-4.4.14/drivers/target/loopback/
H A Dtcm_loop.h12 /* The TCM I/O descriptor that is accessed via container_of() */
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
H A Dlproc_lmv.c48 struct obd_device *dev = container_of(kobj, struct obd_device, numobd_show()
83 struct obd_device *dev = container_of(kobj, struct obd_device, placement_show()
97 struct obd_device *dev = container_of(kobj, struct obd_device, placement_store()
127 struct obd_device *dev = container_of(kobj, struct obd_device, activeobd_show()
/linux-4.4.14/drivers/staging/rdma/ehca/
H A Dehca_mcast.c61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); ehca_attach_mcast()
62 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca, ehca_attach_mcast()
98 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); ehca_detach_mcast()
99 struct ehca_shca *shca = container_of(ibqp->pd->device, ehca_detach_mcast()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dsysfs.c70 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); read_cc_table_bin()
123 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); read_cc_setting_bin()
240 container_of(attr, struct hfi1_sc2vl_attr, attr); sc2vl_attr_show()
242 container_of(kobj, struct hfi1_pportdata, sc2vl_kobj); sc2vl_attr_show()
346 container_of(attr, struct hfi1_sl2sc_attr, attr); sl2sc_attr_show()
348 container_of(kobj, struct hfi1_pportdata, sl2sc_kobj); sl2sc_attr_show()
420 container_of(attr, struct hfi1_vl2mtu_attr, attr); vl2mtu_attr_show()
422 container_of(kobj, struct hfi1_pportdata, vl2mtu_kobj); vl2mtu_attr_show()
449 container_of(device, struct hfi1_ibdev, ibdev.dev); show_rev()
458 container_of(device, struct hfi1_ibdev, ibdev.dev); show_hfi()
473 container_of(device, struct hfi1_ibdev, ibdev.dev); show_boardversion()
485 container_of(device, struct hfi1_ibdev, ibdev.dev); show_nctxts()
503 container_of(device, struct hfi1_ibdev, ibdev.dev); show_nfreectxts()
514 container_of(device, struct hfi1_ibdev, ibdev.dev); show_serial()
526 container_of(device, struct hfi1_ibdev, ibdev.dev); store_chip_reset()
555 container_of(device, struct hfi1_ibdev, ibdev.dev); show_tempsense()
/linux-4.4.14/drivers/vfio/
H A Dvirqfd.c48 struct virqfd *virqfd = container_of(wait, struct virqfd, wait); virqfd_wakeup()
84 struct virqfd *virqfd = container_of(pt, struct virqfd, pt); virqfd_ptable_queue_proc()
90 struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); virqfd_shutdown()
102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); virqfd_inject()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dsysfs.c50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_admin_alias_guid()
75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); store_admin_alias_guid()
116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_port_gid()
143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_phys_port_pkey()
381 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); mlx4_port_release()
405 container_of(attr, struct port_attribute, attr); port_attr_show()
406 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); port_attr_show()
418 container_of(attr, struct port_attribute, attr); port_attr_store()
419 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); port_attr_store()
446 container_of(attr, struct port_table_attribute, attr); show_port_pkey()
463 container_of(attr, struct port_table_attribute, attr); store_port_pkey()
547 container_of(attr, struct mlx4_port, smi_enabled); sysfs_show_smi_enabled()
563 container_of(attr, struct mlx4_port, enable_smi_admin); sysfs_show_enable_smi_admin()
579 container_of(attr, struct mlx4_port, enable_smi_admin); sysfs_store_enable_smi_admin()
753 mport = container_of(p, struct mlx4_port, kobj); register_one_pkey_tree()
798 port = container_of(p, struct mlx4_port, kobj); unregister_pkey_tree()
/linux-4.4.14/drivers/gpu/drm/sti/
H A Dsti_plane.h16 #define to_sti_plane(x) container_of(x, struct sti_plane, drm_plane)
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbttv-gpio.c143 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_inout()
157 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_read()
166 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_write()
173 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_bits()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-controls.c35 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_stream_vbi_fmt()
94 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_video_encoding()
112 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_audio_sampling_freq()
123 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_audio_mode()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dpriv.h3 #define nvkm_i2c(p) container_of((p), struct nvkm_i2c, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dpriv.h3 #define nvkm_ltc(p) container_of((p), struct nvkm_ltc, subdev)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dpriv.h3 #define nvkm_mc(p) container_of((p), struct nvkm_mc, subdev)
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c38 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_adjust_freq()
75 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_adjust_time()
111 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_get_time()
139 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_set_time()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c60 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio_dir()
73 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio_read()
79 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio()
92 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdc()
/linux-4.4.14/drivers/devfreq/
H A Dgovernor.h19 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev)
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dframebuffer.h42 #define to_psb_fb(x) container_of(x, struct psb_framebuffer, base)
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.h37 #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base)
H A Da4xx_gpu.h32 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)

Completed in 7552 milliseconds

1234567891011>>