| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | vcn_v4_0_5.c | 461 bool indirect) in vcn_v4_0_5_mc_resume_dpg_mode() argument 473 if (!indirect) { in vcn_v4_0_5_mc_resume_dpg_mode() 477 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 481 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 483 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 486 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 488 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 490 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 496 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() 499 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v4_0_5_mc_resume_dpg_mode() [all …]
|
| H A D | vcn_v5_0_0.c | 425 bool indirect) in vcn_v5_0_0_mc_resume_dpg_mode() argument 437 if (!indirect) { in vcn_v5_0_0_mc_resume_dpg_mode() 440 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 443 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 445 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 448 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 450 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 452 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 458 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() 461 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v5_0_0_mc_resume_dpg_mode() [all …]
|
| H A D | vcn_v2_5.c | 645 bool indirect) in vcn_v2_5_mc_resume_dpg_mode() argument 654 if (!indirect) { in vcn_v2_5_mc_resume_dpg_mode() 657 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 660 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 662 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 665 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 667 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 669 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 675 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 678 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | ksysfs.c | 95 struct setup_indirect *indirect; in get_setup_data_size() local 114 indirect = (struct setup_indirect *)data->data; in get_setup_data_size() 116 if (indirect->type != SETUP_INDIRECT) in get_setup_data_size() 117 *size = indirect->len; in get_setup_data_size() 138 struct setup_indirect *indirect; in type_show() local 162 indirect = (struct setup_indirect *)data->data; in type_show() 164 ret = sprintf(buf, "0x%x\n", indirect->type); in type_show() 179 struct setup_indirect *indirect; in setup_data_data_read() local 203 indirect = (struct setup_indirect *)data->data; in setup_data_data_read() 205 if (indirect->type != SETUP_INDIRECT) { in setup_data_data_read() [all …]
|
| H A D | kdebugfs.c | 91 struct setup_indirect *indirect; in create_setup_data_nodes() local 129 indirect = (struct setup_indirect *)data->data; in create_setup_data_nodes() 131 if (indirect->type != SETUP_INDIRECT) { in create_setup_data_nodes() 132 node->paddr = indirect->addr; in create_setup_data_nodes() 133 node->type = indirect->type; in create_setup_data_nodes() 134 node->len = indirect->len; in create_setup_data_nodes()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_controlq.c | 80 desc->params.indirect.addr_high = in idpf_ctlq_init_rxq_bufs() 82 desc->params.indirect.addr_low = in idpf_ctlq_init_rxq_bufs() 84 desc->params.indirect.param0 = 0; in idpf_ctlq_init_rxq_bufs() 85 desc->params.indirect.sw_cookie = 0; in idpf_ctlq_init_rxq_bufs() 86 desc->params.indirect.v_flags = 0; in idpf_ctlq_init_rxq_bufs() 295 struct idpf_dma_mem *buff = msg->ctx.indirect.payload; in idpf_ctlq_send() 304 desc->params.indirect.addr_high = in idpf_ctlq_send() 306 desc->params.indirect.addr_low = in idpf_ctlq_send() 309 memcpy(&desc->params, msg->ctx.indirect.context, in idpf_ctlq_send() 497 desc->params.indirect.addr_high = in idpf_ctlq_post_rx_buffs() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | blockmap.rst | 16 | 13 | Double-indirect block: (file blocks ``$block_size``/4 + 12 to (``$block_siz… 21 | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect bl… 30 | 14 | Triple-indirect block: (file blocks (``$block_size`` / 4) ^ 2 + (``$block_s… 35 … | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indirect blocks (1024 if 4… 40 … | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4…
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 927 pages[i]->gref = req->u.indirect.indirect_grefs[i]; in xen_blkbk_parse_indirect() 1104 dst->u.indirect.indirect_op = src->u.indirect.indirect_op; in blkif_get_x86_32_req() 1105 dst->u.indirect.nr_segments = in blkif_get_x86_32_req() 1106 READ_ONCE(src->u.indirect.nr_segments); in blkif_get_x86_32_req() 1107 dst->u.indirect.handle = src->u.indirect.handle; in blkif_get_x86_32_req() 1108 dst->u.indirect.id = src->u.indirect.id; in blkif_get_x86_32_req() 1109 dst->u.indirect.sector_number = src->u.indirect.sector_number; in blkif_get_x86_32_req() 1111 INDIRECT_PAGES(dst->u.indirect.nr_segments)); in blkif_get_x86_32_req() 1113 dst->u.indirect.indirect_grefs[i] = in blkif_get_x86_32_req() 1114 src->u.indirect.indirect_grefs[i]; in blkif_get_x86_32_req() [all …]
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | hyp-entry.S | 216 .macro hyp_ventry indirect, spectrev2 226 .if \indirect != 0 249 .macro generate_vectors indirect, spectrev2 252 hyp_ventry \indirect, \spectrev2 259 generate_vectors indirect = 0, spectrev2 = 1 // HYP_VECTOR_SPECTRE_DIRECT 260 generate_vectors indirect = 1, spectrev2 = 0 // HYP_VECTOR_INDIRECT 261 generate_vectors indirect = 1, spectrev2 = 1 // HYP_VECTOR_SPECTRE_INDIRECT
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | spectre.rst | 62 execution of indirect branches to leak privileged memory. 93 execution of indirect branches :ref:`[3] <spec_ref3>`. The indirect 95 indirect branches can be influenced by an attacker, causing gadget code 102 In Spectre variant 2 attacks, the attacker can steer speculative indirect 104 buffer of a CPU used for predicting indirect branch addresses. Such 105 poisoning could be done by indirect branching into existing code, 106 with the address offset of the indirect branch under the attacker's 109 this could cause privileged code's indirect branch to jump to a gadget 130 steer its indirect branch speculations to gadget code, and measure the 135 Branch History Buffer (BHB) to speculatively steer an indirect branch [all …]
|
| H A D | indirect-target-selection.rst | 8 of indirect branches and RETs located in the lower half of a cacheline. 20 - **Indirect Branch Prediction Barrier (IBPB)**: After an IBPB, indirect 57 As only the indirect branches and RETs that have their last byte of instruction 59 the mitigation is to not allow indirect branches in the lower half. 63 added ITS-safe thunks. These safe thunks consists of indirect branch in the 66 indirect branch. 75 Note, for simplicity, indirect branches in eBPF programs are always replaced 82 thunks. But, RETs significantly outnumber indirect branches, and any benefit 88 Retpoline sequence also mitigates ITS-unsafe indirect branches. For this 119 indirect branches. [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_ptr_kern.c | 50 static inline int check_bpf_map_ptr(struct bpf_map *indirect, in check_bpf_map_ptr() argument 53 VERIFY(indirect->map_type == direct->map_type); in check_bpf_map_ptr() 54 VERIFY(indirect->key_size == direct->key_size); in check_bpf_map_ptr() 55 VERIFY(indirect->value_size == direct->value_size); in check_bpf_map_ptr() 56 VERIFY(indirect->max_entries == direct->max_entries); in check_bpf_map_ptr() 57 VERIFY(indirect->id == direct->id); in check_bpf_map_ptr() 62 static inline int check(struct bpf_map *indirect, struct bpf_map *direct, in check() argument 65 VERIFY(check_bpf_map_ptr(indirect, direct)); in check() 66 VERIFY(check_bpf_map_fields(indirect, key_size, value_size, in check() 71 static inline int check_default(struct bpf_map *indirect, in check_default() argument [all …]
|
| /linux/drivers/net/can/sja1000/ |
| H A D | sja1000_isa.c | 37 static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; variable 46 module_param_hw_array(indirect, int, ioport, NULL, 0444); 47 MODULE_PARM_DESC(indirect, "Indirect access via address and data port"); 139 if (indirect[idx] > 0 || in sja1000_isa_probe() 140 (indirect[idx] == -1 && indirect[0] > 0)) in sja1000_isa_probe()
|
| /linux/arch/m68k/math-emu/ |
| H A D | fp_decode.h | 196 | test if %pc is the base register for the indirect addr mode 220 | addressing mode: address register indirect 244 | addressing mode: address register indirect with postincrement 263 | addressing mode: address register indirect with predecrement 289 | addressing mode: address register/programm counter indirect 331 | all other indirect addressing modes will finally end up here 345 | addressing mode: address register/programm counter indirect 355 3: | addressing mode: address register/programm counter memory indirect
|
| H A D | fp_move.S | 135 | addressing mode: address register indirect 140 | addressing mode: address register indirect with postincrement 145 | addressing mode: address register indirect with predecrement 150 | addressing mode: address register indirect with 16bit displacement
|
| H A D | fp_scan.S | 171 | addressing mode: address register indirect 176 | addressing mode: address register indirect with postincrement 181 | addressing mode: address register indirect with predecrement 186 | addressing mode: address register/programm counter indirect 192 | all other indirect addressing modes will finally end up here
|
| /linux/drivers/net/can/cc770/ |
| H A D | cc770_isa.c | 75 static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; variable 83 module_param_hw_array(indirect, int, ioport, NULL, 0444); 84 MODULE_PARM_DESC(indirect, "Indirect access via address and data port"); 184 if (indirect[idx] > 0 || in cc770_isa_probe() 185 (indirect[idx] == -1 && indirect[0] > 0)) in cc770_isa_probe()
|
| /linux/Documentation/virt/ |
| H A D | paravirt_ops.rst | 23 - simple indirect call 25 known that the overhead of indirect call isn't very important. 27 - indirect call which allows optimization with binary patch
|
| /linux/fs/befs/ |
| H A D | datastream.c | 189 metablocks += ds->indirect.len; in befs_count_blocks() 317 befs_block_run indirect = data->indirect; in befs_find_brun_indirect() local 318 befs_blocknr_t indirblockno = iaddr2blockno(sb, &indirect); in befs_find_brun_indirect() 327 for (i = 0; i < indirect.len; i++) { in befs_find_brun_indirect()
|
| /linux/sound/core/ |
| H A D | control_compat.c | 142 unsigned int indirect; /* bit-field causes misalignment */ member 157 unsigned int indirect; /* bit-field causes misalignment */ member 217 unsigned int indirect; in copy_ctl_value_from_user() local 221 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user() 223 if (indirect) in copy_ctl_value_from_user()
|
| /linux/Documentation/filesystems/ |
| H A D | qnx6.rst | 60 Level 1 adds an additional indirect addressing level where each indirect 62 Level 2 adds an additional indirect addressing block level (so, already up 66 indirect addressing blocks or inodes. 97 For more than 16 blocks an indirect addressing in form of another tree is 183 Bitmap blocks, Inode blocks and indirect addressing blocks for those two
|
| /linux/Documentation/arch/powerpc/ |
| H A D | cpu_families.rst | 168 - e6500 adds HW loaded indirect TLB entries. 208 - Book3E, software loaded TLB + HW loaded indirect TLB entries.
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | isp.S | 907 # indirect, read indirect address using # 1002 # Address register indirect: (An) # 1037 # Address register indirect w/ postincrement: (An)+ # 1126 # Address register indirect w/ predecrement: -(An) # 1215 # Address register indirect w/ displacement: (d16, An) # 1314 # Address register indirect w/ index(8-bit displacement): (dn, An, Xn) # 1316 # Memory indirect postindexed: ([bd, An], Xn, od) # 1317 # Memory indirect preindexed: ([bd, An, Xn], od) # 1341 bra.l calc_mem_ind # calc memory indirect 1411 # Program counter indirect w/ displacement: (d16, PC) # [all …]
|
| /linux/arch/x86/mm/ |
| H A D | ioremap.c | 644 struct setup_indirect *indirect; in __memremap_is_setup_data() local 692 indirect = (struct setup_indirect *)data->data; in __memremap_is_setup_data() 694 if (indirect->type != SETUP_INDIRECT) { in __memremap_is_setup_data() 695 paddr = indirect->addr; in __memremap_is_setup_data() 696 len = indirect->len; in __memremap_is_setup_data()
|
| /linux/drivers/scsi/ibmvscsi/ |
| H A D | ibmvscsi.c | 689 struct srp_indirect_buf *indirect = in map_sg_data() local 706 indirect->table_desc.va = 0; in map_sg_data() 707 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data() 709 indirect->table_desc.key = 0; in map_sg_data() 713 &indirect->desc_list[0]); in map_sg_data() 714 indirect->len = cpu_to_be32(total_length); in map_sg_data() 735 indirect->len = cpu_to_be32(total_length); in map_sg_data() 736 indirect->table_desc.va = cpu_to_be64(evt_struct->ext_list_token); in map_sg_data() 737 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data() 738 sizeof(indirect->desc_list[0])); in map_sg_data() [all …]
|