Home
last modified time | relevance | path

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

/Linux-v5.10/arch/um/kernel/
Dtrap.c25 int is_write, int is_user, int *code_out) in handle_page_fault() argument
43 if (is_user) in handle_page_fault()
54 else if (is_user && !ARCH_IS_STACKGROW(address)) in handle_page_fault()
125 if (!is_user) in handle_page_fault()
199 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument
208 if (!is_user && regs) in segv()
211 if (!is_user && (address >= start_vm) && (address < end_vm)) { in segv()
219 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { in segv()
226 err = handle_page_fault(address, ip, is_write, is_user, in segv()
247 else if (!is_user && arch_fixup(ip, regs)) in segv()
[all …]
/Linux-v5.10/arch/powerpc/mm/
Dfault.c307 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
313 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
358 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
400 int is_user = user_mode(regs); in __do_page_fault() local
409 if (is_user) { in __do_page_fault()
417 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault()
424 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault()
432 if (is_user) in __do_page_fault()
451 if (is_user) in __do_page_fault()
474 if (!is_user && !search_exception_tables(regs->nip)) in __do_page_fault()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Ddevx.h27 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user);
32 static inline int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create() argument
Ddevx.c115 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create() argument
129 if (is_user && capable(CAP_NET_RAW) && in mlx5_ib_devx_create()
132 if (is_user && capable(CAP_SYS_RAWIO) && in mlx5_ib_devx_create()
/Linux-v5.10/arch/um/include/shared/
Dkern_util.h31 int is_user, struct uml_pt_regs *regs);
33 int is_write, int is_user, int *code_out);
/Linux-v5.10/arch/x86/um/shared/sysdep/
Dptrace.h64 int is_user; member
71 #define UPT_IS_USER(r) ((r)->is_user)
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_verbs.h67 int is_user; member
214 int is_user; member
Drxe_cq.c79 cq->is_user = 1; in rxe_cq_from_init()
Drxe_resp.c824 if (qp->rcq->is_user) { in do_complete()
847 if (qp->rcq->is_user) { in do_complete()
Drxe_verbs.c410 qp->is_user = 1; in rxe_create_qp()
704 if (qp->is_user) { in rxe_post_send()
Drxe_comp.c380 if (!qp->is_user) { in make_send_cqe()
/Linux-v5.10/arch/um/os-Linux/
Dsignal.c37 r.is_user = 0; in sig_handler_common()
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c167 __free_pbl(res, &hwq->pbl[i], hwq->is_user); in bnxt_qplib_free_hwq()
209 hwq->is_user = false; in bnxt_qplib_alloc_init_hwq()
220 hwq->is_user = true; in bnxt_qplib_alloc_init_hwq()
Dqplib_res.h164 u8 is_user; member
/Linux-v5.10/arch/um/os-Linux/skas/
Dprocess.c385 regs->is_user = 1; in userspace()
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c4085 bool smep, smap, is_user; in svm_can_emulate_instruction() local
4141 is_user = svm_get_cpl(vcpu) == 3; in svm_can_emulate_instruction()
4142 if (smap && (!smep || is_user)) { in svm_can_emulate_instruction()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dqp.c302 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size() argument
321 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || in set_rq_size()
332 if (is_user) { in set_rq_size()