Home
last modified time | relevance | path

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

12345

/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()
98 bpf_obj_drop(container_of(res_n, struct node_data, node)); in rbtree_api_remove_unadded_node()
123 n = container_of(res, struct node_data, node); in rbtree_api_remove_no_drop()
218 n = container_of(res, struct node_data, node); in rbtree_api_first_release_unlock_escape()
236 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_add()
237 node_b = container_of(b, struct node_data, node); in less__bad_fn_call_add()
248 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_remove()
249 node_b = container_of(b, struct node_data, node); in less__bad_fn_call_remove()
260 node_a = container_of(a, struct node_data, node); in less__bad_fn_call_first_unlock_after()
[all …]
A Drbtree.c41 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 …]
A Dlinked_list.c41 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 …]
A Drbtree_btf_fail__add_wrong_type.c27 node_a = container_of(a, struct node_data2, node); in less2()
28 node_b = container_of(b, struct node_data2, node); in less2()
A Drefcounted_kptr.c56 a = container_of(node_a, struct node_data, r); in less()
57 b = container_of(node_b, struct node_data, r); in less()
67 node_a = container_of(a, struct node_acquire, node); in less_a()
68 node_b = container_of(b, struct node_acquire, node); in less_a()
156 n = container_of(rb, struct node_data, r); in __read_from_tree()
168 n = container_of(rb, struct node_data, r); in __read_from_tree()
189 n = container_of(l, struct node_data, l); in __read_from_list()
497 bpf_obj_drop(container_of(res, struct node_data, r)); in rbtree_wrong_owner_remove_fail_a2()
527 m = container_of(rb, struct node_data, r); in BPF_PROG()
561 m = container_of(rb, struct node_data, r); in BPF_PROG()
A Dbpf_qdisc_fq.c149 skbn_a = container_of(a, struct skb_node, node); in skbn_tstamp_less()
150 skbn_b = container_of(b, struct skb_node, node); in skbn_tstamp_less()
160 flow_a = container_of(a, struct fq_flow_node, rb_node); in fn_time_next_packet_less()
161 flow_b = container_of(b, struct fq_flow_node, rb_node); in fn_time_next_packet_less()
406 flow = container_of(node, struct fq_flow_node, rb_node); in fq_unset_throttled_flows()
420 flow = container_of(node, struct fq_flow_node, rb_node); in fq_unset_throttled_flows()
490 flow = container_of(node, struct fq_flow_node, list_node); in fq_dequeue_nonprio_flows()
511 skbn = container_of(rb_node, struct skb_node, node); in fq_dequeue_nonprio_flows()
529 skbn = container_of(rb_node, struct skb_node, node); in fq_dequeue_nonprio_flows()
571 skbn = container_of(rb_node, struct skb_node, node); in fq_dequeue_prio()
[all …]
A Drefcounted_kptr_fail.c28 node_a = container_of(a, struct node_acquire, node); in less()
29 node_b = container_of(b, struct node_acquire, node); in less()
A Dbpf_qdisc_fifo.c64 skbn = container_of(node, struct skb_node, node); in BPF_PROG()
103 skbn = container_of(node, struct skb_node, node); in BPF_PROG()
/tools/include/linux/
A Dcontainer_of.h5 #ifndef container_of
13 #define container_of(ptr, type, member) ({ \ macro
/tools/perf/util/
A Dstrlist.c19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); in strlist__node_new()
49 struct strlist *slist = container_of(rblist, struct strlist, rblist); in strlist__node_delete()
50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete()
58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_cmp()
106 snode = container_of(rb_node, struct str_node, rb_node); in strlist__find()
205 snode = container_of(rb_node, struct str_node, rb_node); in strlist__entry()
A Dintlist.c37 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_delete()
45 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_cmp()
80 node = container_of(rb_node, struct int_node, rb_node); in __intlist__findnew()
147 node = container_of(rb_node, struct int_node, rb_node); in intlist__entry()
A Dblock-info.c184 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_header()
194 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_width()
214 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_entry()
228 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_sort()
257 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_cycles_lbr_entry()
270 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_cycles_pct_entry()
287 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_avg_cycles_entry()
301 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_range_entry()
332 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_dso_entry()
361 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_branch_counter_entry()
A Dhisi-ptt.c91 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, in hisi_ptt_process_auxtrace_event()
137 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, in hisi_ptt_free()
147 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, auxtrace); in hisi_ptt_evsel_is_auxtrace()
A Dprint-events.c313 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp()
338 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
355 return container_of(nd, struct mep, nd); in mep_lookup()
360 return container_of(nd, struct mep, nd); in mep_lookup()
413 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print()
A Ddrm_pmu.c254 struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__exit()
261 struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__have_event()
275 struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__for_each_event()
304 const struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__num_events()
351 struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__config_terms()
365 struct drm_pmu *drm = container_of(pmu, struct drm_pmu, pmu); in drm_pmu__check_alias()
662 struct drm_pmu *drm = container_of(evsel->pmu, struct drm_pmu, pmu); in evsel__drm_pmu_read()
/tools/testing/selftests/ublk/
A Dutils.h17 #ifndef container_of
18 #define container_of(ptr, type, member) ({ \ macro
/tools/perf/arch/x86/util/
A Dintel-bts.c68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill()
110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options()
256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options()
316 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_free()
325 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_start()
338 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_finish()
370 container_of(itr, struct intel_bts_recording, itr); in intel_bts_find_snapshot()
/tools/perf/
A Dbuiltin-c2c.c178 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free()
211 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists()
331 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
365 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event()
452 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_width()
471 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_header()
529 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_entry()
543 c2c_he = container_of(he, struct c2c_hist_entry, he); in dcacheline_node_count()
604 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_hitm_entry()
712 c2c_he = container_of(he, struct c2c_hist_entry, he); in tot_recs_entry()
[all …]
A Dbuiltin-inject.c178 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
218 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr()
265 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_auxtrace()
332 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__drop_aux()
380 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_sample()
480 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__repipe_common_mmap()
771 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in tool__inject_build_id()
924 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__inject_buildid()
966 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_inject__sched_process_exit()
986 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_inject__sched_switch()
[all …]
A Dbuiltin-diff.c382 bh = container_of(he, struct block_hist, he); in block_hist_free()
693 bh = container_of(he, struct block_hist, he); in hists__precompute()
715 pair_bh = container_of(pair, struct block_hist, in hists__precompute()
720 bh = container_of(he, struct block_hist, he); in hists__precompute()
1314 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__color_baseline()
1388 container_of(fmt, struct diff_hpp_fmt, fmt); in __hpp__color_compare()
1398 bh = container_of(he, struct block_hist, he); in __hpp__color_compare()
1507 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__color_cycles_hist()
1659 container_of(_fmt, struct diff_hpp_fmt, fmt); in hpp__entry_global()
1677 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__header()
[all …]
/tools/perf/arch/arm64/util/
A Dhisi-ptt.c49 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill()
101 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options()
155 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free()
A Darm-spe.c100 container_of(itr, struct arm_spe_recording, itr); in arm_spe_save_cpu_header()
144 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill()
389 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options()
460 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start()
477 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_finish()
584 container_of(itr, struct arm_spe_recording, itr); in arm_spe_find_snapshot()
643 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free()
/tools/usb/usbip/libsrc/
A Dlist.h105 container_of(ptr, type, member)
133 #define container_of(ptr, type, member) ({ \ macro
/tools/perf/arch/arm/util/
A Dcs-etm.c186 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_pmu()
245 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options()
311 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options()
481 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_config()
652 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_save_etmv4_header()
684 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_save_ete_header()
785 container_of(itr, struct cs_etm_recording, itr); in cs_etm_info_fill()
834 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_start()
847 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_finish()
866 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_free()
/tools/include/nolibc/
A Dtypes.h191 #ifndef container_of
192 #define container_of(PTR, TYPE, FIELD) ({ \ macro

Completed in 50 milliseconds

12345