Home
last modified time | relevance | path

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

/linux/arch/um/kernel/
A 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/arch/powerpc/mm/
A Dfault.c301 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
307 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
393 int is_user = user_mode(regs); in ___do_page_fault() local
402 if (is_user) { in ___do_page_fault()
410 sanity_check_fault(is_write, is_user, error_code, address); in ___do_page_fault()
417 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) { in ___do_page_fault()
429 if (is_user) in ___do_page_fault()
446 if (is_user) in ___do_page_fault()
469 if (!is_user && !search_exception_tables(regs->nip)) in ___do_page_fault()
/linux/drivers/infiniband/hw/mlx5/
A 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
A 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/arch/um/include/shared/
A Dkern_util.h31 int is_user, struct uml_pt_regs *regs);
33 int is_write, int is_user, int *code_out);
/linux/arch/x86/um/shared/sysdep/
A Dptrace.h64 int is_user; member
71 #define UPT_IS_USER(r) ((r)->is_user)
/linux/drivers/infiniband/sw/rxe/
A Drxe_verbs.h50 bool is_user; member
68 bool is_user; member
216 bool is_user; member
A Drxe_verbs.c170 ah->is_user = true; in rxe_create_ah()
172 ah->is_user = false; in rxe_create_ah()
196 } else if (ah->is_user) { in rxe_create_ah()
432 qp->is_user = true; in rxe_create_qp()
434 qp->is_user = false; in rxe_create_qp()
724 if (qp->is_user) { in rxe_post_send()
A Drxe_cq.c80 cq->is_user = uresp; in rxe_cq_from_init()
A Drxe_comp.c388 if (!qp->is_user) { in make_send_cqe()
399 if (!qp->is_user) { in make_send_cqe()
A Drxe_resp.c848 if (qp->rcq->is_user) { in do_complete()
870 if (qp->rcq->is_user) { in do_complete()
/linux/drivers/infiniband/hw/bnxt_re/
A 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()
A Dqplib_res.h159 u8 is_user; member
/linux/arch/um/os-Linux/
A Dsignal.c38 r.is_user = 0; in sig_handler_common()
/linux/arch/um/os-Linux/skas/
A Dprocess.c435 regs->is_user = 1; in userspace()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_qp.c1152 bool is_user) in check_qp_type() argument
1162 is_user) in check_qp_type()
/linux/drivers/mtd/
A Dmtdcore.c782 static ssize_t mtd_otp_size(struct mtd_info *mtd, bool is_user) in mtd_otp_size() argument
794 if (is_user) in mtd_otp_size()
/linux/arch/x86/kvm/svm/
A Dsvm.c4464 bool smep, smap, is_user; in svm_can_emulate_instruction() local
4526 is_user = svm_get_cpl(vcpu) == 3; in svm_can_emulate_instruction()
4527 if (smap && (!smep || is_user)) { in svm_can_emulate_instruction()
/linux/drivers/infiniband/hw/mlx4/
A 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()

Completed in 61 milliseconds