/Linux-v5.10/arch/um/kernel/ |
D | trap.c | 25 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/ |
D | fault.c | 307 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/ |
D | devx.h | 27 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
|
D | devx.c | 115 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/ |
D | kern_util.h | 31 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/ |
D | ptrace.h | 64 int is_user; member 71 #define UPT_IS_USER(r) ((r)->is_user)
|
/Linux-v5.10/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.h | 67 int is_user; member 214 int is_user; member
|
D | rxe_cq.c | 79 cq->is_user = 1; in rxe_cq_from_init()
|
D | rxe_resp.c | 824 if (qp->rcq->is_user) { in do_complete() 847 if (qp->rcq->is_user) { in do_complete()
|
D | rxe_verbs.c | 410 qp->is_user = 1; in rxe_create_qp() 704 if (qp->is_user) { in rxe_post_send()
|
D | rxe_comp.c | 380 if (!qp->is_user) { in make_send_cqe()
|
/Linux-v5.10/arch/um/os-Linux/ |
D | signal.c | 37 r.is_user = 0; in sig_handler_common()
|
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 167 __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()
|
D | qplib_res.h | 164 u8 is_user; member
|
/Linux-v5.10/arch/um/os-Linux/skas/ |
D | process.c | 385 regs->is_user = 1; in userspace()
|
/Linux-v5.10/arch/x86/kvm/svm/ |
D | svm.c | 4085 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/ |
D | qp.c | 302 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()
|