| /kernel/linux/linux-6.6/fs/befs/ |
| D | datastream.c | 187 /* Size of indirect block */ in befs_count_blocks() 189 metablocks += ds->indirect.len; in befs_count_blocks() 192 * Double indir block, plus all the indirect blocks it maps. in befs_count_blocks() 193 * In the double-indirect range, all block runs of data are in befs_count_blocks() 195 * how many data block runs are in the double-indirect region, in befs_count_blocks() 196 * and from that we know how many indirect blocks it takes to in befs_count_blocks() 197 * map them. We assume that the indirect blocks are also in befs_count_blocks() 243 * as in the indirect region code). 291 * blockno is in the indirect region of the datastream. 297 * For each block in the indirect run of the datastream, read [all …]
|
| /kernel/linux/linux-5.10/fs/befs/ |
| D | datastream.c | 187 /* Size of indirect block */ in befs_count_blocks() 189 metablocks += ds->indirect.len; in befs_count_blocks() 192 * Double indir block, plus all the indirect blocks it maps. in befs_count_blocks() 193 * In the double-indirect range, all block runs of data are in befs_count_blocks() 195 * how many data block runs are in the double-indirect region, in befs_count_blocks() 196 * and from that we know how many indirect blocks it takes to in befs_count_blocks() 197 * map them. We assume that the indirect blocks are also in befs_count_blocks() 243 * as in the indirect region code). 291 * blockno is in the indirect region of the datastream. 297 * For each block in the indirect run of the datastream, read [all …]
|
| /kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
| D | common.h | 50 * This is the maximum number of segments that would be allowed in indirect 111 * The maximum number of indirect segments (and pages) that will 114 * feature-max-indirect-segments entry), so the frontend knows how 115 * many indirect segments the backend supports. 126 struct blkif_x86_32_request_indirect indirect; member 160 uint32_t _pad1; /* offsetof(blkif_..,u.indirect.id)==8 */ 167 * The maximum number of indirect segments (and pages) that will 170 * feature-max-indirect-segments entry), so the frontend knows how 171 * many indirect segments the backend supports. 182 struct blkif_x86_64_request_indirect indirect; member [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/ |
| D | branch.json | 24 …"PublicDescription": "Indirect branch mispredicted. This event counts when any indirect branch tha… 27 …"BriefDescription": "Indirect branch mispredicted. This event counts when any indirect branch that… 30 …"PublicDescription": "Indirect branch mispredicted due to address miscompare. This event counts wh… 33 …"BriefDescription": "Indirect branch mispredicted due to address miscompare. This event counts whe… 36 …hen branch prediction is disabled due to the MMU being off. Conditional indirect branches that cor… 39 …hen branch prediction is disabled due to the MMU being off. Conditional indirect branches that cor… 42 …"PublicDescription": "Indirect branch with predicted address executed. This event counts when any … 45 …"BriefDescription": "Indirect branch with predicted address executed. This event counts when any i…
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
| D | branch.json | 24 …"PublicDescription": "Indirect branch mis-predicted.This event counts when any indirect branch whi… 27 …"BriefDescription": "Indirect branch mis-predicted.This event counts when any indirect branch whic… 30 …"PublicDescription": "Indirect branch mis-predicted due to address mis-compare.This event counts w… 33 …"BriefDescription": "Indirect branch mis-predicted due to address mis-compare.This event counts wh… 36 …hen branch prediction is disabled due to the MMU being off. Conditional indirect branches which co… 39 …hen branch prediction is disabled due to the MMU being off. Conditional indirect branches which co… 42 …"PublicDescription": "Indirect branch with predicted address executed.This event counts when any i… 45 …"BriefDescription": "Indirect branch with predicted address executed.This event counts when any in…
|
| /kernel/linux/linux-6.6/fs/minix/ |
| D | itree_common.c | 8 } Indirect; typedef 12 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain() 18 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain() 30 static inline Indirect *get_branch(struct inode *inode, in get_branch() 33 Indirect chain[DEPTH], in get_branch() 37 Indirect *p = chain; in get_branch() 73 Indirect *branch) in alloc_branch() 116 Indirect chain[DEPTH], in splice_branch() 117 Indirect *where, in splice_branch() 136 /* had we spliced it onto indirect block? */ in splice_branch() [all …]
|
| /kernel/linux/linux-5.10/fs/minix/ |
| D | itree_common.c | 8 } Indirect; typedef 12 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain() 18 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain() 30 static inline Indirect *get_branch(struct inode *inode, in get_branch() 33 Indirect chain[DEPTH], in get_branch() 37 Indirect *p = chain; in get_branch() 73 Indirect *branch) in alloc_branch() 116 Indirect chain[DEPTH], in splice_branch() 117 Indirect *where, in splice_branch() 136 /* had we spliced it onto indirect block? */ in splice_branch() [all …]
|
| /kernel/linux/linux-6.6/fs/ext4/ |
| D | indirect.c | 3 * linux/fs/ext4/indirect.c 35 } Indirect; typedef 37 static inline void add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) in add_chain() 49 * followed (on disk) by an indirect block. 53 * data blocks at leaves and indirect blocks in intermediate nodes. 60 * we need to know is the capacity of indirect blocks (taken from the 66 * indirect block) is spelled differently, because otherwise on an 115 * ext4_get_branch - read the chain of indirect blocks leading to data 118 * @offsets: offsets of pointers in inode/indirect blocks 128 * for i>0) and chain[i].bh points to the buffer_head of i-th indirect [all …]
|
| /kernel/linux/linux-5.10/fs/ext4/ |
| D | indirect.c | 3 * linux/fs/ext4/indirect.c 35 } Indirect; typedef 37 static inline void add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) in add_chain() 49 * followed (on disk) by an indirect block. 53 * data blocks at leaves and indirect blocks in intermediate nodes. 60 * we need to know is the capacity of indirect blocks (taken from the 66 * indirect block) is spelled differently, because otherwise on an 115 * ext4_get_branch - read the chain of indirect blocks leading to data 118 * @offsets: offsets of pointers in inode/indirect blocks 128 * for i>0) and chain[i].bh points to the buffer_head of i-th indirect [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/hw-vuln/ |
| 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 …]
|
| D | indirect-target-selection.rst | 3 Indirect Target Selection (ITS) 8 of indirect branches and RETs located in the lower half of a cacheline. 14 - **eIBRS Guest/Host Isolation**: Indirect branches in KVM/kernel may still be 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_adminq_cmd.h | 282 /* command structures and indirect data structures */ 286 * - _data for indirect sent data 287 * - _resp for indirect return data (data which is both will use _data) 322 /* Send driver version (indirect 0x0002) */ 365 /* Get function capabilities (indirect 0x000A) 366 * Get device capabilities (indirect 0x000B) 434 /* Set ARP Proxy command / response (indirect 0x0104) */ 446 /* Set NS Proxy Table Entry Command (indirect 0x0105) */ 473 /* Manage MAC Address Read Command (indirect 0x0107) */ 553 /* Used by many indirect commands that only pass an seid and a buffer in the [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
| D | i40e_adminq_cmd.h | 285 /* command structures and indirect data structures */ 289 * - _data for indirect sent data 290 * - _resp for indirect return data (data which is both will use _data) 325 /* Send driver version (indirect 0x0002) */ 368 /* Get function capabilities (indirect 0x000A) 369 * Get device capabilities (indirect 0x000B) 437 /* Set ARP Proxy command / response (indirect 0x0104) */ 449 /* Set NS Proxy Table Entry Command (indirect 0x0105) */ 476 /* Manage MAC Address Read Command (indirect 0x0107) */ 556 /* Used by many indirect commands that only pass an seid and a buffer in the [all …]
|
| /kernel/linux/linux-6.6/sound/mips/ |
| D | hal2.h | 13 /* Indirect status register */ 28 /* Indirect address register */ 31 * Address of indirect internal register to be accessed. A write to this 32 * register initiates read or write access to the indirect registers in the 33 * HAL2. Note that there af four indirect data registers for write access to 44 /* blockin which the indirect */ 71 * The HAL2 has "indirect registers" (idr) which are accessed by writing to the 72 * Indirect Data registers. Write the address to the Indirect Address register 78 * When we write to indirect registers which are larger than one word (16 bit) 79 * we have to fill more than one indirect register before writing. When we read [all …]
|
| /kernel/linux/linux-5.10/sound/mips/ |
| D | hal2.h | 13 /* Indirect status register */ 28 /* Indirect address register */ 31 * Address of indirect internal register to be accessed. A write to this 32 * register initiates read or write access to the indirect registers in the 33 * HAL2. Note that there af four indirect data registers for write access to 44 /* blockin which the indirect */ 71 * The HAL2 has "indirect registers" (idr) which are accessed by writing to the 72 * Indirect Data registers. Write the address to the Indirect Address register 78 * When we write to indirect registers which are larger than one word (16 bit) 79 * we have to fill more than one indirect register before writing. When we read [all …]
|
| /kernel/linux/linux-5.10/fs/sysv/ |
| D | itree.c | 5 * Handling of indirect blocks' trees. 14 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ 63 } Indirect; typedef 67 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) in add_chain() 73 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain() 88 static Indirect *get_branch(struct inode *inode, in get_branch() 91 Indirect chain[], in get_branch() 95 Indirect *p = chain; in get_branch() 128 Indirect *branch) in alloc_branch() 173 Indirect chain[], in splice_branch() [all …]
|
| /kernel/linux/linux-6.6/fs/sysv/ |
| D | itree.c | 5 * Handling of indirect blocks' trees. 14 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ 63 } Indirect; typedef 67 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) in add_chain() 73 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain() 85 static Indirect *get_branch(struct inode *inode, in get_branch() 88 Indirect chain[], in get_branch() 92 Indirect *p = chain; in get_branch() 128 Indirect *branch) in alloc_branch() 173 Indirect chain[], in splice_branch() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | vcn_v4_0_3.c | 58 int inst_idx, bool indirect); 415 * @indirect: indirectly write sram 419 static void vcn_v4_0_3_mc_resume_dpg_mode(struct amdgpu_device *adev, int inst_idx, bool indirect) in vcn_v4_0_3_mc_resume_dpg_mode() argument 429 if (!indirect) { in vcn_v4_0_3_mc_resume_dpg_mode() 433 inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() 437 inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() 439 VCN, 0, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() 442 VCN, 0, regUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() 444 VCN, 0, regUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() 446 VCN, 0, regUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v4_0_3_mc_resume_dpg_mode() [all …]
|
| D | vcn_v2_5.c | 469 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 476 if (!indirect) { in vcn_v2_5_mc_resume_dpg_mode() 479 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_lo), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 482 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN + inst_idx].tmr_mc_addr_hi), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 484 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 487 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 489 VCN, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 491 VCN, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 497 lower_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 500 upper_32_bits(adev->vcn.inst[inst_idx].gpu_addr), 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() [all …]
|
| D | vcn_v2_0.c | 387 static void vcn_v2_0_mc_resume_dpg_mode(struct amdgpu_device *adev, bool indirect) in vcn_v2_0_mc_resume_dpg_mode() argument 394 if (!indirect) { in vcn_v2_0_mc_resume_dpg_mode() 397 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_lo), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 400 (adev->firmware.ucode[AMDGPU_UCODE_ID_VCN].tmr_mc_addr_hi), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 402 UVD, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 405 UVD, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 407 UVD, 0, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 409 UVD, 0, mmUVD_VCPU_CACHE_OFFSET0), 0, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 415 lower_32_bits(adev->vcn.inst->gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() 418 upper_32_bits(adev->vcn.inst->gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_adminq_cmd.h | 36 /* Send driver version (indirect 0x0002) */ 86 /* Get function capabilities (indirect 0x000A) 87 * Get device capabilities (indirect 0x000B) 139 /* Manage MAC address, read command - indirect (0x0107) 245 * Get Resource Allocation command (indirect 0x0204) 246 * Allocate Resources command (indirect 0x0208) 247 * Free Resources command (indirect 0x0209) 248 * Get Allocated Resource Descriptors Command (indirect 0x020A) 249 * Share Resource command (indirect 0x020B) 272 /* Allocate Resources command (indirect 0x0208) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_adminq_cmd.h | 36 /* Send driver version (indirect 0x0002) */ 86 /* Get function capabilities (indirect 0x000A) 87 * Get device capabilities (indirect 0x000B) 132 /* Manage MAC address, read command - indirect (0x0107) 227 * Get Resource Allocation command (indirect 0x0204) 228 * Allocate Resources command (indirect 0x0208) 229 * Free Resources command (indirect 0x0209) 230 * Get Allocated Resource Descriptors Command (indirect 0x020A) 250 /* Allocate Resources command (indirect 0x0208) 251 * Free Resources command (indirect 0x0209) [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | vcn_v2_0.c | 384 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 …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| 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 …]
|