Home
last modified time | relevance | path

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

/Linux-v5.4/arch/um/kernel/
Dtrap.c26 int is_write, int is_user, int *code_out) in handle_page_fault() argument
46 if (is_user) in handle_page_fault()
57 else if (is_user && !ARCH_IS_STACKGROW(address)) in handle_page_fault()
135 if (!is_user) in handle_page_fault()
209 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument
218 if (!is_user && regs) in segv()
221 if (!is_user && (address >= start_vm) && (address < end_vm)) { in segv()
229 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { in segv()
236 err = handle_page_fault(address, ip, is_write, is_user, in segv()
257 else if (!is_user && arch_fixup(ip, regs)) in segv()
[all …]
/Linux-v5.4/arch/powerpc/mm/
Dfault.c350 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
356 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
398 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
440 int is_user = user_mode(regs); in __do_page_fault() local
450 if (is_user) { in __do_page_fault()
458 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault()
465 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault()
473 if (is_user) in __do_page_fault()
496 if (is_user) in __do_page_fault()
519 if (!is_user && !search_exception_tables(regs->nip)) in __do_page_fault()
[all …]
/Linux-v5.4/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.4/arch/x86/um/shared/sysdep/
Dptrace.h64 int is_user; member
71 #define UPT_IS_USER(r) ((r)->is_user)
/Linux-v5.4/lib/
Dtest_bitmap.c285 static void __init __test_bitmap_parselist(int is_user) in __test_bitmap_parselist() argument
291 char *mode = is_user ? "_user" : ""; in __test_bitmap_parselist()
296 if (is_user) { in __test_bitmap_parselist()
Dbitmap.c377 int is_user, unsigned long *maskp, in __bitmap_parse() argument
394 if (is_user) { in __bitmap_parse()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_verbs.h94 int is_user; member
241 int is_user; member
Drxe_cq.c106 cq->is_user = 1; in rxe_cq_from_init()
Drxe_resp.c844 if (qp->rcq->is_user) { in do_complete()
867 if (qp->rcq->is_user) { in do_complete()
Drxe_verbs.c442 qp->is_user = 1; in rxe_create_qp()
733 if (qp->is_user) { in rxe_post_send()
Drxe_comp.c407 if (!qp->is_user) { in make_send_cqe()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h104 u8 is_user; member
Dqplib_res.c147 __free_pbl(pdev, &hwq->pbl[i], hwq->is_user); in bnxt_qplib_free_hwq()
186 hwq->is_user = false; in bnxt_qplib_alloc_init_hwq()
194 hwq->is_user = true; in bnxt_qplib_alloc_init_hwq()
/Linux-v5.4/arch/um/os-Linux/
Dsignal.c37 r.is_user = 0; in sig_handler_common()
/Linux-v5.4/include/linux/
Dbitmap.h179 extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user,
/Linux-v5.4/arch/um/os-Linux/skas/
Dprocess.c385 regs->is_user = 1; in userspace()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h1339 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user);
1358 bool is_user) { return -EOPNOTSUPP; } in mlx5_ib_devx_create() argument
Ddevx.c129 int mlx5_ib_devx_create(struct mlx5_ib_dev *dev, bool is_user) in mlx5_ib_devx_create() argument
143 if (is_user && capable(CAP_NET_RAW) && in mlx5_ib_devx_create()
146 if (is_user && capable(CAP_SYS_RAWIO) && in mlx5_ib_devx_create()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_qp.c272 struct ib_qp_cap *cap, bool is_user, int has_rq, in hns_roce_set_rq_size() argument
293 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) { in hns_roce_set_rq_size()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c328 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size() argument
347 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || in set_rq_size()
358 if (is_user) { in set_rq_size()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c7113 bool is_user = svm_get_cpl(vcpu) == 3; in svm_need_emulation_on_page_fault() local
7155 if (smap && (!smep || is_user)) { in svm_need_emulation_on_page_fault()
/Linux-v5.4/Documentation/virt/uml/
DUserModeLinux-HOWTO.txt4101 #4 0x1009534c in segv (address=8, ip=268849158, is_write=2, is_user=0)