/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | mtrr.h | 63 extern u8 mtrr_type_lookup(u64 addr, u64 end, u8 *uniform); 85 static inline u8 mtrr_type_lookup(u64 addr, u64 end, u8 *uniform) in mtrr_type_lookup() argument 91 *uniform = 1; in mtrr_type_lookup()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | mtrr.h | 35 extern u8 mtrr_type_lookup(u64 addr, u64 end, u8 *uniform); 53 static inline u8 mtrr_type_lookup(u64 addr, u64 end, u8 *uniform) in mtrr_type_lookup() argument
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | pgtable.c | 705 u8 mtrr, uniform; in pud_set_huge() local 707 mtrr = mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge() 708 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pud_set_huge() 732 u8 mtrr, uniform; in pmd_set_huge() local 734 mtrr = mtrr_type_lookup(addr, addr + PMD_SIZE, &uniform); in pmd_set_huge() 735 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pmd_set_huge()
|
H A D | numa_emulation.c | 223 int i, ret, uniform = 0; in split_nodes_size_interleave_uniform() local 230 * In the 'uniform' case split the passed in physical node by in split_nodes_size_interleave_uniform() 231 * nr_nodes, in the non-uniform case, ignore the passed in in split_nodes_size_interleave_uniform() 235 * In the uniform case, split the nodes strictly by physical in split_nodes_size_interleave_uniform() 236 * capacity, i.e. ignore holes. In the non-uniform case account in split_nodes_size_interleave_uniform() 244 uniform = 1; in split_nodes_size_interleave_uniform() 247 if (uniform) { in split_nodes_size_interleave_uniform() 254 * requested size is too small. This creates a uniform in split_nodes_size_interleave_uniform() 288 if (uniform) in split_nodes_size_interleave_uniform() 307 && !uniform) in split_nodes_size_interleave_uniform() [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | numa_emulation.c | 223 int i, ret, uniform = 0; in split_nodes_size_interleave_uniform() local 230 * In the 'uniform' case split the passed in physical node by in split_nodes_size_interleave_uniform() 231 * nr_nodes, in the non-uniform case, ignore the passed in in split_nodes_size_interleave_uniform() 235 * In the uniform case, split the nodes strictly by physical in split_nodes_size_interleave_uniform() 236 * capacity, i.e. ignore holes. In the non-uniform case account in split_nodes_size_interleave_uniform() 244 uniform = 1; in split_nodes_size_interleave_uniform() 247 if (uniform) { in split_nodes_size_interleave_uniform() 254 * requested size is too small. This creates a uniform in split_nodes_size_interleave_uniform() 288 if (uniform) in split_nodes_size_interleave_uniform() 307 && !uniform) in split_nodes_size_interleave_uniform() [all...] |
H A D | pgtable.c | 724 u8 uniform; in pud_set_huge() local 726 mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge() 727 if (!uniform) in pud_set_huge() 750 u8 uniform; in pmd_set_huge() local 752 mtrr_type_lookup(addr, addr + PMD_SIZE, &uniform); in pmd_set_huge() 753 if (!uniform) { in pmd_set_huge()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mtrr/ |
H A D | generic.c | 478 static u8 type_merge(u8 type, u8 new_type, u8 *uniform) in type_merge() argument 487 *uniform = 0; in type_merge() 500 * uniform - Set to 1 when the returned MTRR type is valid for the whole 503 u8 mtrr_type_lookup(u64 start, u64 end, u8 *uniform) in mtrr_type_lookup() argument 510 *uniform = 0; in mtrr_type_lookup() 514 *uniform = 1; in mtrr_type_lookup() 527 type = type_merge(type, mtrr_state.def_type, uniform); in mtrr_type_lookup() 534 type = type_merge(type, cache_map[i].type, uniform); in mtrr_type_lookup() 541 type = type_merge(type, mtrr_state.def_type, uniform); in mtrr_type_lookup()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
H A D | generic.c | 156 * uniform - Set to 1 when an MTRR covers the region uniformly, i.e. the 161 int *repeat, u8 *uniform) in mtrr_type_lookup_variable() 168 *uniform = 1; in mtrr_type_lookup_variable() 220 *uniform = 0; in mtrr_type_lookup_variable() 232 *uniform = 0; in mtrr_type_lookup_variable() 251 * uniform - Set to 1 when an MTRR covers the region uniformly, i.e. the 255 u8 mtrr_type_lookup(u64 start, u64 end, u8 *uniform) in mtrr_type_lookup() argument 310 *uniform = is_uniform; in mtrr_type_lookup() 160 mtrr_type_lookup_variable(u64 start, u64 end, u64 *partial_end, int *repeat, u8 *uniform) mtrr_type_lookup_variable() argument
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
H A D | memtype.c | 426 u8 mtrr_type, uniform; in pat_x_mtrr_type() local 428 mtrr_type = mtrr_type_lookup(start, end, &uniform); in pat_x_mtrr_type()
|
/kernel/linux/linux-6.6/arch/x86/mm/pat/ |
H A D | memtype.c | 387 u8 mtrr_type, uniform; in pat_x_mtrr_type() local 389 mtrr_type = mtrr_type_lookup(start, end, &uniform); in pat_x_mtrr_type()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | head_32.S | 368 pushl $0 # Dummy error code, to make stack frame uniform
|
H A D | head_64.S | 369 pushq $0 # Dummy error code, to make stack frame uniform
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | head_64.S | 526 pushq $0 # Dummy error code, to make stack frame uniform
|