Home
last modified time | relevance | path

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

12345678910>>...214

/Linux-v5.10/drivers/phy/tegra/
Dxusb.h59 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane()
72 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane()
82 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane()
101 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane()
111 return container_of(lane, struct tegra_xusb_pcie_lane, base); in to_pcie_lane()
121 return container_of(lane, struct tegra_xusb_sata_lane, base); in to_sata_lane()
167 return container_of(dev, struct tegra_xusb_pad, dev); in to_tegra_xusb_pad()
187 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad()
201 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad()
211 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad()
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/dp/
Ddp_catalog.c142 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_read_data()
150 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_write_data()
159 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_write_trans()
169 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_clear_trans()
184 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_clear_hw_interrupts()
197 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_reset()
213 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_enable()
231 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_update_cfg()
260 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_dump_regs()
286 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_get_irq()
[all …]
/Linux-v5.10/security/tomoyo/
Dgc.c112 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
128 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator()
144 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager()
159 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
173 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
181 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
189 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
199 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
209 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
[all …]
Dgroup.c24 return container_of(a, struct tomoyo_path_group, head)->member_name == in tomoyo_same_path_group()
25 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group()
39 return !memcmp(&container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
41 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group()
43 sizeof(container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
58 const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), in tomoyo_same_address_group()
60 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), in tomoyo_same_address_group()
/Linux-v5.10/drivers/misc/
Dtifm_core.c43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match()
44 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, in tifm_bus_match()
60 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent()
70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe()
71 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe()
92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove()
93 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove()
111 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend()
112 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend()
122 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume()
[all …]
/Linux-v5.10/drivers/dma/idxd/
Dsysfs.c400 container_of(dev, struct idxd_engine, conf_dev); in engine_group_id_show()
413 container_of(dev, struct idxd_engine, conf_dev); in engine_group_id_store()
485 container_of(dev, struct idxd_group, conf_dev); in group_tokens_reserved_show()
495 container_of(dev, struct idxd_group, conf_dev); in group_tokens_reserved_store()
530 container_of(dev, struct idxd_group, conf_dev); in group_tokens_allowed_show()
540 container_of(dev, struct idxd_group, conf_dev); in group_tokens_allowed_store()
572 container_of(dev, struct idxd_group, conf_dev); in group_use_token_limit_show()
582 container_of(dev, struct idxd_group, conf_dev); in group_use_token_limit_store()
612 container_of(dev, struct idxd_group, conf_dev); in group_engines_show()
641 container_of(dev, struct idxd_group, conf_dev); in group_work_queues_show()
[all …]
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.h465 #define to_layer(c) container_of(c, struct komeda_layer, base)
466 #define to_compiz(c) container_of(c, struct komeda_compiz, base)
467 #define to_scaler(c) container_of(c, struct komeda_scaler, base)
468 #define to_splitter(c) container_of(c, struct komeda_splitter, base)
469 #define to_merger(c) container_of(c, struct komeda_merger, base)
470 #define to_improc(c) container_of(c, struct komeda_improc, base)
471 #define to_ctrlr(c) container_of(c, struct komeda_timing_ctrlr, base)
473 #define to_layer_st(c) container_of(c, struct komeda_layer_state, base)
474 #define to_compiz_st(c) container_of(c, struct komeda_compiz_state, base)
475 #define to_scaler_st(c) container_of(c, struct komeda_scaler_state, base)
[all …]
Dkomeda_kms.h128 #define to_kplane(p) container_of(p, struct komeda_plane, base)
129 #define to_kplane_st(p) container_of(p, struct komeda_plane_state, base)
130 #define to_kconn(p) container_of(p, struct komeda_wb_connector, base)
131 #define to_kcrtc(p) container_of(p, struct komeda_crtc, base)
132 #define to_kcrtc_st(p) container_of(p, struct komeda_crtc_state, base)
133 #define to_kdev(p) container_of(p, struct komeda_kms_dev, base)
134 #define to_wb_conn(x) container_of(x, struct drm_writeback_connector, base)
/Linux-v5.10/drivers/clk/
Dclk-wm831x.c27 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared()
36 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate()
68 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared()
85 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare()
103 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare()
116 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate()
153 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate()
178 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent()
233 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared()
250 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare()
[all …]
/Linux-v5.10/drivers/target/
Dtarget_core_fabric_configfs.c71 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link()
82 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group); in target_fabric_mappedlun_link()
145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink()
147 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink()
155 return container_of(to_config_group(item), struct se_lun_acl, in item_to_lun_acl()
214 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release()
268 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
329 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_drop_mappedlun()
340 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release()
376 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
[all …]
/Linux-v5.10/drivers/md/persistent-data/
Ddm-space-map-disk.c36 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy()
43 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend()
50 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks()
58 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free()
67 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_count()
92 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_set_count()
130 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_inc_block()
148 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_dec_block()
168 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_new_block()
191 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_commit()
[all …]
Ddm-space-map-metadata.c276 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_destroy()
283 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_blocks()
292 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_free()
305 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_count()
345 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_count_is_more_than_one()
397 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_set_count()
415 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_inc_block()
432 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_dec_block()
449 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block_()
477 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block()
[all …]
/Linux-v5.10/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c23 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_sess_release()
37 stats = container_of(kobj, struct rtrs_clt_stats, kobj_stats); in rtrs_clt_sess_stats_release()
53 struct rtrs_clt *clt = container_of(dev, struct rtrs_clt, dev); in max_reconnect_attempts_show()
65 struct rtrs_clt *clt = container_of(dev, struct rtrs_clt, dev); in max_reconnect_attempts_store()
94 clt = container_of(dev, struct rtrs_clt, dev); in mpath_policy_show()
115 clt = container_of(dev, struct rtrs_clt, dev); in mpath_policy_store()
160 clt = container_of(dev, struct rtrs_clt, dev); in add_path_store()
185 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_state_show()
210 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_reconnect_store()
242 sess = container_of(kobj, struct rtrs_clt_sess, kobj); in rtrs_clt_disconnect_store()
[all …]
/Linux-v5.10/fs/cachefiles/
Dinterface.c34 cache = container_of(_cache, struct cachefiles_cache, cache); in cachefiles_alloc_object()
129 cache = container_of(_object->cache, struct cachefiles_cache, cache); in cachefiles_lookup_object()
130 parent = container_of(_object->parent, in cachefiles_lookup_object()
132 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
166 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
186 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object()
216 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object()
217 cache = container_of(object->fscache.cache, struct cachefiles_cache, in cachefiles_update_object()
271 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object()
276 cache = container_of(object->fscache.cache, in cachefiles_drop_object()
[all …]
/Linux-v5.10/drivers/infiniband/hw/usnic/
Dusnic_ib.h103 return container_of(ibdev, struct usnic_ib_dev, ib_dev); in to_usdev()
109 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_ucontext()
115 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd()
121 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_uucontext()
127 return container_of(ibmr, struct usnic_ib_mr, ibmr); in to_umr()
/Linux-v5.10/drivers/infiniband/core/
Drestrack.c130 return container_of(res, struct ib_pd, res)->device; in res_to_dev()
132 return container_of(res, struct ib_cq, res)->device; in res_to_dev()
134 return container_of(res, struct ib_qp, res)->device; in res_to_dev()
136 return container_of(res, struct rdma_id_private, in res_to_dev()
139 return container_of(res, struct ib_mr, res)->device; in res_to_dev()
141 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev()
143 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
233 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add()
241 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
289 res = container_of(kref, struct rdma_restrack_entry, kref); in restrack_release()
/Linux-v5.10/scripts/gdb/linux/
Ddevice.py8 from linux.utils import container_of
37 subsys = container_of(kobj, kset_type.get_type().pointer(), 'kobj')
38 subsys_priv = container_of(subsys, subsys_private_type.get_type().pointer(), 'subsys')
44 subsys = container_of(kobj, kset_type.get_type().pointer(), 'kobj')
45 subsys_priv = container_of(subsys, subsys_private_type.get_type().pointer(), 'subsys')
74 dp = container_of(kn, device_private_type.get_type().pointer(), 'knode_bus')
80 dp = container_of(kn, device_private_type.get_type().pointer(), 'knode_class')
86 dp = container_of(kn, device_private_type.get_type().pointer(), 'knode_parent')
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c92 struct mlx5_clock *clock = container_of(cc, struct mlx5_clock, cycles); in read_internal_timer()
93 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in read_internal_timer()
123 struct mlx5_pps *pps_info = container_of(work, struct mlx5_pps, in mlx5_pps_out()
125 struct mlx5_clock *clock = container_of(pps_info, struct mlx5_clock, in mlx5_pps_out()
127 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in mlx5_pps_out()
157 clock = container_of(dwork, struct mlx5_clock, overflow_work); in mlx5_timestamp_overflow()
158 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_timestamp_overflow()
168 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_settime()
173 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_ptp_settime()
185 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_gettimex()
[all …]
/Linux-v5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c164 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_fabric_wwn()
173 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_tag()
180 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode()
188 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode_cache()
196 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_write_protect()
204 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_prod_write_protect()
212 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode_login_only()
220 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_prot_fabric_only()
228 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_tpg_get_inst_index()
236 struct qla_tgt_mgmt_cmd *mcmd = container_of(work, in tcm_qla2xxx_complete_mcmd()
[all …]
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.h283 return container_of(ibucontext, struct mthca_ucontext, ibucontext); in to_mucontext()
288 return container_of(ibmr, struct mthca_mr, ibmr); in to_mmr()
293 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd()
298 return container_of(ibah, struct mthca_ah, ibah); in to_mah()
303 return container_of(ibcq, struct mthca_cq, ibcq); in to_mcq()
308 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq()
313 return container_of(ibqp, struct mthca_qp, ibqp); in to_mqp()
/Linux-v5.10/include/crypto/internal/
Daead.h45 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance()
50 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance()
81 return container_of(req, struct aead_request, base); in aead_request_cast()
96 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
130 return req ? container_of(req, struct aead_request, base) : NULL; in aead_dequeue_request()
139 return req ? container_of(req, struct aead_request, base) : NULL; in aead_get_backlog()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_simple_kms_helper.c80 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid()
107 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
120 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable()
138 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable_vblank()
149 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable_vblank()
174 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
199 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
211 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_prepare_fb()
223 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_cleanup_fb()
/Linux-v5.10/net/sunrpc/
Dsvcauth_unix.c43 struct auth_domain *dom = container_of(head, struct auth_domain, rcu_head); in svcauth_unix_domain_release_rcu()
44 struct unix_domain *ud = container_of(dom, struct unix_domain, h); in svcauth_unix_domain_release_rcu()
106 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put()
107 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put()
121 struct ip_map *orig = container_of(corig, struct ip_map, h); in ip_map_match()
122 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_match()
128 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_init()
129 struct ip_map *item = container_of(citem, struct ip_map, h); in ip_map_init()
136 struct ip_map *new = container_of(cnew, struct ip_map, h); in update()
137 struct ip_map *item = container_of(citem, struct ip_map, h); in update()
[all …]
/Linux-v5.10/drivers/dma/sh/
Dshdma.h55 #define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, shdma_chan)
56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node)
57 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)
58 #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\
/Linux-v5.10/fs/nfs/
Ddns_resolve.c78 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update()
79 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update()
91 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init()
92 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init()
109 item = container_of(head, struct nfs_dns_ent, rcu_head); in nfs_dns_ent_free_rcu()
118 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put()
144 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request()
153 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall()
169 a = container_of(ca, struct nfs_dns_ent, h); in nfs_dns_match()
170 b = container_of(cb, struct nfs_dns_ent, h); in nfs_dns_match()
[all …]

12345678910>>...214