Home
last modified time | relevance | path

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

12345678910>>...204

/linux-6.3-rc2/drivers/gpu/drm/msm/dp/
A Ddp_catalog.c61 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_snapshot()
139 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_read_data()
147 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_write_data()
156 struct dp_catalog_private *catalog = container_of(dp_catalog, in dp_catalog_aux_write_trans()
915 catalog = container_of(dp_catalog, in dp_catalog_audio_get_header()
937 catalog = container_of(dp_catalog, in dp_catalog_audio_set_header()
956 catalog = container_of(dp_catalog, in dp_catalog_audio_config_acr()
977 catalog = container_of(dp_catalog, in dp_catalog_audio_enable()
1004 catalog = container_of(dp_catalog, in dp_catalog_audio_config_sdp()
1069 catalog = container_of(dp_catalog, in dp_catalog_audio_init()
[all …]
/linux-6.3-rc2/drivers/phy/tegra/
A Dxusb.h65 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane()
78 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane()
88 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane()
107 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane()
117 return container_of(lane, struct tegra_xusb_pcie_lane, base); in to_pcie_lane()
182 return container_of(dev, struct tegra_xusb_pad, dev); in to_tegra_xusb_pad()
202 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad()
216 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad()
226 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad()
239 return container_of(pad, struct tegra_xusb_hsic_pad, base); in to_hsic_pad()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/function/
A Duvc_configfs.h21 return container_of(to_config_group(item), struct f_uvc_opts, in to_f_uvc_opts()
37 return container_of(item, struct uvcg_control_header, item); in to_uvcg_control_header()
47 container_of(group_ptr, struct uvcg_color_matching, group)
71 return container_of(to_config_group(item), struct uvcg_format, group); in to_uvcg_format()
84 return container_of(item, struct uvcg_streaming_header, item); in to_uvcg_streaming_header()
114 return container_of(item, struct uvcg_frame, item); in to_uvcg_frame()
128 return container_of(to_uvcg_format(item), struct uvcg_uncompressed, fmt); in to_uvcg_uncompressed()
142 return container_of(to_uvcg_format(item), struct uvcg_mjpeg, fmt); in to_uvcg_mjpeg()
172 return container_of(item, struct uvcg_extension, item); in to_uvcg_extension()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Drbtree_fail.c25 node_a = container_of(a, struct node_data, node); in less()
26 node_b = container_of(b, struct node_data, node); in less()
93 n = container_of(res, struct node_data, node); in rbtree_api_remove_unadded_node()
97 m = container_of(res, struct node_data, node); in rbtree_api_remove_unadded_node()
121 n = container_of(res, struct node_data, node); in rbtree_api_remove_no_drop()
198 o = container_of(res, struct node_data, node); in rbtree_api_release_aliasing()
203 m = container_of(res, struct node_data, node); in rbtree_api_release_aliasing()
236 n = container_of(res, struct node_data, node); in rbtree_api_first_release_unlock_escape()
254 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_add()
255 node_b = container_of(b, struct node_data, node); in less__bad_fn_call_add()
[all …]
A Dlinked_list.c28 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
37 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
54 f = container_of(n, struct foo, node); in list_push_pop()
69 f = container_of(n, struct foo, node); in list_push_pop()
80 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
88 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop()
133 pf = container_of(n, struct foo, node); in list_push_pop_multiple()
152 pf = container_of(n, struct foo, node); in list_push_pop_multiple()
163 bpf_obj_drop(container_of(n, struct foo, node)); in list_push_pop_multiple()
213 f = container_of(n, struct foo, node); in list_in_list()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_simple_kms_helper.c91 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid()
122 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
135 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable()
153 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_reset()
164 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_duplicate_state()
175 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_destroy_state()
186 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable_vblank()
197 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable_vblank()
224 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
251 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
[all …]
/linux-6.3-rc2/mm/damon/
A Dsysfs-schemes.c43 struct damon_sysfs_scheme_region *region = container_of(kobj, in start_show()
183 struct damon_sysfs_stats *stats = container_of(kobj, in nr_tried_show()
192 struct damon_sysfs_stats *stats = container_of(kobj, in sz_tried_show()
201 struct damon_sysfs_stats *stats = container_of(kobj, in nr_applied_show()
210 struct damon_sysfs_stats *stats = container_of(kobj, in sz_applied_show()
219 struct damon_sysfs_stats *stats = container_of(kobj, in qt_exceeds_show()
841 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_show()
850 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_store()
862 struct damon_sysfs_quotas *quotas = container_of(kobj, in bytes_show()
871 struct damon_sysfs_quotas *quotas = container_of(kobj, in bytes_store()
[all …]
/linux-6.3-rc2/security/tomoyo/
A Dgc.c159 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()
217 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
226 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
234 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
[all …]
A 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-6.3-rc2/drivers/gpu/drm/arm/display/komeda/
A 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 …]
A 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-6.3-rc2/drivers/clk/
A 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-6.3-rc2/drivers/misc/
A 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()
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()
110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend()
111 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend()
121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume()
140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show()
[all …]
/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-space-map-disk.c37 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy()
44 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend()
51 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks()
60 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free()
70 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_count()
95 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_set_count()
108 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_inc_blocks()
121 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_dec_blocks()
134 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_new_block()
161 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_commit()
[all …]
A Ddm-space-map-metadata.c278 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_destroy()
285 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_blocks()
294 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_free()
307 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_count()
347 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_count_is_more_than_one()
399 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_set_count()
417 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_inc_blocks()
436 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_dec_blocks()
453 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block_()
489 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block()
[all …]
/linux-6.3-rc2/kernel/trace/
A Drethook.c28 rhn = container_of(node, struct rethook_node, llist); in rethook_flush_task()
38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu()
45 rhn = container_of(node, struct rethook_node, freelist); in rethook_free_rcu()
116 struct rethook_node *node = container_of(head, struct rethook_node, rcu); in free_rethook_node_rcu()
172 return container_of(fn, struct rethook_node, freelist); in rethook_try_get()
209 rh = container_of(node, struct rethook_node, llist); in __rethook_find_ret_addr()
252 rhn = container_of(*cur, struct rethook_node, llist); in rethook_find_ret_addr()
299 rhn = container_of(first, struct rethook_node, llist); in rethook_trampoline_handler()
320 rhn = container_of(first, struct rethook_node, llist); in rethook_trampoline_handler()
/linux-6.3-rc2/drivers/infiniband/core/
A Drestrack.c131 return container_of(res, struct ib_pd, res)->device; in res_to_dev()
133 return container_of(res, struct ib_cq, res)->device; in res_to_dev()
135 return container_of(res, struct ib_qp, res)->device; in res_to_dev()
137 return container_of(res, struct rdma_id_private, in res_to_dev()
140 return container_of(res, struct ib_mr, res)->device; in res_to_dev()
142 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev()
144 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
146 return container_of(res, struct ib_srq, res)->device; in res_to_dev()
239 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add()
254 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
[all …]
/linux-6.3-rc2/drivers/infiniband/ulp/rtrs/
A Drtrs-clt-sysfs.c23 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); in rtrs_clt_path_release()
37 stats = container_of(kobj, struct rtrs_clt_stats, kobj_stats); in rtrs_clt_path_stats_release()
97 clt = container_of(dev, struct rtrs_clt_sess, dev); in mpath_policy_show()
124 clt = container_of(dev, struct rtrs_clt_sess, dev); in mpath_policy_store()
178 clt = container_of(dev, struct rtrs_clt_sess, dev); in add_path_store()
203 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); in rtrs_clt_state_show()
226 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); in rtrs_clt_reconnect_store()
255 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); in rtrs_clt_disconnect_store()
283 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); in rtrs_clt_remove_path_store()
339 clt_path = container_of(kobj, typeof(*clt_path), kobj); in rtrs_clt_hca_port_show()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
A Dtu102.c29 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_reset()
37 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_allow()
45 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_block()
53 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_rearm()
61 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_unarm()
69 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_pending()
/linux-6.3-rc2/drivers/infiniband/hw/usnic/
A 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-6.3-rc2/drivers/target/
A Dtarget_core_fabric_configfs.c148 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink()
269 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
377 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
471 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np()
515 return container_of(to_config_group(item), struct se_lun, in item_to_lun()
645 se_tpg = container_of(to_config_group(tpg_ci), in target_fabric_port_link()
697 struct se_lun *lun = container_of(to_config_group(item), in target_fabric_port_release()
745 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_lun()
781 struct se_lun *lun = container_of(to_config_group(item), in target_fabric_drop_lun()
959 struct se_wwn *wwn = container_of(to_config_group(item), in target_fabric_release_wwn()
[all …]
/linux-6.3-rc2/scripts/gdb/linux/
A 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-6.3-rc2/drivers/scsi/qla2xxx/
A 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()
354 struct fc_port *sess = container_of(kref, in tcm_qla2xxx_release_session()
387 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_write_pending()
432 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_get_cmd_state()
654 struct qla_tgt_cmd *cmd = container_of(se_cmd, in tcm_qla2xxx_queue_data_in()
[all …]
/linux-6.3-rc2/drivers/scsi/elx/efct/
A Defct_lio.c83 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_tpg_enable_show()
94 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_tpg_enable_store()
141 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_npiv_tpg_enable_show()
152 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_npiv_tpg_enable_store()
215 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_get_fabric_wwn()
223 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_get_npiv_fabric_wwn()
231 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_get_tag()
239 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_get_npiv_tag()
257 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_check_demo_write_protect()
266 container_of(se_tpg, struct efct_lio_tpg, tpg); in efct_lio_npiv_check_demo_write_protect()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A 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()

Completed in 2376 milliseconds

12345678910>>...204