| /linux-6.15/drivers/gpu/drm/msm/dp/ |
| H A D | dp_catalog.c | 87 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_snapshot() 165 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_read_data() 173 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_write_data() 182 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_write_trans() 192 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_clear_trans() 207 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_clear_hw_interrupts() 232 struct msm_dp_catalog_private *catalog = container_of(msm_dp_catalog, in msm_dp_catalog_aux_reset() 1203 catalog = container_of(msm_dp_catalog, in msm_dp_catalog_audio_config_acr() 1222 catalog = container_of(msm_dp_catalog, in msm_dp_catalog_audio_enable() 1248 catalog = container_of(msm_dp_catalog, in msm_dp_catalog_audio_config_sdp() [all …]
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | uvc_configfs.h | 21 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) 72 return container_of(to_config_group(item), struct uvcg_format, group); in to_uvcg_format() 85 return container_of(item, struct uvcg_streaming_header, item); in to_uvcg_streaming_header() 116 return container_of(item, struct uvcg_frame, item); in to_uvcg_frame() 130 return container_of(to_uvcg_format(item), struct uvcg_uncompressed, fmt); in to_uvcg_uncompressed() 144 return container_of(to_uvcg_format(item), struct uvcg_mjpeg, fmt); in to_uvcg_mjpeg() 158 return container_of(to_uvcg_format(item), struct uvcg_framebased, fmt); in to_uvcg_framebased() 188 return container_of(item, struct uvcg_extension, item); in to_uvcg_extension()
|
| /linux-6.15/mm/damon/ |
| H A D | sysfs-schemes.c | 45 struct damon_sysfs_scheme_region *region = container_of(kobj, in start_show() 54 struct damon_sysfs_scheme_region *region = container_of(kobj, in end_show() 217 struct damon_sysfs_stats *stats = container_of(kobj, in nr_tried_show() 226 struct damon_sysfs_stats *stats = container_of(kobj, in sz_tried_show() 235 struct damon_sysfs_stats *stats = container_of(kobj, in nr_applied_show() 244 struct damon_sysfs_stats *stats = container_of(kobj, in sz_applied_show() 253 struct damon_sysfs_stats *stats = container_of(kobj, in sz_ops_filter_passed_show() 262 struct damon_sysfs_stats *stats = container_of(kobj, in qt_exceeds_show() 1340 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_show() 1349 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_store() [all …]
|
| H A D | sysfs.c | 31 struct damon_sysfs_region *region = container_of(kobj, in start_show() 40 struct damon_sysfs_region *region = container_of(kobj, in start_store() 50 struct damon_sysfs_region *region = container_of(kobj, in end_show() 59 struct damon_sysfs_region *region = container_of(kobj, in end_store() 68 kfree(container_of(kobj, struct damon_sysfs_region, kobj)); in damon_sysfs_region_release() 158 struct damon_sysfs_regions *regions = container_of(kobj, in nr_regions_show() 248 struct damon_sysfs_target *target = container_of(kobj, in pid_target_show() 257 struct damon_sysfs_target *target = container_of(kobj, in pid_target_store() 362 struct damon_sysfs_targets *targets = container_of(kobj, in nr_targets_show() 952 struct damon_sysfs_context *context = container_of(kobj, in operations_show() [all …]
|
| /linux-6.15/drivers/phy/tegra/ |
| H A D | xusb.h | 65 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.15/drivers/gpu/drm/ |
| H A D | drm_simple_kms_helper.c | 91 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.15/tools/testing/selftests/bpf/progs/ |
| H A D | rbtree_fail.c | 25 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() 122 n = container_of(res, struct node_data, node); in rbtree_api_remove_no_drop() 217 n = container_of(res, struct node_data, node); in rbtree_api_first_release_unlock_escape() 235 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_add() 236 node_b = container_of(b, struct node_data, node); in less__bad_fn_call_add() 247 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_remove() 248 node_b = container_of(b, struct node_data, node); in less__bad_fn_call_remove() [all …]
|
| H A D | rbtree.c | 41 node_a = container_of(a, struct node_data, node); in less() 42 node_b = container_of(b, struct node_data, node); in less() 117 n = container_of(res, struct node_data, node); in rbtree_add_and_remove() 160 n = container_of(res1, struct node_data, node); in rbtree_add_and_remove_array() 165 n = container_of(res2, struct node_data, node); in rbtree_add_and_remove_array() 170 n = container_of(res3, struct node_data, node); in rbtree_add_and_remove_array() 224 o = container_of(res, struct node_data, node); in rbtree_first_and_remove() 233 o = container_of(res, struct node_data, node); in rbtree_first_and_remove() 244 o = container_of(res, struct node_data, node); in rbtree_first_and_remove() 281 o = container_of(res, struct node_data, node); in rbtree_api_release_aliasing() [all …]
|
| H A D | linked_list.c | 41 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop() 50 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop() 67 f = container_of(n, struct foo, node2); in list_push_pop() 82 f = container_of(n, struct foo, node2); in list_push_pop() 93 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop() 101 bpf_obj_drop(container_of(n, struct foo, node2)); in list_push_pop() 146 pf = container_of(n, struct foo, node2); in list_push_pop_multiple() 165 pf = container_of(n, struct foo, node2); in list_push_pop_multiple() 226 f = container_of(n, struct foo, node2); in list_in_list() 240 b = container_of(n, struct bar, node); in list_in_list() [all …]
|
| /linux-6.15/security/tomoyo/ |
| H A D | gc.c | 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() 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 …]
|
| H A 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-6.15/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_pipeline.h | 465 #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 …]
|
| H A D | komeda_kms.h | 131 #define to_kplane(p) container_of(p, struct komeda_plane, base) 132 #define to_kplane_st(p) container_of(p, struct komeda_plane_state, base) 133 #define to_kconn(p) container_of(p, struct komeda_wb_connector, base) 134 #define to_kcrtc(p) container_of(p, struct komeda_crtc, base) 135 #define to_kcrtc_st(p) container_of(p, struct komeda_crtc_state, base) 136 #define to_kdev(p) container_of(p, struct komeda_kms_dev, base) 137 #define to_wb_conn(x) container_of(x, struct drm_writeback_connector, base)
|
| /linux-6.15/include/linux/ |
| H A D | min_heap.h | 243 __min_heap_peek_inline(container_of(&(_heap)->nr, min_heap_char, nr))) 253 __min_heap_full_inline(container_of(&(_heap)->nr, min_heap_char, nr)) 319 __min_heap_sift_up_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 334 __min_heapify_all_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 356 __min_heap_pop_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 428 __min_heap_del_inline(container_of(&(_heap)->nr, min_heap_char, nr), \ 454 __min_heap_full(container_of(&(_heap)->nr, min_heap_char, nr)) 459 __min_heap_sift_up(container_of(&(_heap)->nr, min_heap_char, nr), \ 462 __min_heapify_all(container_of(&(_heap)->nr, min_heap_char, nr), \ 465 __min_heap_pop(container_of(&(_heap)->nr, min_heap_char, nr), \ [all …]
|
| /linux-6.15/drivers/clk/ |
| H A 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-6.15/drivers/md/persistent-data/ |
| H A D | dm-space-map-disk.c | 37 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 …]
|
| H A D | dm-space-map-metadata.c | 278 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.15/drivers/infiniband/core/ |
| H A D | restrack.c | 87 return container_of(res, struct ib_pd, res)->device; in res_to_dev() 89 return container_of(res, struct ib_cq, res)->device; in res_to_dev() 91 return container_of(res, struct ib_qp, res)->device; in res_to_dev() 93 return container_of(res, struct rdma_id_private, in res_to_dev() 96 return container_of(res, struct ib_mr, res)->device; in res_to_dev() 98 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev() 100 return container_of(res, struct rdma_counter, res)->device; in res_to_dev() 102 return container_of(res, struct ib_srq, res)->device; in res_to_dev() 195 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add() 213 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add() [all …]
|
| /linux-6.15/drivers/target/ |
| H A D | target_core_fabric_configfs.c | 148 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() 992 struct se_wwn *wwn = container_of(to_config_group(item), in target_fabric_release_wwn() [all …]
|
| /linux-6.15/drivers/misc/ |
| H A D | tifm_core.c | 43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); 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() 164 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() [all …]
|
| /linux-6.15/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt-sysfs.c | 23 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.15/drivers/gpu/drm/xe/compat-i915-headers/ |
| H A D | intel_runtime_pm.h | 26 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_suspended() 33 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get() 40 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_if_in_use() 47 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_noresume() 56 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_put_unchecked()
|
| /linux-6.15/drivers/infiniband/hw/usnic/ |
| H A 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-6.15/scripts/gdb/linux/ |
| H A 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-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_pmu.c | 82 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_gt() 90 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_to_hwe() 116 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_gt_forcewake() 153 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in event_param_valid() 182 struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base); in xe_pmu_event_destroy() 375 container_of(attr, struct perf_pmu_events_attr, attr); in event_attr_show() 397 pmu_attr = container_of(attr, typeof(*pmu_attr), attr.attr); \ 398 pmu = container_of(dev_get_drvdata(kobj_to_dev(kobj)), \ 442 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); in set_supported_events() 461 struct xe_device *xe = container_of(pmu, typeof(*xe), pmu); in xe_pmu_unregister() [all …]
|