Home
last modified time | relevance | path

Searched refs:block_info (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dblock-info.c46 struct block_info *block_info__get(struct block_info *bi) in block_info__get()
53 void block_info__put(struct block_info *bi) in block_info__put()
59 struct block_info *block_info__new(void) in block_info__new()
61 struct block_info *bi = zalloc(sizeof(*bi)); in block_info__new()
70 struct block_info *bi_l = left->block_info; in __block_info__cmp()
71 struct block_info *bi_r = right->block_info; in __block_info__cmp()
99 static void init_block_info(struct block_info *bi, struct symbol *sym, in init_block_info()
137 struct block_info *bi; in block_info__process_sym()
200 struct block_info *bi = he->block_info; in block_total_cycles_pct_entry()
214 struct block_info *bi_l = left->block_info; in block_total_cycles_pct_sort()
[all …]
Dblock-info.h12 struct block_info { struct
53 struct block_info *block_info__new(void);
54 struct block_info *block_info__get(struct block_info *bi);
55 void block_info__put(struct block_info *bi);
57 static inline void __block_info__zput(struct block_info **bi) in __block_info__zput()
Dsort.h146 struct block_info *block_info; member
Dhist.c85 if (h->block_info) in hists__calc_col_len()
627 block_info__zput(entry->block_info); in hists__findnew_entry()
700 struct block_info *block_info, in __hists__add_entry() argument
735 .block_info = block_info, in __hists__add_entry()
780 struct block_info *block_info) in hists__add_entry_block() argument
783 .block_info = block_info, in hists__add_entry_block()
1317 if (he->block_info) in hist_entry__delete()
1318 block_info__zput(he->block_info); in hist_entry__delete()
Dhist.h19 struct block_info;
166 struct block_info *bi);
/linux-5.19.10/net/sched/
Dsch_ingress.c19 struct tcf_block_ext_info block_info; member
66 q->block_info.block_index = block_index; in ingress_ingress_block_set()
73 return q->block_info.block_index; in ingress_ingress_block_get()
87 q->block_info.binder_type = FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS; in ingress_init()
88 q->block_info.chain_head_change = clsact_chain_head_change; in ingress_init()
89 q->block_info.chain_head_change_priv = &q->miniqp; in ingress_init()
91 err = tcf_block_get_ext(&q->block, sch, &q->block_info, extack); in ingress_init()
104 tcf_block_put_ext(q->block, sch, &q->block_info); in ingress_destroy()
/linux-5.19.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c94 seq_printf(sf, "BLOCK_INFO:\t\t0x%X\n", hdr.block_info); in dump_block_header()
414 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_layer_init()
417 BLOCK_INFO_INPUT_ID(blk->block_info), in d71_layer_init()
532 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_wb_layer_init()
535 layer_id, BLOCK_INFO_INPUT_ID(blk->block_info), in d71_wb_layer_init()
673 get_resources_id(blk->block_info, &pipe_id, &comp_id); in d71_compiz_init()
677 BLOCK_INFO_INPUT_ID(blk->block_info), in d71_compiz_init()
842 get_resources_id(blk->block_info, &pipe_id, &comp_id); in d71_scaler_init()
845 comp_id, BLOCK_INFO_INPUT_ID(blk->block_info), in d71_scaler_init()
849 pipe_id, BLOCK_INFO_BLK_ID(blk->block_info)); in d71_scaler_init()
[all …]
Dd71_regs.h530 u32 block_info; member
538 return BLOCK_INFO_BLK_TYPE(blk->block_info); in get_block_type()
Dd71_dev.c325 blk->block_info = malidp_read32(reg, BLK_BLOCK_INFO); in d71_read_block_header()
326 if (BLOCK_INFO_BLK_TYPE(blk->block_info) == D71_BLK_TYPE_RESERVED) in d71_read_block_header()
448 if (BLOCK_INFO_BLK_TYPE(blk.block_info) != D71_BLK_TYPE_RESERVED) { in d71_enum_resources()
/linux-5.19.10/fs/btrfs/tests/
Dqgroup-tests.c20 struct btrfs_tree_block_info *block_info; in insert_normal_tree_ref() local
24 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref()
51 block_info = (struct btrfs_tree_block_info *)(item + 1); in insert_normal_tree_ref()
52 btrfs_set_tree_block_level(leaf, block_info, 0); in insert_normal_tree_ref()
53 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref()
/linux-5.19.10/tools/perf/
Dbuiltin-diff.c636 if (pair->block_info->num && he->block_info->num) { in compute_cycles_diff()
638 pair->block_info->cycles_aggr / pair->block_info->num_aggr - in compute_cycles_diff()
639 he->block_info->cycles_aggr / he->block_info->num_aggr; in compute_cycles_diff()
647 for (int i = 0; i < pair->block_info->num; i++) { in compute_cycles_diff()
650 if (i >= he->block_info->num || i >= NUM_SPARKS) in compute_cycles_diff()
653 val = llabs(pair->block_info->cycles_spark[i] - in compute_cycles_diff()
654 he->block_info->cycles_spark[i]); in compute_cycles_diff()
1356 struct block_info *bi; in cycles_printf()
1371 bi = block_he->block_info; in cycles_printf()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4.c978 struct ta_ras_trigger_error_input block_info = { 0 }; in gfx_v9_4_ras_error_inject() local
983 block_info.block_id = amdgpu_ras_block_to_ta(info->head.block); in gfx_v9_4_ras_error_inject()
984 block_info.sub_block_index = info->head.sub_block_index; in gfx_v9_4_ras_error_inject()
985 block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type); in gfx_v9_4_ras_error_inject()
986 block_info.address = info->address; in gfx_v9_4_ras_error_inject()
987 block_info.value = info->value; in gfx_v9_4_ras_error_inject()
990 ret = psp_ras_trigger_error(&adev->psp, &block_info); in gfx_v9_4_ras_error_inject()
Dgfx_v9_4_2.c1706 struct ta_ras_trigger_error_input block_info = { 0 }; in gfx_v9_4_2_ras_error_inject() local
1711 block_info.block_id = amdgpu_ras_block_to_ta(info->head.block); in gfx_v9_4_2_ras_error_inject()
1712 block_info.sub_block_index = info->head.sub_block_index; in gfx_v9_4_2_ras_error_inject()
1713 block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type); in gfx_v9_4_2_ras_error_inject()
1714 block_info.address = info->address; in gfx_v9_4_2_ras_error_inject()
1715 block_info.value = info->value; in gfx_v9_4_2_ras_error_inject()
1718 ret = psp_ras_trigger_error(&adev->psp, &block_info); in gfx_v9_4_2_ras_error_inject()
Damdgpu_ras.c1072 struct ta_ras_trigger_error_input block_info = { in amdgpu_ras_error_inject() local
1095 block_info.address = in amdgpu_ras_error_inject()
1097 block_info.address); in amdgpu_ras_error_inject()
1106 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info); in amdgpu_ras_error_inject()
1108 ret = psp_ras_trigger_error(&adev->psp, &block_info); in amdgpu_ras_error_inject()
Damdgpu_xgmi.c918 struct ta_ras_trigger_error_input *block_info = in amdgpu_ras_error_inject_xgmi() local
927 ret = psp_ras_trigger_error(&adev->psp, block_info); in amdgpu_ras_error_inject_xgmi()
Dgfx_v9_0.c6390 struct ta_ras_trigger_error_input block_info = { 0 }; in gfx_v9_0_ras_error_inject() local
6417 block_info.block_id = amdgpu_ras_block_to_ta(info->head.block); in gfx_v9_0_ras_error_inject()
6418 block_info.sub_block_index = in gfx_v9_0_ras_error_inject()
6420 block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type); in gfx_v9_0_ras_error_inject()
6421 block_info.address = info->address; in gfx_v9_0_ras_error_inject()
6422 block_info.value = info->value; in gfx_v9_0_ras_error_inject()
6425 ret = psp_ras_trigger_error(&adev->psp, &block_info); in gfx_v9_0_ras_error_inject()
/linux-5.19.10/fs/btrfs/
Dextent-tree.c4738 struct btrfs_tree_block_info *block_info; in alloc_reserved_tree_block() local
4756 size += sizeof(*block_info); in alloc_reserved_tree_block()
4782 block_info = (struct btrfs_tree_block_info *)(extent_item + 1); in alloc_reserved_tree_block()
4783 btrfs_set_tree_block_key(leaf, block_info, &extent_op->key); in alloc_reserved_tree_block()
4784 btrfs_set_tree_block_level(leaf, block_info, ref->level); in alloc_reserved_tree_block()
4785 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in alloc_reserved_tree_block()
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_def.h5096 uint32_t block_info; member
5103 uint32_t block_info; member