Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.h143 struct block_info *block_info; member
Dhist.c85 if (h->block_info) in hists__calc_col_len()
620 block_info__zput(entry->block_info); in hists__findnew_entry()
693 struct block_info *block_info, in __hists__add_entry() argument
728 .block_info = block_info, in __hists__add_entry()
770 struct block_info *block_info) in hists__add_entry_block() argument
773 .block_info = block_info, in hists__add_entry_block()
1307 if (he->block_info) in hist_entry__delete()
1308 block_info__zput(he->block_info); in hist_entry__delete()
Dhist.h19 struct block_info;
157 struct block_info *bi);
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
52 block_info = (struct btrfs_tree_block_info *)(item + 1); in insert_normal_tree_ref()
53 btrfs_set_tree_block_level(leaf, block_info, 0); in insert_normal_tree_ref()
54 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref()
/kernel/linux/linux-5.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()
1355 struct block_info *bi; in cycles_printf()
1370 bi = block_he->block_info; in cycles_printf()
/kernel/linux/linux-5.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()
Damdgpu_ras.c829 struct ta_ras_trigger_error_input *block_info) in amdgpu_ras_error_inject_xgmi() argument
839 ret = psp_ras_trigger_error(&adev->psp, block_info); in amdgpu_ras_error_inject_xgmi()
858 struct ta_ras_trigger_error_input block_info = { in amdgpu_ras_error_inject() local
872 block_info.address = in amdgpu_ras_error_inject()
874 block_info.address); in amdgpu_ras_error_inject()
887 ret = psp_ras_trigger_error(&adev->psp, &block_info); in amdgpu_ras_error_inject()
890 ret = amdgpu_ras_error_inject_xgmi(adev, &block_info); in amdgpu_ras_error_inject()
Dgfx_v9_0.c6348 struct ta_ras_trigger_error_input block_info = { 0 }; in gfx_v9_0_ras_error_inject() local
6375 block_info.block_id = amdgpu_ras_block_to_ta(info->head.block); in gfx_v9_0_ras_error_inject()
6376 block_info.sub_block_index = in gfx_v9_0_ras_error_inject()
6378 block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type); in gfx_v9_0_ras_error_inject()
6379 block_info.address = info->address; in gfx_v9_0_ras_error_inject()
6380 block_info.value = info->value; in gfx_v9_0_ras_error_inject()
6383 ret = psp_ras_trigger_error(&adev->psp, &block_info); in gfx_v9_0_ras_error_inject()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent-tree.c4425 struct btrfs_tree_block_info *block_info; in alloc_reserved_tree_block() local
4445 size += sizeof(*block_info); in alloc_reserved_tree_block()
4472 block_info = (struct btrfs_tree_block_info *)(extent_item + 1); in alloc_reserved_tree_block()
4473 btrfs_set_tree_block_key(leaf, block_info, &extent_op->key); in alloc_reserved_tree_block()
4474 btrfs_set_tree_block_level(leaf, block_info, ref->level); in alloc_reserved_tree_block()
4475 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in alloc_reserved_tree_block()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_def.h4920 uint32_t block_info; member
4927 uint32_t block_info; member