Home
last modified time | relevance | path

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

/linux-6.6.21/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.h147 struct block_info *block_info; member
Dhist.c86 if (h->block_info) in hists__calc_col_len()
630 block_info__zput(entry->block_info); in hists__findnew_entry()
706 struct block_info *block_info, in __hists__add_entry() argument
742 .block_info = block_info, in __hists__add_entry()
790 struct block_info *block_info) in hists__add_entry_block() argument
793 .block_info = block_info, in hists__add_entry_block()
1337 if (he->block_info) in hist_entry__delete()
1338 block_info__zput(he->block_info); in hist_entry__delete()
Dhist.h20 struct block_info;
171 struct block_info *bi);
/linux-6.6.21/net/sched/
Dsch_ingress.c20 struct tcf_block_ext_info block_info; member
67 q->block_info.block_index = block_index; in ingress_ingress_block_set()
74 return q->block_info.block_index; in ingress_ingress_block_get()
99 q->block_info.binder_type = FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS; in ingress_init()
100 q->block_info.chain_head_change = clsact_chain_head_change; in ingress_init()
101 q->block_info.chain_head_change_priv = &q->miniqp; in ingress_init()
103 err = tcf_block_get_ext(&q->block, sch, &q->block_info, extack); in ingress_init()
121 tcf_block_put_ext(q->block, sch, &q->block_info); in ingress_destroy()
/linux-6.6.21/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-6.6.21/drivers/accel/habanalabs/common/
Dsecurity.c617 struct hl_special_block_info *block_info, in hl_automated_get_block_base_addr() argument
620 u32 fw_block_base_address = block_info->base_addr + in hl_automated_get_block_base_addr()
621 major * block_info->major_offset + in hl_automated_get_block_base_addr()
622 minor * block_info->minor_offset + in hl_automated_get_block_base_addr()
623 sub_minor * block_info->sub_minor_offset; in hl_automated_get_block_base_addr()
647 struct hl_special_block_info *block_info, in hl_check_block_range_exclusion() argument
653 block_base_addr = hl_automated_get_block_base_addr(hdev, block_info, in hl_check_block_range_exclusion()
/linux-6.6.21/fs/btrfs/tests/
Dqgroup-tests.c22 struct btrfs_tree_block_info *block_info; in insert_normal_tree_ref() local
26 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref()
53 block_info = (struct btrfs_tree_block_info *)(item + 1); in insert_normal_tree_ref()
54 btrfs_set_tree_block_level(leaf, block_info, 0); in insert_normal_tree_ref()
55 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref()
/linux-6.6.21/tools/perf/
Dbuiltin-diff.c638 if (pair->block_info->num && he->block_info->num) { in compute_cycles_diff()
640 pair->block_info->cycles_aggr / pair->block_info->num_aggr - in compute_cycles_diff()
641 he->block_info->cycles_aggr / he->block_info->num_aggr; in compute_cycles_diff()
649 for (int i = 0; i < pair->block_info->num; i++) { in compute_cycles_diff()
652 if (i >= he->block_info->num || i >= NUM_SPARKS) in compute_cycles_diff()
655 val = llabs(pair->block_info->cycles_spark[i] - in compute_cycles_diff()
656 he->block_info->cycles_spark[i]); in compute_cycles_diff()
1358 struct block_info *bi; in cycles_printf()
1373 bi = block_he->block_info; in cycles_printf()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c1130 struct ta_ras_trigger_error_input block_info = { in amdgpu_ras_error_inject() local
1158 block_info.address = in amdgpu_ras_error_inject()
1160 block_info.address); in amdgpu_ras_error_inject()
1167 ret = block_obj->hw_ops->ras_error_inject(adev, &block_info, in amdgpu_ras_error_inject()
1171 ret = psp_ras_trigger_error(&adev->psp, &block_info, info->instance_mask); in amdgpu_ras_error_inject()
Damdgpu_xgmi.c1068 struct ta_ras_trigger_error_input *block_info = in amdgpu_ras_error_inject_xgmi() local
1077 ret = psp_ras_trigger_error(&adev->psp, block_info, instance_mask); in amdgpu_ras_error_inject_xgmi()
Dgfx_v9_0.c6424 struct ta_ras_trigger_error_input block_info = { 0 }; in gfx_v9_0_ras_error_inject() local
6451 block_info.block_id = amdgpu_ras_block_to_ta(info->head.block); in gfx_v9_0_ras_error_inject()
6452 block_info.sub_block_index = in gfx_v9_0_ras_error_inject()
6454 block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type); in gfx_v9_0_ras_error_inject()
6455 block_info.address = info->address; in gfx_v9_0_ras_error_inject()
6456 block_info.value = info->value; in gfx_v9_0_ras_error_inject()
6459 ret = psp_ras_trigger_error(&adev->psp, &block_info, instance_mask); in gfx_v9_0_ras_error_inject()
/linux-6.6.21/fs/btrfs/
Dextent-tree.c4706 struct btrfs_tree_block_info *block_info; in alloc_reserved_tree_block() local
4724 size += sizeof(*block_info); in alloc_reserved_tree_block()
4750 block_info = (struct btrfs_tree_block_info *)(extent_item + 1); in alloc_reserved_tree_block()
4751 btrfs_set_tree_block_key(leaf, block_info, &extent_op->key); in alloc_reserved_tree_block()
4752 btrfs_set_tree_block_level(leaf, block_info, ref->level); in alloc_reserved_tree_block()
4753 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in alloc_reserved_tree_block()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_def.h5191 uint32_t block_info; member
5198 uint32_t block_info; member