• Home
  • Raw
  • Download

Lines Matching refs:bh

368 	struct block_hist *bh;  in block_hist_zalloc()  local
370 bh = zalloc(size + sizeof(*bh)); in block_hist_zalloc()
371 if (!bh) in block_hist_zalloc()
374 return &bh->he; in block_hist_zalloc()
379 struct block_hist *bh; in block_hist_free() local
381 bh = container_of(he, struct block_hist, he); in block_hist_free()
382 hists__delete_entries(&bh->block_hists); in block_hist_free()
383 free(bh); in block_hist_free()
582 static void init_block_hist(struct block_hist *bh) in init_block_hist() argument
584 __hists__init(&bh->block_hists, &bh->block_list); in init_block_hist()
585 perf_hpp_list__init(&bh->block_list); in init_block_hist()
587 INIT_LIST_HEAD(&bh->block_fmt.list); in init_block_hist()
588 INIT_LIST_HEAD(&bh->block_fmt.sort_list); in init_block_hist()
589 bh->block_fmt.cmp = block_info__cmp; in init_block_hist()
590 bh->block_fmt.sort = block_sort; in init_block_hist()
591 perf_hpp_list__register_sort_field(&bh->block_list, in init_block_hist()
592 &bh->block_fmt); in init_block_hist()
593 bh->valid = true; in init_block_hist()
695 struct block_hist *bh, *pair_bh; in hists__precompute() local
704 bh = container_of(he, struct block_hist, he); in hists__precompute()
705 init_block_hist(bh); in hists__precompute()
706 block_info__process_sym(he, bh, NULL, 0); in hists__precompute()
731 bh = container_of(he, struct block_hist, he); in hists__precompute()
733 if (bh->valid && pair_bh->valid) { in hists__precompute()
734 block_hists_match(&bh->block_hists, in hists__precompute()
1352 struct block_hist *bh = container_of(he, struct block_hist, he); in cycles_printf() local
1359 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in cycles_printf()
1406 struct block_hist *bh; in __hpp__color_compare() local
1408 bh = container_of(he, struct block_hist, he); in __hpp__color_compare()
1409 if (bh->block_idx) in __hpp__color_compare()
1519 struct block_hist *bh = container_of(he, struct block_hist, he); in hpp__color_cycles_hist() local
1527 if (bh->block_idx) in hpp__color_cycles_hist()
1535 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in hpp__color_cycles_hist()