Home
last modified time | relevance | path

Searched refs:lam (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/x86/ !
Dlam.c74 unsigned long lam; member
145 static int set_lam(unsigned long lam) in set_lam() argument
150 if (lam != LAM_U57_BITS && lam != LAM_NONE) in set_lam()
154 syscall(SYS_arch_prctl, ARCH_ENABLE_TAGGED_ADDR, lam); in set_lam()
160 if (lam == LAM_U57_BITS) in set_lam()
162 else if (lam == LAM_NONE) in set_lam()
171 int lam = LAM_NONE; in get_default_tag_bits() local
180 lam = LAM_U57_BITS; in get_default_tag_bits()
182 lam = LAM_NONE; in get_default_tag_bits()
183 exit(lam); in get_default_tag_bits()
[all …]
DMakefile21 corrupt_xstate_header amx lam test_shadow_stack
/linux-6.6.21/arch/x86/include/asm/ !
Dtlbflush.h115 u8 lam; member
397 u64 lam = this_cpu_read(cpu_tlbstate.lam); in tlbstate_lam_cr3_mask() local
399 return lam << X86_CR3_LAM_U57_BIT; in tlbstate_lam_cr3_mask()
404 this_cpu_write(cpu_tlbstate.lam, in set_tlbstate_lam_mode()
/linux-6.6.21/arch/x86/mm/ !
Dtlb.c158 static inline unsigned long build_cr3(pgd_t *pgd, u16 asid, unsigned long lam) in build_cr3() argument
160 unsigned long cr3 = __sme_pa(pgd) | lam; in build_cr3()
173 unsigned long lam) in build_cr3_noflush() argument
181 return build_cr3(pgd, asid, lam) | CR3_NOFLUSH; in build_cr3_noflush()
282 static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, unsigned long lam, in load_new_mm_cr3() argument
289 new_mm_cr3 = build_cr3(pgdir, new_asid, lam); in load_new_mm_cr3()
291 new_mm_cr3 = build_cr3_noflush(pgdir, new_asid, lam); in load_new_mm_cr3()
/linux-6.6.21/drivers/scsi/cxlflash/ !
Dvlun.c64 u64 *lam; in ba_init() local
111 lam = &bali->lun_alloc_map[bali->lun_bmap_size - 1]; in ba_init()
115 clear_bit(i, (ulong *)lam); in ba_init()
157 ulong *lam, num_bits; in find_free_range() local
161 lam = (ulong *)&bali->lun_alloc_map[i]; in find_free_range()
162 num_bits = (sizeof(*lam) * BITS_PER_BYTE); in find_free_range()
163 bit_pos = find_first_bit(lam, num_bits); in find_free_range()
171 clear_bit(bit_pos, lam); in find_free_range()
/linux-6.6.21/arch/s390/tools/ !
Dopcodes.txt146 9a lam RS_AARD