Home
last modified time | relevance | path

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

12345678910>>...58

/linux-4.19.296/drivers/misc/
Dtifm_core.c47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match()
48 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, in tifm_bus_match()
64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent()
74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe()
75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe()
96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove()
97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove()
115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend()
116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend()
126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume()
[all …]
/linux-4.19.296/drivers/clk/
Dclk-wm831x.c32 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared()
41 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate()
73 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared()
90 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare()
108 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare()
121 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate()
158 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate()
183 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent()
238 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared()
255 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare()
[all …]
Dclk-twl6040.c38 struct twl6040_pdmclk *pdmclk = container_of(hw, struct twl6040_pdmclk, in twl6040_pdmclk_is_prepared()
83 struct twl6040_pdmclk *pdmclk = container_of(hw, struct twl6040_pdmclk, in twl6040_pdmclk_prepare()
108 struct twl6040_pdmclk *pdmclk = container_of(hw, struct twl6040_pdmclk, in twl6040_pdmclk_unprepare()
121 struct twl6040_pdmclk *pdmclk = container_of(hw, struct twl6040_pdmclk, in twl6040_pdmclk_recalc_rate()
Dclk-versaclock5.c226 container_of(hw, struct vc5_driver_data, clk_mux); in vc5_mux_get_parent()
247 container_of(hw, struct vc5_driver_data, clk_mux); in vc5_mux_set_parent()
283 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_recalc_rate()
306 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_set_rate()
331 container_of(hw, struct vc5_driver_data, clk_pfd); in vc5_pfd_recalc_rate()
373 container_of(hw, struct vc5_driver_data, clk_pfd); in vc5_pfd_set_rate()
413 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_recalc_rate()
430 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_round_rate()
458 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_pll_set_rate()
480 struct vc5_hw_data *hwdata = container_of(hw, struct vc5_hw_data, hw); in vc5_fod_recalc_rate()
[all …]
/linux-4.19.296/fs/cachefiles/
Dinterface.c38 cache = container_of(_cache, struct cachefiles_cache, cache); in cachefiles_alloc_object()
133 cache = container_of(_object->cache, struct cachefiles_cache, cache); in cachefiles_lookup_object()
134 parent = container_of(_object->parent, in cachefiles_lookup_object()
136 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
170 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
190 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object()
220 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object()
221 cache = container_of(object->fscache.cache, struct cachefiles_cache, in cachefiles_update_object()
275 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object()
280 cache = container_of(object->fscache.cache, in cachefiles_drop_object()
[all …]
Drdwr.c28 container_of(wait, struct cachefiles_one_read, monitor); in cachefiles_read_waiter()
64 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter()
164 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier()
165 object = container_of(op->op.object, in cachefiles_read_copier()
408 object = container_of(op->op.object, in cachefiles_read_or_alloc_page()
410 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_page()
701 object = container_of(op->op.object, in cachefiles_read_or_alloc_pages()
703 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages()
810 object = container_of(op->op.object, in cachefiles_allocate_page()
812 cache = container_of(object->fscache.cache, in cachefiles_allocate_page()
[all …]
/linux-4.19.296/include/crypto/internal/
Daead.h50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance()
55 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance()
86 return container_of(req, struct aead_request, base); in aead_request_cast()
106 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
150 return req ? container_of(req, struct aead_request, base) : NULL; in aead_dequeue_request()
159 return req ? container_of(req, struct aead_request, base) : NULL; in aead_get_backlog()
Dhash.h132 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, in __crypto_ahash_alg()
145 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance()
151 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); in ahash_instance()
212 return container_of(&inst->alg.base, struct crypto_instance, alg); in shash_crypto_instance()
218 return container_of(__crypto_shash_alg(&inst->alg), in shash_instance()
247 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
/linux-4.19.296/include/linux/
Dnd.h45 return container_of(drv, struct nd_device_driver, drv); in to_nd_device_driver()
67 return container_of(dev, struct nd_namespace_common, dev); in to_ndns()
125 return container_of(dev, struct nd_namespace_io, common.dev); in to_nd_namespace_io()
132 return container_of(nsio, struct nd_namespace_pmem, nsio); in to_nd_namespace_pmem()
137 return container_of(dev, struct nd_namespace_blk, common.dev); in to_nd_namespace_blk()
Dplist.h238 container_of(plist_first(head), type, member); \
242 container_of(plist_first(head), type, member)
255 container_of(plist_last(head), type, member); \
259 container_of(plist_last(head), type, member)
/linux-4.19.296/fs/nfs/
Ddns_resolve.c77 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update()
78 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update()
90 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init()
91 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init()
108 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put()
135 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request()
144 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall()
159 a = container_of(ca, struct nfs_dns_ent, h); in nfs_dns_match()
160 b = container_of(cb, struct nfs_dns_ent, h); in nfs_dns_match()
177 item = container_of(h, struct nfs_dns_ent, h); in nfs_dns_show()
[all …]
/linux-4.19.296/drivers/base/
Dbase.h45 #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj)
54 #define to_driver(obj) container_of(obj, struct driver_private, kobj)
85 container_of(obj, struct device_private, knode_parent)
87 container_of(obj, struct device_private, knode_driver)
89 container_of(obj, struct device_private, knode_bus)
/linux-4.19.296/drivers/memstick/core/
Dmemstick.c47 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_bus_match()
49 struct memstick_driver *ms_drv = container_of(drv, in memstick_bus_match()
66 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_uevent()
83 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_probe()
85 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe()
100 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_remove()
102 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove()
119 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_suspend()
121 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend()
132 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_resume()
[all …]
/linux-4.19.296/drivers/media/radio/
Dradio-trust.c121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume()
131 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_stereo()
149 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_frequency()
165 container_of(ctrl->handler, struct radio_isa_card, hdl); in trust_s_ctrl()
166 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_ctrl()
185 struct trust *tr = container_of(isa, struct trust, isa); in trust_initialize()
/linux-4.19.296/drivers/iio/dac/
Dad5592r.c23 struct spi_device *spi = container_of(st->dev, struct spi_device, dev); in ad5592r_spi_wnop_r16()
37 struct spi_device *spi = container_of(st->dev, struct spi_device, dev); in ad5592r_write_dac()
46 struct spi_device *spi = container_of(st->dev, struct spi_device, dev); in ad5592r_read_adc()
74 struct spi_device *spi = container_of(st->dev, struct spi_device, dev); in ad5592r_reg_write()
83 struct spi_device *spi = container_of(st->dev, struct spi_device, dev); in ad5592r_reg_read()
/linux-4.19.296/block/
Dblk-mq-sysfs.c23 struct blk_mq_hw_ctx *hctx = container_of(kobj, struct blk_mq_hw_ctx, in blk_mq_hw_sysfs_release()
55 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show()
56 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_show()
78 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store()
79 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_store()
101 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
102 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); in blk_mq_hw_sysfs_show()
125 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store()
126 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); in blk_mq_hw_sysfs_store()
/linux-4.19.296/drivers/base/regmap/
Dregmap-w1.c28 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_read()
50 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_write()
77 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_read()
101 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_write()
129 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_read()
154 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_write()
/linux-4.19.296/fs/nfsd/
Dnfs4idmap.c78 struct ent *new = container_of(cnew, struct ent, h); in ent_init()
79 struct ent *itm = container_of(citm, struct ent, h); in ent_init()
91 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put()
128 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request()
142 struct ent *a = container_of(ca, struct ent, h); in idtoname_match()
143 struct ent *b = container_of(cb, struct ent, h); in idtoname_match()
158 ent = container_of(h, struct ent, h); in idtoname_show()
270 return container_of(ch, struct ent, h); in idtoname_lookup()
281 return container_of(ch, struct ent, h); in idtoname_update()
301 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request()
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_trans_refcount.c81 ra = container_of(a, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_diff_items()
82 rb = container_of(b, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_diff_items()
139 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_log_item()
180 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_finish_item()
226 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_cancel_item()
Dxfs_trans_extfree.c104 ra = container_of(a, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_diff_items()
105 rb = container_of(b, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_diff_items()
143 free = container_of(item, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_log_item()
181 free = container_of(item, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_finish_item()
205 free = container_of(item, struct xfs_extent_free_item, xefi_list); in xfs_extent_free_cancel_item()
242 free = container_of(item, struct xfs_extent_free_item, xefi_list); in xfs_agfl_free_finish_item()
Dxfs_trans_bmap.c82 ba = container_of(a, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_diff_items()
83 bb = container_of(b, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_diff_items()
143 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_log_item()
186 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_finish_item()
219 bmap = container_of(item, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_cancel_item()
Dxfs_trans_rmap.c122 ra = container_of(a, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_diff_items()
123 rb = container_of(b, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_diff_items()
161 rmap = container_of(item, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_log_item()
203 rmap = container_of(item, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_finish_item()
243 rmap = container_of(item, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_cancel_item()
/linux-4.19.296/drivers/char/tpm/
Dtpmrm-dev.c20 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
39 struct tpmrm_priv *priv = container_of(fpriv, struct tpmrm_priv, priv); in tpmrm_release()
52 struct tpmrm_priv *priv = container_of(fpriv, struct tpmrm_priv, priv); in tpmrm_write()
/linux-4.19.296/include/scsi/
Dscsi_transport_sas.h88 container_of((d), struct sas_phy, dev)
104 container_of((d), struct sas_rphy, dev)
123 container_of((r), struct sas_end_device, rphy)
144 container_of((r), struct sas_expander_device, rphy)
163 container_of((d), struct sas_port, dev)
/linux-4.19.296/lib/
Dtest_list_sort.c62 ela = container_of(a, struct debug_el, list); in cmp()
63 elb = container_of(b, struct debug_el, list); in cmp()
114 el = container_of(cur, struct debug_el, list); in list_sort_test()
115 el1 = container_of(cur->next, struct debug_el, list); in list_sort_test()

12345678910>>...58