| /Linux-v5.4/drivers/phy/tegra/ |
| D | xusb.h | 58 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane() 71 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane() 81 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane() 100 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane() 110 return container_of(lane, struct tegra_xusb_pcie_lane, base); in to_pcie_lane() 120 return container_of(lane, struct tegra_xusb_sata_lane, base); in to_sata_lane() 166 return container_of(dev, struct tegra_xusb_pad, dev); in to_tegra_xusb_pad() 186 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad() 200 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad() 210 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_pipeline.h | 447 #define to_layer(c) container_of(c, struct komeda_layer, base) 448 #define to_compiz(c) container_of(c, struct komeda_compiz, base) 449 #define to_scaler(c) container_of(c, struct komeda_scaler, base) 450 #define to_splitter(c) container_of(c, struct komeda_splitter, base) 451 #define to_merger(c) container_of(c, struct komeda_merger, base) 452 #define to_improc(c) container_of(c, struct komeda_improc, base) 453 #define to_ctrlr(c) container_of(c, struct komeda_timing_ctrlr, base) 455 #define to_layer_st(c) container_of(c, struct komeda_layer_state, base) 456 #define to_compiz_st(c) container_of(c, struct komeda_compiz_state, base) 457 #define to_scaler_st(c) container_of(c, struct komeda_scaler_state, base) [all …]
|
| D | komeda_kms.h | 128 #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.4/security/tomoyo/ |
| D | gc.c | 112 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 …]
|
| D | group.c | 24 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.4/drivers/misc/ |
| D | tifm_core.c | 43 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.4/drivers/infiniband/hw/mthca/ |
| D | mthca_provider.h | 301 return container_of(ibucontext, struct mthca_ucontext, ibucontext); in to_mucontext() 306 return container_of(ibmr, struct mthca_fmr, ibmr); in to_mfmr() 311 return container_of(ibmr, struct mthca_mr, ibmr); in to_mmr() 316 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd() 321 return container_of(ibah, struct mthca_ah, ibah); in to_mah() 326 return container_of(ibcq, struct mthca_cq, ibcq); in to_mcq() 331 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq() 336 return container_of(ibqp, struct mthca_qp, ibqp); in to_mqp() 341 return container_of(qp, struct mthca_sqp, qp); in to_msqp()
|
| /Linux-v5.4/drivers/md/persistent-data/ |
| D | dm-space-map-metadata.c | 276 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_() 474 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block() [all …]
|
| D | dm-space-map-disk.c | 36 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() 189 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_commit() [all …]
|
| /Linux-v5.4/drivers/clk/ |
| D | clk-wm831x.c | 27 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.4/drivers/infiniband/core/ |
| D | restrack.c | 135 pd = container_of(res, struct ib_qp, res)->pd; in set_kern_name() 143 pd = container_of(res, struct ib_mr, res)->pd; in set_kern_name() 159 return container_of(res, struct ib_pd, res)->device; in res_to_dev() 161 return container_of(res, struct ib_cq, res)->device; in res_to_dev() 163 return container_of(res, struct ib_qp, res)->device; in res_to_dev() 165 return container_of(res, struct rdma_id_private, in res_to_dev() 168 return container_of(res, struct ib_mr, res)->device; in res_to_dev() 170 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev() 172 return container_of(res, struct rdma_counter, res)->device; in res_to_dev() 223 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add() [all …]
|
| /Linux-v5.4/drivers/target/ |
| D | target_core_fabric_configfs.c | 71 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.4/fs/cachefiles/ |
| D | interface.c | 34 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.4/drivers/infiniband/hw/usnic/ |
| D | usnic_ib.h | 103 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.4/drivers/gpu/drm/ |
| D | drm_simple_kms_helper.c | 40 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid() 67 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable() 80 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable() 98 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable_vblank() 109 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable_vblank() 134 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check() 159 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update() 171 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_prepare_fb() 183 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_cleanup_fb()
|
| /Linux-v5.4/scripts/gdb/linux/ |
| D | device.py | 8 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.4/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 164 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.4/drivers/md/bcache/ |
| D | request.c | 60 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_keys() 122 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_invalidate() 153 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_error() 184 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_endio() 201 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_start() 322 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert() 491 struct bbio *b = container_of(bio, struct bbio, bio); in bch_cache_read_endio() 493 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() 519 struct search *s = container_of(op, struct search, op); in cache_lookup_fn() 558 bio_key = &container_of(n, struct bbio, bio)->key; in cache_lookup_fn() [all …]
|
| /Linux-v5.4/net/sunrpc/ |
| D | svcauth_unix.c | 43 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.4/drivers/dma/sh/ |
| D | shdma.h | 55 #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.4/include/crypto/internal/ |
| D | aead.h | 45 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() 101 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg() 145 return req ? container_of(req, struct aead_request, base) : NULL; in aead_dequeue_request() 154 return req ? container_of(req, struct aead_request, base) : NULL; in aead_get_backlog()
|
| /Linux-v5.4/fs/nfs/ |
| D | dns_resolve.c | 79 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update() 80 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update() 92 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init() 93 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init() 110 item = container_of(head, struct nfs_dns_ent, rcu_head); in nfs_dns_ent_free_rcu() 119 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put() 145 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request() 154 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 …]
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_dim.c | 46 struct dim *dim = container_of(work, struct dim, work); in mlx5e_rx_dim_work() 47 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_rx_dim_work() 56 struct dim *dim = container_of(work, struct dim, work); in mlx5e_tx_dim_work() 57 struct mlx5e_txqsq *sq = container_of(dim, struct mlx5e_txqsq, dim); in mlx5e_tx_dim_work()
|
| /Linux-v5.4/block/ |
| D | blk-mq-sysfs.c | 20 struct blk_mq_ctxs *ctxs = container_of(kobj, struct blk_mq_ctxs, kobj); in blk_mq_sysfs_release() 28 struct blk_mq_ctx *ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_ctx_sysfs_release() 36 struct blk_mq_hw_ctx *hctx = container_of(kobj, struct blk_mq_hw_ctx, in blk_mq_hw_sysfs_release() 70 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show() 71 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_show() 93 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store() 94 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_store() 116 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show() 117 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); in blk_mq_hw_sysfs_show() 140 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store() [all …]
|
| /Linux-v5.4/drivers/base/ |
| D | base.h | 45 #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) 89 container_of(obj, struct device_private, knode_parent) 91 container_of(obj, struct device_private, knode_driver) 93 container_of(obj, struct device_private, knode_bus) 95 container_of(obj, struct device_private, knode_class)
|