Home
last modified time | relevance | path

Searched refs:indirect (Results 1 – 25 of 122) sorted by relevance

12345

/linux-6.1.9/drivers/block/xen-blkback/ !
Dcommon.h126 struct blkif_x86_32_request_indirect indirect; member
182 struct blkif_x86_64_request_indirect indirect; member
425 dst->u.indirect.indirect_op = src->u.indirect.indirect_op; in blkif_get_x86_32_req()
426 dst->u.indirect.nr_segments = src->u.indirect.nr_segments; in blkif_get_x86_32_req()
427 dst->u.indirect.handle = src->u.indirect.handle; in blkif_get_x86_32_req()
428 dst->u.indirect.id = src->u.indirect.id; in blkif_get_x86_32_req()
429 dst->u.indirect.sector_number = src->u.indirect.sector_number; in blkif_get_x86_32_req()
431 j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); in blkif_get_x86_32_req()
433 dst->u.indirect.indirect_grefs[i] = in blkif_get_x86_32_req()
434 src->u.indirect.indirect_grefs[i]; in blkif_get_x86_32_req()
[all …]
/linux-6.1.9/arch/x86/kernel/ !
Dksysfs.c95 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 …]
Dkdebugfs.c91 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-6.1.9/drivers/gpu/drm/amd/amdgpu/ !
Dvcn_v4_0.c408 static void vcn_v4_0_mc_resume_dpg_mode(struct amdgpu_device *adev, int inst_idx, bool indirect) in vcn_v4_0_mc_resume_dpg_mode() argument
417 if (!indirect) { in vcn_v4_0_mc_resume_dpg_mode()
420 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
423 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
425 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
428 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
430 VCN, inst_idx, regUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
432 VCN, inst_idx, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
438 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
441 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v4_0_mc_resume_dpg_mode()
[all …]
Dvcn_v2_0.c384 static void vcn_v2_0_mc_resume_dpg_mode(struct amdgpu_device *adev, bool indirect) in vcn_v2_0_mc_resume_dpg_mode() argument
391 if (!indirect) { in vcn_v2_0_mc_resume_dpg_mode()
394 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_lo), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
397 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_hi), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
399 UVD, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
402 UVD, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
404 UVD, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
406 UVD, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
412 lower_32_bits(adev->vcn.inst->gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
415 upper_32_bits(adev->vcn.inst->gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
[all …]
Dvcn_v2_5.c450 static void vcn_v2_5_mc_resume_dpg_mode(struct amdgpu_device *adev, int inst_idx, bool indirect) in vcn_v2_5_mc_resume_dpg_mode() argument
457 if (!indirect) { in vcn_v2_5_mc_resume_dpg_mode()
460 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
463 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
465 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
468 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
470 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
472 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
478 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
481 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode()
[all …]
Dvcn_v3_0.c495 static void vcn_v3_0_mc_resume_dpg_mode(struct amdgpu_device *adev, int inst_idx, bool indirect) in vcn_v3_0_mc_resume_dpg_mode() argument
502 if (!indirect) { in vcn_v3_0_mc_resume_dpg_mode()
505 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
508 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
510 VCN, inst_idx, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
513 VCN, inst_idx, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
515 VCN, inst_idx, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
517 VCN, inst_idx, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
523 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
526 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v3_0_mc_resume_dpg_mode()
[all …]
/linux-6.1.9/Documentation/filesystems/ext4/ !
Dblockmap.rst16 | 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-6.1.9/arch/arm64/kvm/hyp/ !
Dhyp-entry.S208 .macro hyp_ventry indirect, spectrev2
218 .if \indirect != 0
241 .macro generate_vectors indirect, spectrev2
244 hyp_ventry \indirect, \spectrev2
251 generate_vectors indirect = 0, spectrev2 = 1 // HYP_VECTOR_SPECTRE_DIRECT
252 generate_vectors indirect = 1, spectrev2 = 0 // HYP_VECTOR_INDIRECT
253 generate_vectors indirect = 1, spectrev2 = 1 // HYP_VECTOR_SPECTRE_INDIRECT
/linux-6.1.9/tools/testing/selftests/bpf/progs/ !
Dmap_ptr_kern.c50 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-6.1.9/Documentation/admin-guide/hw-vuln/ !
Dspectre.rst62 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 …]
/linux-6.1.9/arch/x86/mm/ !
Dioremap.c632 struct setup_indirect *indirect; in memremap_is_setup_data() local
667 indirect = (struct setup_indirect *)data->data; in memremap_is_setup_data()
669 if (indirect->type != SETUP_INDIRECT) { in memremap_is_setup_data()
670 paddr = indirect->addr; in memremap_is_setup_data()
671 len = indirect->len; in memremap_is_setup_data()
693 struct setup_indirect *indirect; in early_memremap_is_setup_data() local
729 indirect = (struct setup_indirect *)data->data; in early_memremap_is_setup_data()
731 if (indirect->type != SETUP_INDIRECT) { in early_memremap_is_setup_data()
732 paddr = indirect->addr; in early_memremap_is_setup_data()
733 len = indirect->len; in early_memremap_is_setup_data()
/linux-6.1.9/drivers/net/can/sja1000/ !
Dsja1000_isa.c37 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-6.1.9/drivers/net/can/cc770/ !
Dcc770_isa.c75 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-6.1.9/arch/m68k/math-emu/ !
Dfp_decode.h196 | 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
Dfp_move.S135 | 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
/linux-6.1.9/Documentation/virt/ !
Dparavirt_ops.rst23 - 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-6.1.9/drivers/gpu/drm/r128/ !
Dr128_state.c1518 drm_r128_indirect_t *indirect = data; in r128_cce_indirect() local
1528 indirect->idx, indirect->start, indirect->end, in r128_cce_indirect()
1529 indirect->discard); in r128_cce_indirect()
1531 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { in r128_cce_indirect()
1533 indirect->idx, dma->buf_count - 1); in r128_cce_indirect()
1537 buf = dma->buflist[indirect->idx]; in r128_cce_indirect()
1546 DRM_ERROR("sending pending buffer %d\n", indirect->idx); in r128_cce_indirect()
1550 if (indirect->start < buf->used) { in r128_cce_indirect()
1552 indirect->start, buf->used); in r128_cce_indirect()
1559 buf->used = indirect->end; in r128_cce_indirect()
[all …]
/linux-6.1.9/fs/befs/ !
Ddatastream.c189 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-6.1.9/sound/core/ !
Dcontrol_compat.c142 unsigned int indirect; /* bit-field causes misalignment */ member
157 unsigned int indirect; /* bit-field causes misalignment */ member
225 unsigned int indirect; in copy_ctl_value_from_user() local
229 if (get_user(indirect, &data32->indirect)) in copy_ctl_value_from_user()
231 if (indirect) in copy_ctl_value_from_user()
/linux-6.1.9/arch/x86/include/asm/ !
Dunwind_hints.h18 .macro UNWIND_HINT_REGS base=%rsp offset=0 indirect=0 extra=1 partial=0
20 .if \indirect
/linux-6.1.9/drivers/virtio/ !
Dvirtio_ring.c170 bool indirect; member
239 return (vq->indirect && total_sg > 1 && vq->vq.num_free); in virtqueue_use_indirect()
494 bool indirect) in virtqueue_add_desc_split() argument
504 if (!indirect) { in virtqueue_add_desc_split()
531 bool indirect; in virtqueue_add_split() local
536 BUG_ON(ctx && vq->indirect); in virtqueue_add_split()
553 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()
558 indirect = true; in virtqueue_add_split()
563 indirect = false; in virtqueue_add_split()
577 if (indirect) in virtqueue_add_split()
[all …]
/linux-6.1.9/arch/parisc/kernel/vdso32/ !
DMakefile10 ccflags-y := -shared -fno-common -fbuiltin -mno-fast-indirect-calls -O2 -mno-long-calls
45 cmd_vdso32cc = $(CROSS32CC) $(c_flags) -c -fPIC -mno-fast-indirect-calls -o $@ $<
/linux-6.1.9/Documentation/powerpc/ !
Dcpu_families.rst173 - e6500 adds HW loaded indirect TLB entries.
213 - Book3E, software loaded TLB + HW loaded indirect TLB entries.
/linux-6.1.9/Documentation/filesystems/ !
Dqnx6.rst60 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

12345