| /linux/tools/perf/tests/ |
| H A D | hists_output.c | 96 struct hist_entry *he; in del_hist_entries() 111 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 113 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries() 114 hist_entry__delete(he); in del_hist_entries() 130 #define COMM(he) (thread__comm_str(he->thread)) 131 #define DSO(he) (dso__short_name(map__dso(he->ms.map))) argument 132 #define SYM(he) (he argument 97 struct hist_entry *he; del_hist_entries() local 133 SYM(he) global() argument 134 CPU(he) global() argument 135 PID(he) global() argument 142 struct hist_entry *he; test1() local 244 struct hist_entry *he; test2() local 300 struct hist_entry *he; test3() local 374 struct hist_entry *he; test4() local 476 struct hist_entry *he; test5() local [all...] |
| H A D | hists_common.c | 177 struct hist_entry *he; in print_hists_in() local 179 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in() 181 if (!he->filtered) { in print_hists_in() 182 struct dso *dso = map__dso(he->ms.map); in print_hists_in() 185 i, thread__comm_str(he->thread), in print_hists_in() 187 he->ms.sym->name, he->stat.period); in print_hists_in() 206 struct hist_entry *he; in print_hists_out() local 208 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out() 210 if (!he in print_hists_out() [all...] |
| H A D | hists_link.c | 70 struct hist_entry *he; in add_hist_entries() local 92 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 94 if (he == NULL) { in add_hist_entries() 112 he = hists__add_entry(hists, &al, NULL, in add_hist_entries() 114 if (he == NULL) { in add_hist_entries() 176 struct hist_entry *he; in __validate_match() local 178 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match() 180 if (hist_entry__has_pairs(he)) { in __validate_match() 183 he->thread, he in __validate_match() 228 struct hist_entry *he; __validate_link() local [all...] |
| H A D | hists_cumulate.c | 131 struct hist_entry *he; in del_hist_entries() 146 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 148 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries() 149 hist_entry__delete(he); in del_hist_entries() 165 #define COMM(he) (thread__comm_str(he->thread)) 166 #define DSO(he) (dso__short_name(map__dso(he->ms.map))) argument 167 #define SYM(he) (he argument 132 struct hist_entry *he; del_hist_entries() local 168 SYM(he) global() argument 169 CPU(he) global() argument 170 DEPTH(he) global() argument 195 struct hist_entry *he; do_test() local [all...] |
| /linux/tools/perf/util/ |
| H A D | hist.c | 39 struct hist_entry *he); 41 struct hist_entry *he); 43 struct hist_entry *he); 45 struct hist_entry *he); 47 struct hist_entry *he); 342 static int hists__update_mem_stat(struct hists *hists, struct hist_entry *he, in hists__update_mem_stat() 348 if (he->mem_stat == NULL) { in hists__update_mem_stat() 349 he->mem_stat = calloc(hists->nr_mem_stats, sizeof(*he->mem_stat)); in hists__update_mem_stat() 350 if (he in hists__update_mem_stat() 339 hists__update_mem_stat(struct hists * hists,struct hist_entry * he,struct mem_info * mi,u64 period) hists__update_mem_stat() argument 391 hists__decay_mem_stat(struct hists * hists,struct hist_entry * he) hists__decay_mem_stat() argument 404 hists__decay_entry(struct hists * hists,struct hist_entry * he) hists__decay_entry() argument 445 hists__delete_entry(struct hists * hists,struct hist_entry * he) hists__delete_entry() argument 522 hist_entry__init(struct hist_entry * he,struct hist_entry * template,bool sample_self,size_t callchain_size) hist_entry__init() argument 639 struct hist_entry *he; hist_entry__new() local 666 hist_entry__add_callchain_period(struct hist_entry * he,u64 period,u64 latency) hist_entry__add_callchain_period() argument 686 struct hist_entry *he; hists__findnew_entry() local 775 hists__res_sample(struct hist_entry * he,struct perf_sample * sample) hists__res_sample() argument 849 }, *he = hists__findnew_entry(hists, &entry, al, sample_self); __hists__add_entry() local 897 }, *he = hists__findnew_entry(hists, &entry, al, false); hists__add_entry_block() local 937 struct hist_entry *he; iter_add_single_mem_entry() local 970 struct hist_entry *he = iter->he; iter_finish_mem_entry() local 1039 struct hist_entry *he = NULL; iter_add_next_branch_entry() local 1105 struct hist_entry *he; iter_add_single_normal_entry() local 1120 struct hist_entry *he = iter->he; iter_finish_normal_entry() local 1169 struct hist_entry *he; iter_add_single_cumulative_entry() local 1227 struct hist_entry *he; iter_add_next_cumulative_entry() local 1450 hist_entry__delete(struct hist_entry * he) hist_entry__delete() argument 1503 hist_entry__snprintf_alignment(struct hist_entry * he,struct perf_hpp * hpp,struct perf_hpp_fmt * fmt,int printed) hist_entry__snprintf_alignment() argument 1532 hist_entry__check_and_remove_filter(struct hist_entry * he,enum hist_filter type,fmt_chk_fn check) hist_entry__check_and_remove_filter() argument 1606 hist_entry__apply_hierarchy_filters(struct hist_entry * he) hist_entry__apply_hierarchy_filters() argument 1625 hierarchy_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he,struct hist_entry * parent_he,struct perf_hpp_list * hpp_list) hierarchy_insert_entry() argument 1696 hists__hierarchy_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he) hists__hierarchy_insert_entry() argument 1748 hists__collapse_insert_entry(struct hists * hists,struct rb_root_cached * root,struct hist_entry * he) hists__collapse_insert_entry() argument 1817 hists__apply_filters(struct hists * hists,struct hist_entry * he) hists__apply_filters() argument 1903 struct hist_entry *he; hierarchy_recalc_total_periods() local 1931 hierarchy_insert_output_entry(struct rb_root_cached * root,struct hist_entry * he) hierarchy_insert_output_entry() argument 1969 struct hist_entry *he; hists__hierarchy_output_resort() local 2016 __hists__insert_output_entry(struct rb_root_cached * entries,struct hist_entry * he,u64 min_callchain_hits,bool use_callchain) __hists__insert_output_entry() argument 2147 can_goto_child(struct hist_entry * he,enum hierarchy_move_dir hmd) can_goto_child() argument 2160 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); rb_hierarchy_last() local 2171 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); __rb_hierarchy_next() local 2190 struct hist_entry *he = rb_entry(node, struct hist_entry, rb_node); rb_hierarchy_prev() local 2203 hist_entry__has_hierarchy_children(struct hist_entry * he,float limit) hist_entry__has_hierarchy_children() argument 2271 hists__filter_entry_by_dso(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_dso() argument 2283 hists__filter_entry_by_thread(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_thread() argument 2295 hists__filter_entry_by_symbol(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_symbol() argument 2308 hists__filter_entry_by_socket(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_socket() argument 2320 hists__filter_entry_by_parallelism(struct hists * hists,struct hist_entry * he) hists__filter_entry_by_parallelism() argument 2351 resort_filtered_entry(struct rb_root_cached * root,struct hist_entry * he) resort_filtered_entry() argument 2547 struct hist_entry *he; hists__add_dummy_entry() local 2596 struct hist_entry *he; add_dummy_hierarchy_entry() local 2632 hists__find_entry(struct hists * hists,struct hist_entry * he) hists__find_entry() argument 2657 hists__find_hierarchy_entry(struct rb_root_cached * root,struct hist_entry * he) hists__find_hierarchy_entry() argument 3029 struct hist_entry *he; hists__delete_remaining_entries() local [all...] |
| H A D | sort.c | 123 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() 126 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_filter() argument 129 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_filter() 133 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter() 140 return th && !RC_CHK_EQUAL(he->thread, th); 159 static int hist_entry__tgid_snprintf(struct hist_entry *he, char *bf, in hist_entry__tgid_snprintf() 162 int tgid = thread__pid(he->thread); in hist_entry__tgid_snprintf() 166 if (thread__pid(he->thread) == thread__tid(he->thread)) { in hist_entry__tgid_snprintf() 167 comm = thread__comm_str(he in hist_entry__tgid_snprintf() 116 hist_entry__thread_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__thread_snprintf() argument 152 hist_entry__tgid_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__tgid_snprintf() argument 202 hist_entry__simd_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__simd_snprintf() argument 252 hist_entry__comm_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__comm_snprintf() argument 308 hist_entry__dso_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_snprintf() argument 314 hist_entry__dso_filter(struct hist_entry * he,int type,const void * arg) hist_entry__dso_filter() argument 435 hist_entry__sym_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_snprintf() argument 441 hist_entry__sym_filter(struct hist_entry * he,int type,const void * arg) hist_entry__sym_filter() argument 487 hist_entry__symoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__symoff_snprintf() argument 508 hist_entry__srcline(struct hist_entry * he) hist_entry__srcline() argument 543 sort__srcline_init(struct hist_entry * he) sort__srcline_init() argument 549 hist_entry__srcline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_snprintf() argument 596 sort__srcline_from_init(struct hist_entry * he) sort__srcline_from_init() argument 602 hist_entry__srcline_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_from_snprintf() argument 644 sort__srcline_to_init(struct hist_entry * he) sort__srcline_to_init() argument 650 hist_entry__srcline_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_to_snprintf() argument 666 hist_entry__sym_ipc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_ipc_snprintf() argument 727 hist_entry__callchain_branch_predicted_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_predicted_snprintf() argument 759 hist_entry__callchain_branch_abort_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_abort_snprintf() argument 789 hist_entry__callchain_branch_cycles_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_cycles_snprintf() argument 861 sort__srcfile_init(struct hist_entry * he) sort__srcfile_init() argument 867 hist_entry__srcfile_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcfile_snprintf() argument 897 hist_entry__parent_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__parent_snprintf() argument 919 hist_entry__cpu_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cpu_snprintf() argument 940 hist_entry__parallelism_filter(struct hist_entry * he,int type,const void * arg) hist_entry__parallelism_filter() argument 950 hist_entry__parallelism_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__parallelism_snprintf() argument 989 hist_entry__cgroup_id_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__cgroup_id_snprintf() argument 1012 hist_entry__cgroup_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__cgroup_snprintf() argument 1045 hist_entry__socket_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__socket_snprintf() argument 1051 hist_entry__socket_filter(struct hist_entry * he,int type,const void * arg) hist_entry__socket_filter() argument 1077 hist_entry__time_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__time_snprintf() argument 1102 get_trace_output(struct hist_entry * he) get_trace_output() argument 1147 hist_entry__trace_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__trace_snprintf() argument 1181 hist_entry__dso_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_from_snprintf() argument 1191 hist_entry__dso_from_filter(struct hist_entry * he,int type,const void * arg) hist_entry__dso_from_filter() argument 1213 hist_entry__dso_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_to_snprintf() argument 1223 hist_entry__dso_to_filter(struct hist_entry * he,int type,const void * arg) hist_entry__dso_to_filter() argument 1269 hist_entry__sym_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_from_snprintf() argument 1282 hist_entry__sym_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_to_snprintf() argument 1295 hist_entry__sym_from_filter(struct hist_entry * he,int type,const void * arg) hist_entry__sym_from_filter() argument 1307 hist_entry__sym_to_filter(struct hist_entry * he,int type,const void * arg) hist_entry__sym_to_filter() argument 1382 hist_entry__addr_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_from_snprintf() argument 1395 hist_entry__addr_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_to_snprintf() argument 1486 hist_entry__mispredict_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__mispredict_snprintf() argument 1510 hist_entry__cycles_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cycles_snprintf() argument 1542 hist_entry__daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__daddr_snprintf() argument 1568 hist_entry__iaddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__iaddr_snprintf() argument 1595 hist_entry__dso_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_daddr_snprintf() argument 1625 hist_entry__locked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__locked_snprintf() argument 1653 hist_entry__tlb_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__tlb_snprintf() argument 1681 hist_entry__lvl_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__lvl_snprintf() argument 1709 hist_entry__snoop_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__snoop_snprintf() argument 1783 hist_entry__dcacheline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dcacheline_snprintf() argument 1824 hist_entry__local_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__local_weight_snprintf() argument 1837 hist_entry__global_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_weight_snprintf() argument 1857 hist_entry__local_ins_lat_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__local_ins_lat_snprintf() argument 1870 hist_entry__global_ins_lat_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_ins_lat_snprintf() argument 1890 hist_entry__global_p_stage_cyc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_p_stage_cyc_snprintf() argument 1897 hist_entry__p_stage_cyc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__p_stage_cyc_snprintf() argument 1992 hist_entry__blocked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__blocked_snprintf() argument 2021 hist_entry__phys_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__phys_daddr_snprintf() argument 2062 hist_entry__data_page_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__data_page_size_snprintf() argument 2087 hist_entry__code_page_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__code_page_size_snprintf() argument 2113 hist_entry__abort_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__abort_snprintf() argument 2145 hist_entry__in_tx_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__in_tx_snprintf() argument 2208 hist_entry__transaction_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__transaction_snprintf() argument 2265 hist_entry__sym_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_size_snprintf() argument 2304 hist_entry__dso_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_size_snprintf() argument 2335 hist_entry__addr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_snprintf() argument 2369 sort__type_init(struct hist_entry * he) sort__type_init() argument 2406 hist_entry__type_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__type_snprintf() argument 2447 hist_entry__typeoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__typeoff_snprintf() argument 2510 hist_entry__typecln_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__typecln_snprintf() argument 2761 __sort__hpp_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hpp_entry() argument 2861 hse_init(struct perf_hpp_fmt * fmt,struct hist_entry * he) hse_init() argument 2930 hist_entry__filter(struct hist_entry * he,int type,const void * arg) hist_entry__filter() argument 3028 update_dynamic_len(struct hpp_dynamic_entry * hde,struct hist_entry * he) update_dynamic_len() argument 3111 __sort__hde_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hde_entry() argument 3228 __sort__hde_init(struct perf_hpp_fmt * fmt,struct hist_entry * he) __sort__hde_init() argument [all...] |
| H A D | block-info.c | 128 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym() argument 137 if (!he->ms.map || !he->ms.sym) in block_info__process_sym() 141 al.map = he->ms.map; in block_info__process_sym() 142 al.sym = he->ms.sym; in block_info__process_sym() 144 notes = symbol__annotation(he->ms.sym); in block_info__process_sym() 148 for (unsigned int i = 0; i < symbol__size(he->ms.sym); i++) { in block_info__process_sym() 157 init_block_info(bi, he->ms.sym, &ch[i], i, in block_info__process_sym() 160 hists_to_evsel(he->hists)); in block_info__process_sym() 212 struct hist_entry *he) in block_total_cycles_pct_entry() argument 255 block_cycles_lbr_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_cycles_lbr_entry() argument 268 block_cycles_pct_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_cycles_pct_entry() argument 285 block_avg_cycles_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_avg_cycles_entry() argument 299 block_range_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_range_entry() argument 330 block_dso_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_dso_entry() argument 359 block_branch_counter_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_branch_counter_entry() argument 445 struct hist_entry *he; process_block_report() local 524 block_info__total_cycles_percent(struct hist_entry * he) block_info__total_cycles_percent() argument [all...] |
| H A D | hist.h | 160 struct hist_entry *he; member 321 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument 323 return he->callchain_size != 0; in hist_entry__has_callchains() 326 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument 328 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 331 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument 333 if (hist_entry__has_pairs(he)) in hist_entry__next_pair() 334 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 339 struct hist_entry *he) in hist_entry__add_pair() argument 341 list_add_tail(&pair->pairs.node, &he in hist_entry__add_pair() 435 hist_entry__get_percent_limit(struct hist_entry * he) hist_entry__get_percent_limit() argument 709 struct hist_entry he; global() member [all...] |
| H A D | sort.h | 124 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size, 126 int (*se_filter)(struct hist_entry *he, int type, const void *arg); 127 void (*se_init)(struct hist_entry *he); 161 char *hist_entry__srcline(struct hist_entry *he);
|
| H A D | annotate.c | 591 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample, u64 ip) in hist_entry__inc_addr_samples() 593 return symbol__inc_addr_samples(&he->ms, ip, sample); in hist_entry__inc_addr_samples() 766 __hist_entry__get_data_type(struct hist_entry *he, const struct arch *arch, 786 struct symbol *sym = apd->he->ms.sym; in annotation_line__print() 842 data->he.period); in annotation_line__print() 845 data->he.nr_samples); in annotation_line__print() 858 data_type = __hist_entry__get_data_type(apd->he, apd->arch, in annotation_line__print() 931 data->he.period = period; in calc_percent() 932 data->he.nr_samples = hits; in calc_percent() 1216 int hist_entry__annotate_printf(struct hist_entry *he, struc argument 590 hist_entry__inc_addr_samples(struct hist_entry * he,struct perf_sample * sample,struct evsel * evsel,u64 ip) hist_entry__inc_addr_samples() argument 1393 map_symbol__annotation_dump(struct map_symbol * ms,struct evsel * evsel,struct hist_entry * he) map_symbol__annotation_dump() argument 1664 hist_entry__tty_annotate2(struct hist_entry * he,struct evsel * evsel) hist_entry__tty_annotate2() argument 1704 hist_entry__tty_annotate(struct hist_entry * he,struct evsel * evsel) hist_entry__tty_annotate() argument 2794 __hist_entry__get_data_type(struct hist_entry * he,const struct arch * arch,struct debuginfo * dbg,struct disasm_line * dl,int * type_offset) __hist_entry__get_data_type() argument 2894 hist_entry__get_data_type(struct hist_entry * he) hist_entry__get_data_type() argument [all...] |
| /linux/net/netfilter/ |
| H A D | nft_set_hash.c | 54 const struct nft_rhash_elem *he = data; in nft_rhash_obj() local 56 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 63 const struct nft_rhash_elem *he = ptr; in nft_rhash_cmp() local 65 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 67 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp() 69 if (__nft_set_elem_expired(&he->ext, x->tstamp)) in nft_rhash_cmp() 71 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 90 const struct nft_rhash_elem *he; in nft_rhash_lookup() local 98 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup() 99 if (he ! in nft_rhash_lookup() 110 struct nft_rhash_elem *he; nft_rhash_get() local 130 struct nft_rhash_elem *he, *prev; nft_rhash_update() local 175 struct nft_rhash_elem *he = nft_elem_priv_cast(elem->priv); nft_rhash_insert() local 200 struct nft_rhash_elem *he = nft_elem_priv_cast(elem_priv); nft_rhash_activate() local 209 struct nft_rhash_elem *he = nft_elem_priv_cast(elem_priv); nft_rhash_flush() local 219 struct nft_rhash_elem *he; nft_rhash_deactivate() local 241 struct nft_rhash_elem *he = nft_elem_priv_cast(elem_priv); nft_rhash_remove() local 256 struct nft_rhash_elem *he; nft_rhash_delete() local 272 struct nft_rhash_elem *he; nft_rhash_walk_ro() local 306 struct nft_rhash_elem *he, *tmp; nft_rhash_walk_update() local 414 struct nft_rhash_elem *he; nft_rhash_gc() local 545 struct nft_rhash_elem *he = ptr; nft_rhash_elem_destroy() local 606 const struct nft_hash_elem *he; nft_hash_lookup() local 626 struct nft_hash_elem *he; nft_hash_get() local 650 const struct nft_hash_elem *he; nft_hash_lookup_fast() local 686 struct nft_hash_elem *this = nft_elem_priv_cast(elem->priv), *he; nft_hash_insert() local 707 struct nft_hash_elem *he = nft_elem_priv_cast(elem_priv); nft_hash_activate() local 716 struct nft_hash_elem *he = nft_elem_priv_cast(elem_priv); nft_hash_flush() local 725 struct nft_hash_elem *this = nft_elem_priv_cast(elem->priv), *he; nft_hash_deactivate() local 746 struct nft_hash_elem *he = nft_elem_priv_cast(elem_priv); nft_hash_remove() local 755 struct nft_hash_elem *he; nft_hash_walk() local 796 struct nft_hash_elem *he; nft_hash_destroy() local [all...] |
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 89 struct hist_entry he; 172 return &c2c_he->he; in c2c_he_zalloc() 181 static void c2c_he_free(void *he) in c2c_he_free() 185 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free() 210 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists() 219 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists() 318 struct hist_entry *he, in process_sample_event() 323 hists__inc_nr_samples(evsel_hists, he in process_sample_event() local 85 struct hist_entry he; global() member 177 c2c_he_free(void * he) c2c_he_free() argument 205 he__get_c2c_hists(struct hist_entry * he,const char * sort,int nr_header_lines,struct perf_env * env) he__get_c2c_hists() argument 303 perf_c2c__evsel_hists_inc_stats(struct evsel * evsel,struct hist_entry * he,struct perf_sample * sample) perf_c2c__evsel_hists_inc_stats() argument 546 dcacheline_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_entry() argument 560 dcacheline_node_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_entry() argument 574 dcacheline_node_count(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_count() argument 584 offset_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) offset_entry() argument 613 iaddr_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) iaddr_entry() argument 634 tot_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_hitm_entry() argument 742 tot_recs_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_recs_entry() argument 780 tot_loads_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_loads_entry() argument 814 percent_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,get_percent_cb get_percent) percent_color() argument 876 percent_costly_snoop_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_entry() argument 890 percent_costly_snoop_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_color() argument 913 he_stats(struct hist_entry * he) he_stats() argument 921 total_stats(struct hist_entry * he) total_stats() argument 966 percent_rmt_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_hitm_color() argument 986 percent_lcl_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_entry() argument 997 percent_lcl_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_color() argument 1017 percent_lcl_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_entry() argument 1028 percent_lcl_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_color() argument 1048 percent_rmt_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_entry() argument 1059 percent_rmt_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_color() argument 1079 percent_stores_l1hit_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_entry() argument 1090 percent_stores_l1hit_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_color() argument 1110 percent_stores_l1miss_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_entry() argument 1121 percent_stores_l1miss_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_color() argument 1141 percent_stores_na_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_entry() argument 1152 percent_stores_na_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_color() argument 1212 node_entry(struct perf_hpp_fmt * fmt __maybe_unused,struct perf_hpp * hpp,struct hist_entry * he) node_entry() argument 1308 mean_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,double mean) mean_entry() argument 1334 cpucnt_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cpucnt_entry() argument 1348 cl_idx_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_entry() argument 1362 cl_idx_empty_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_empty_entry() argument 1939 c2c_se_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) c2c_se_entry() argument 2135 he__display(struct hist_entry * he,struct c2c_stats * stats) he__display() argument 2168 is_valid_hist_entry(struct hist_entry * he) is_valid_hist_entry() argument 2238 filter_cb(struct hist_entry * he,void * arg __maybe_unused) filter_cb() argument 2255 resort_cl_cb(struct hist_entry * he,void * arg) resort_cl_cb() argument 2370 resort_shared_cl_cb(struct hist_entry * he,void * arg __maybe_unused) resort_shared_cl_cb() argument 2389 struct hist_entry *he; hists__iterate_cb() local 2531 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); print_pareto() local 2595 struct hist_entry *he = browser->he_selection; perf_c2c__toggle_annotation() local 2636 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); c2c_browser__update_nr_entries() local 2649 struct hist_entry *he; global() member 2657 struct hist_entry *he; perf_c2c_cacheline_browser__title() local 2671 c2c_cacheline_browser__new(struct hists * hists,struct hist_entry * he) c2c_cacheline_browser__new() argument 2686 perf_c2c__browse_cacheline(struct hist_entry * he) perf_c2c__browse_cacheline() argument [all...] |
| H A D | builtin-diff.c | 271 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument 273 u64 total = hists__total_period(he->hists); in period_percent() 278 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 280 double old_percent = period_percent(he, he->stat.period); in compute_delta() 288 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 290 double old_period = he->stat.period ?: 1; in compute_ratio() 298 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff() argument 300 u64 old_period = he->stat.period; in compute_wdiff() 310 static int formula_delta(struct hist_entry *he, struc argument 327 formula_ratio(struct hist_entry * he,struct hist_entry * pair,char * buf,size_t size) formula_ratio() argument 336 formula_wdiff(struct hist_entry * he,struct hist_entry * pair,char * buf,size_t size) formula_wdiff() argument 347 formula_fprintf(struct hist_entry * he,struct hist_entry * pair,char * buf,size_t size) formula_fprintf() argument 376 block_hist_free(void * he) block_hist_free() argument 505 get_pair_data(struct hist_entry * he,struct data__file * d) get_pair_data() argument 519 get_pair_fmt(struct hist_entry * he,struct diff_hpp_fmt * dfmt) get_pair_fmt() argument 538 struct hist_entry *he = rb_entry(next, struct hist_entry, rb_node_in); hists__baseline_only() local 583 get_block_pair(struct hist_entry * he,struct hists * hists_pair) get_block_pair() argument 619 compute_cycles_diff(struct hist_entry * he,struct hist_entry * pair) compute_cycles_diff() argument 657 struct hist_entry *he = rb_entry(next, struct hist_entry, block_hists_match() local 683 struct hist_entry *he, *pair; hists__precompute() local 1301 baseline_percent(struct hist_entry * he) baseline_percent() argument 1309 hpp__color_baseline(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_baseline() argument 1325 hpp__entry_baseline(struct hist_entry * he,char * buf,size_t size) hpp__entry_baseline() argument 1337 cycles_printf(struct hist_entry * he,struct hist_entry * pair,struct perf_hpp * hpp,int width) cycles_printf() argument 1382 __hpp__color_compare(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,int comparison_method) __hpp__color_compare() argument 1451 hpp__color_delta(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_delta() argument 1457 hpp__color_ratio(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_ratio() argument 1463 hpp__color_wdiff(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_wdiff() argument 1469 hpp__color_cycles(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles() argument 1502 hpp__color_cycles_hist(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles_hist() argument 1559 hpp__entry_unpair(struct hist_entry * he,int idx,char * buf,size_t size) hpp__entry_unpair() argument 1572 hpp__entry_pair(struct hist_entry * he,struct hist_entry * pair,int idx,char * buf,size_t size) hpp__entry_pair() argument 1636 __hpp__entry_global(struct hist_entry * he,struct diff_hpp_fmt * dfmt,char * buf,size_t size) __hpp__entry_global() argument 1654 hpp__entry_global(struct perf_hpp_fmt * _fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__entry_global() argument [all...] |
| H A D | builtin-kvm.c | 97 struct hist_entry *he); 120 struct hist_entry *he) in ev_name_entry() 122 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry() 124 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name); in ev_name_entry() 144 event_left = container_of(left, struct kvm_event, he); \ 145 event_right = container_of(right, struct kvm_event, he); \ 161 struct hist_entry *he) \ 164 int width = fmt_width(fmt, hpp, he->hists); \ 167 event = container_of(he, struct kvm_event, he); \ 119 ev_name_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_name_entry() argument 210 ev_entry_mean(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_mean() argument 292 ev_entry_count_precent(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_count_precent() argument 523 struct hist_entry *he = rb_entry(nd, struct hist_entry, kvm_browser__update_nr_entries() local 653 struct hist_entry *he; clear_events_cache_stats() local 708 kvm_he_free(void * he) kvm_he_free() argument 726 struct hist_entry *he; find_create_kvm_event() local 992 filter_cb(struct hist_entry * he,void * arg __maybe_unused) filter_cb() argument 1079 struct hist_entry *he; print_result() local [all...] |
| H A D | builtin-annotate.c | 176 struct hist_entry *he = iter->he; in hist_iter__branch_callback() 181 bi = he->branch_info; in hist_iter__branch_callback() 240 struct hist_entry *he; in evsel__add_sample() 271 he = hists__add_entry(hists, al, NULL, NULL, NULL, NULL, sample, true); in evsel__add_sample() 272 if (he == NULL) in evsel__add_sample() 275 ret = hist_entry__inc_addr_samples(he, sample, al->addr); in evsel__add_sample() 313 static int hist_entry__stdio_annotate(struct hist_entry *he, in process_sample_event() 318 return hist_entry__tty_annotate2(he, evsel); in process_feature_event() 320 return hist_entry__tty_annotate(he, evse in process_feature_event() 177 struct hist_entry *he = iter->he; hist_iter__branch_callback() local 244 struct hist_entry *he; evsel__add_sample() local 325 hist_entry__stdio_annotate(struct hist_entry * he,struct evsel * evsel,struct perf_annotate * ann) hist_entry__stdio_annotate() argument 422 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); hists__find_annotations() local [all...] |
| /linux/Documentation/core-api/ |
| H A D | errseq.rst | 49 Let me tell you a story about a worker drone. Now, he's a good worker 50 overall, but the company is a little...management heavy. He has to 52 from out of town and he's sure to test the poor fellow too. 54 They're all handing him work to do -- so much he can't keep track of who 56 just want to know when he's finished all of the work they've handed him so 57 far and whether he made any mistakes since they last asked. 59 He might have made the mistake on work they didn't actually hand him, 60 but he can't keep track of things at that level of detail, all he can 61 remember is the most recent mistake that he made. 90 whether he made any mistakes on any of it:: [all …]
|
| /linux/tools/perf/ui/browsers/ |
| H A D | hists.c | 71 struct hist_entry *he = in hist_browser__get_folding() local 74 if (he->leaf && he->unfolded) in hist_browser__get_folding() 75 unfolded_rows += he->nr_rows; in hist_browser__get_folding() 162 static char hist_entry__folded(const struct hist_entry *he) in hist_entry__folded() argument 164 return he->has_children ? tree__folded_sign(he->unfolded) : ' '; in hist_entry__folded() 273 static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry *he, in hierarchy_count_rows() argument 280 if (he->leaf) in hierarchy_count_rows() 281 return callchain__count_rows(&he->sorted_chain); in hierarchy_count_rows() 283 if (he->has_no_entry) in hierarchy_count_rows() 286 node = rb_first_cached(&he->hroot_out); in hierarchy_count_rows() [all …]
|
| H A D | annotate-data.c | 155 struct hist_entry *he = browser->b.priv; in annotated_data_browser__collect_entries() local 156 struct annotated_data_type *adt = he->mem_type; in annotated_data_browser__collect_entries() 157 struct evsel *evsel = hists_to_evsel(he->hists); in annotated_data_browser__collect_entries() 336 struct hist_entry *he = uib->priv; in browser__show() local 337 struct annotated_data_type *adt = he->mem_type; in browser__show() 343 adt->self.type_name, he->stat.nr_events); in browser__show() 392 struct hist_entry *he = uib->priv; in browser__write() local 393 struct annotated_data_type *adt = he->mem_type; in browser__write() 394 struct evsel *leader = hists_to_evsel(he->hists); in browser__write() 570 int hist_entry__annotate_data_tui(struct hist_entry *he, struct evsel *evsel, in hist_entry__annotate_data_tui() argument [all …]
|
| /linux/tools/perf/ui/stdio/ |
| H A D | hist.c | 385 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf() argument 389 u64 parent_samples = he->stat.period; in hist_entry_callchain__fprintf() 392 parent_samples = he->stat_acc->period; in hist_entry_callchain__fprintf() 396 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 400 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 404 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 407 return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 418 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 427 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 431 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf() [all …]
|
| /linux/tools/perf/ui/gtk/ |
| H A D | hists.c | 44 static u64 he_get_##_field(struct hist_entry *he) \ 46 return he->stat._field; \ 51 struct hist_entry *he) \ 53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ 58 static u64 he_get_acc_##_field(struct hist_entry *he) \ 60 return he->stat_acc->_field; \ 65 struct hist_entry *he) \ 67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ 414 struct hist_entry *he; in perf_gtk__add_hierarchy_entries() local 425 he = rb_entry(node, struct hist_entry, rb_node); in perf_gtk__add_hierarchy_entries() [all …]
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 59 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument 64 struct hists *hists = he->hists; in __hpp__fmt() 80 values[0].val = get_field(he); in __hpp__fmt() 81 values[0].samples = he->stat.nr_events; in __hpp__fmt() 89 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt() 124 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument 131 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt() 140 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmtype); in hpp__fmt() 144 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument 153 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmtype); in hpp__fmt_acc() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-coresight-devices-ultra_smb | 4 Contact: Junhao He <hejunhao3@huawei.com> 11 Contact: Junhao He <hejunhao3@huawei.com> 17 Contact: Junhao He <hejunhao3@huawei.com> 24 Contact: Junhao He <hejunhao3@huawei.com> 30 Contact: Junhao He <hejunhao3@huawei.com>
|
| /linux/include/linux/ |
| H A D | rhashtable.h | 115 const struct rhash_head *he) in rht_obj() argument 117 return (char *)he - ht->p.head_offset; in rht_obj() 160 const struct rhash_head *he, const struct rhashtable_params params) in rht_head_hashfn() argument 162 const char *ptr = rht_obj(ht, he); in rht_head_hashfn() 624 struct rhash_head *he; in __rhashtable_lookup() 633 rht_for_each_rcu_from(he, __rht_ptr_rcu(bkt, freq), tbl, hash) { in __rhashtable_lookup() 635 params.obj_cmpfn(&arg, rht_obj(ht, he)) : in __rhashtable_lookup() 636 rhashtable_compare(&arg, rht_obj(ht, he))) in __rhashtable_lookup() 638 return he; in __rhashtable_lookup() 643 } while (he ! in __rhashtable_lookup() 622 struct rhash_head *he; __rhashtable_lookup() local 671 struct rhash_head *he = __rhashtable_lookup(ht, key, params, rhashtable_lookup() local 682 struct rhash_head *he = __rhashtable_lookup(ht, key, params, rhashtable_lookup_likely() local 734 struct rhash_head *he = __rhashtable_lookup(&hlt->ht, key, params, rhltable_lookup() local 745 struct rhash_head *he = __rhashtable_lookup(&hlt->ht, key, params, rhltable_lookup_likely() local 1053 struct rhash_head *he; __rhashtable_remove_fast_one() local 1206 struct rhash_head *he; __rhashtable_replace_fast() local [all...] |
| /linux/kernel/locking/ |
| H A D | qspinlock_paravirt.h | 203 #define for_each_hash_entry(he, offset, hash) \ argument 204 for (hash &= ~(PV_HE_PER_LINE - 1), he = &pv_lock_hash[hash], offset = 0; \ 206 offset++, he = &pv_lock_hash[(hash + offset) & ((1 << pv_lock_hash_bits) - 1)]) 211 struct pv_hash_entry *he; in pv_hash() local 214 for_each_hash_entry(he, offset, hash) { in pv_hash() 217 if (try_cmpxchg(&he->lock, &old, lock)) { in pv_hash() 218 WRITE_ONCE(he->node, node); in pv_hash() 220 return &he->lock; in pv_hash() 239 struct pv_hash_entry *he; in pv_unhash() local 242 for_each_hash_entry(he, offset, hash) { in pv_unhash() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac_mac.c | 782 struct ieee80211_radiotap_he *he, in mt76_connac2_mac_decode_he_radiotap_ru() 823 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac2_mac_decode_he_mu_radiotap() 824 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac2_mac_decode_he_mu_radiotap() 899 struct ieee80211_radiotap_he *he; in mt76_connac2_mac_decode_he_radiotap() 903 he = skb_push(skb, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap() 904 memcpy(he, &known, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap() 906 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt76_connac2_mac_decode_he_radiotap() 908 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt76_connac2_mac_decode_he_radiotap() 909 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt76_connac2_mac_decode_he_radiotap() 913 he in mt76_connac2_mac_decode_he_radiotap() 773 mt76_connac2_mac_decode_he_radiotap_ru(struct mt76_rx_status * status,struct ieee80211_radiotap_he * he,__le32 * rxv) mt76_connac2_mac_decode_he_radiotap_ru() argument 890 struct ieee80211_radiotap_he *he; mt76_connac2_mac_decode_he_radiotap() local [all...] |