Home
last modified time | relevance | path

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

/linux/arch/um/kernel/
H A Dtrap.c28 static inline bool get_mmap_lock_carefully(struct mm_struct *mm, bool is_user) in get_mmap_lock_carefully() argument
33 if (!is_user) in get_mmap_lock_carefully()
52 static inline bool upgrade_mmap_lock_carefully(struct mm_struct *mm, bool is_user) in upgrade_mmap_lock_carefully() argument
55 if (!is_user) in upgrade_mmap_lock_carefully()
82 unsigned long addr, bool is_user) in um_lock_mm_and_find_vma() argument
86 if (!get_mmap_lock_carefully(mm, is_user)) in um_lock_mm_and_find_vma()
112 if (!upgrade_mmap_lock_carefully(mm, is_user)) in um_lock_mm_and_find_vma()
141 int is_write, int is_user, int *code_out) in handle_page_fault() argument
159 if (is_user) in handle_page_fault()
162 vma = um_lock_mm_and_find_vma(mm, address, is_user); in handle_page_fault()
[all …]
H A Dsmp.c104 struct uml_pt_regs r = { .is_user = 0 }; in uml_ipi_handler()
/linux/arch/x86/um/shared/sysdep/
H A Dptrace.h53 int is_user; member
63 #define UPT_IS_USER(r) ((r)->is_user)
/linux/arch/um/os-Linux/skas/
H A Dprocess.c638 regs->is_user = 1; in userspace()
699 regs->is_user = 1; in userspace()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c237 const bool is_user = vm_ctx != vm_ctx->pvr_dev->kernel_vm_ctx; in pvr_vm_bind_op_map_init() local
246 if (is_user && in pvr_vm_bind_op_map_init()
/linux/arch/x86/kvm/svm/
H A Dsvm.c5060 bool smep, smap, is_user; in svm_check_emulate_instruction() local
5170 is_user = svm_get_cpl(vcpu) == 3; in svm_check_emulate_instruction()
5171 if (smap && (!smep || is_user)) { in svm_check_emulate_instruction()
5184 if (is_user) in svm_check_emulate_instruction()