Home
last modified time | relevance | path

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

/linux-6.1.9/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()
127 if (!is_user) in handle_page_fault()
200 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument
209 if (!is_user && regs) in segv()
212 if (!is_user && (address >= start_vm) && (address < end_vm)) { in segv()
220 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { in segv()
227 err = handle_page_fault(address, ip, is_write, is_user, in segv()
248 else if (!is_user && arch_fixup(ip, regs)) in segv()
[all …]
/linux-6.1.9/arch/powerpc/mm/
Dfault.c305 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
311 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
412 int is_user = user_mode(regs); in ___do_page_fault() local
421 if (is_user) { in ___do_page_fault()
429 sanity_check_fault(is_write, is_user, error_code, address); in ___do_page_fault()
436 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) { in ___do_page_fault()
448 if (is_user) in ___do_page_fault()
465 if (is_user) in ___do_page_fault()
488 if (!is_user && !search_exception_tables(regs->nip)) in ___do_page_fault()
/linux-6.1.9/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.c112 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create() argument
126 if (is_user && capable(CAP_NET_RAW) && in mlx5_ib_devx_create()
129 if (is_user && capable(CAP_SYS_RAWIO) && in mlx5_ib_devx_create()
/linux-6.1.9/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-6.1.9/arch/x86/um/shared/sysdep/
Dptrace.h64 int is_user; member
71 #define UPT_IS_USER(r) ((r)->is_user)
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_verbs.h49 bool is_user; member
67 bool is_user; member
216 bool is_user; member
Drxe_verbs.c170 ah->is_user = true; in rxe_create_ah()
172 ah->is_user = false; in rxe_create_ah()
195 } else if (ah->is_user) { in rxe_create_ah()
423 qp->is_user = true; in rxe_create_qp()
425 qp->is_user = false; in rxe_create_qp()
720 if (qp->is_user) { in rxe_post_send()
Drxe_cq.c80 cq->is_user = uresp; in rxe_cq_from_init()
Drxe_comp.c390 if (!qp->is_user) { in make_send_cqe()
401 if (!qp->is_user) { in make_send_cqe()
Drxe_resp.c939 if (qp->rcq->is_user) { in do_complete()
961 if (qp->rcq->is_user) { in do_complete()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c168 __free_pbl(res, &hwq->pbl[i], hwq->is_user); in bnxt_qplib_free_hwq()
210 hwq->is_user = false; in bnxt_qplib_alloc_init_hwq()
221 hwq->is_user = true; in bnxt_qplib_alloc_init_hwq()
Dqplib_res.h159 u8 is_user; member
/linux-6.1.9/arch/um/os-Linux/
Dsignal.c38 r.is_user = 0; in sig_handler_common()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-mmio.c231 bool is_user) in __read_pending() argument
261 } else if (!is_user && vgic_irq_is_mapped_level(irq)) { in __read_pending()
266 if (is_user) { in __read_pending()
/linux-6.1.9/arch/um/os-Linux/skas/
Dprocess.c436 regs->is_user = 1; in userspace()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1228 bool is_user) in check_qp_type() argument
1238 is_user) in check_qp_type()
/linux-6.1.9/drivers/mtd/
Dmtdcore.c841 static ssize_t mtd_otp_size(struct mtd_info *mtd, bool is_user) in mtd_otp_size() argument
853 if (is_user) in mtd_otp_size()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c4514 bool smep, smap, is_user; in svm_can_emulate_instruction() local
4610 is_user = svm_get_cpl(vcpu) == 3; in svm_can_emulate_instruction()
4611 if (smap && (!smep || is_user)) { in svm_can_emulate_instruction()
4624 if (is_user) in svm_can_emulate_instruction()
/linux-6.1.9/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()