Home
last modified time | relevance | path

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

/freebsd-13.1/sys/arm/arm/
H A Dtrap-v6.c233 if (usermode) in abort_imprecise()
249 if (usermode) { in abort_debug()
287 bool usermode; in abort_handler() local
319 if (usermode) in abort_handler()
419 if (usermode) { in abort_handler()
463 if (usermode) { in abort_handler()
511 if (!usermode) { in abort_handler()
528 if (usermode) in abort_handler()
554 bool usermode; in abort_fatal() local
596 if (usermode) in abort_fatal()
[all …]
H A Dpmap-v6.c6405 pmap_fault(pmap_t pmap, vm_offset_t far, uint32_t fsr, int idx, bool usermode) in pmap_fault() argument
6426 if (!usermode || (idx != FAULT_ALIGN && idx != FAULT_PERM_L2)) { in pmap_fault()
6441 if (!usermode || (idx != FAULT_ALIGN && in pmap_fault()
6495 if (idx == FAULT_TRAN_L1 && usermode && cp15_ats1cur_check(far) == 0) { in pmap_fault()
/freebsd-13.1/usr.sbin/pmcstat/
H A Dpmcpl_annotate.c82 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_process() argument
89 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_process()
91 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_annotate_process()
H A Dpmcpl_annotate_cg.c85 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_cg_process() argument
95 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_cg_process()
105 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[i]); in pmcpl_annotate_cg_process()
H A Dpmcpl_callgraph.c133 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() argument
143 ppm = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, pc); in pmcstat_cgnode_hash_lookup_pc()
331 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_cg_process() argument
351 child = parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode); in pmcpl_cg_process()
380 ppm = pmcstat_process_find_map(usermode ? pp : km, pc); in pmcpl_cg_process()
383 if (!usermode) { in pmcpl_cg_process()
H A Dpmcpl_annotate_cg.h44 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_annotate.h41 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_calltree.h39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_gprof.h43 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_callgraph.h64 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_gprof.c415 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_gmon_process() argument
425 (void) nsamples; (void) usermode; (void) cpu; in pmcpl_gmon_process()
427 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_gmon_process()
H A Dpmcpl_calltree.c730 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_ct_process() argument
754 ppm[n] = pmcstat_process_find_map(usermode ? in pmcpl_ct_process()
758 if (!usermode) { in pmcpl_ct_process()
/freebsd-13.1/sys/kern/
H A Dkern_clock.c423 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
430 if (usermode && in hardclock_itimer()
453 hardclock(int cnt, int usermode) in hardclock() argument
483 hardclock_itimer(td, pstats, cnt, usermode); in hardclock()
637 statclock(int cnt, int usermode) in statclock() argument
651 if (usermode) { in statclock()
721 profclock(int cnt, int usermode, uintfptr_t pc) in profclock() argument
730 if (usermode) { in profclock()
H A Dkern_clocksource.c161 int usermode; in handleevents() local
169 usermode = 0; in handleevents()
172 usermode = TRAPF_USERMODE(frame); in handleevents()
186 hardclock(runs, usermode); in handleevents()
196 statclock(runs, usermode); in handleevents()
206 profclock(runs, usermode, TRAPF_PC(frame)); in handleevents()
/freebsd-13.1/sys/riscv/riscv/
H A Dtrap.c170 page_fault_handler(struct trapframe *frame, int usermode) in page_fault_handler() argument
201 if (usermode) { in page_fault_handler()
242 if (usermode) { in page_fault_handler()
256 if (usermode) in page_fault_handler()
/freebsd-13.1/sys/amd64/amd64/
H A Dtrap.c711 trap_pfault(struct trapframe *frame, bool usermode, int *signo, int *ucode) in trap_pfault() argument
720 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
774 if (usermode) { in trap_pfault()
795 if (!usermode && (td->td_intr_nesting_level != 0 || in trap_pfault()
820 if (usermode) { in trap_pfault()
832 if (usermode && trap_is_pti(frame)) in trap_pfault()
864 if (usermode) in trap_pfault()
/freebsd-13.1/sys/i386/i386/
H A Dtrap.c736 trap_pfault(struct trapframe *frame, bool usermode, vm_offset_t eva, in trap_pfault() argument
745 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
810 if (usermode) { in trap_pfault()
818 map = usermode ? &p->p_vmspace->vm_map : kernel_map; in trap_pfault()
825 if (!usermode && td->td_intr_nesting_level != 0) { in trap_pfault()
866 if (usermode) in trap_pfault()
/freebsd-13.1/sys/mips/mips/
H A Dtrap.c513 int type, usermode; in trap() local
541 usermode = 1; in trap()
543 usermode = 0; in trap()
627 if (!usermode) { in trap()
659 if (!usermode) in trap()
730 if (!usermode) { in trap()
736 if (!usermode) { in trap()
810 if (!usermode && dtrace_invop_jump_addr != NULL && in trap()
/freebsd-13.1/sys/amd64/vmm/
H A Dvmm_instruction_emul.c2029 pf_error_code(int usermode, int prot, int rsvd, uint64_t pte) in pf_error_code() argument
2037 if (usermode) in pf_error_code()
2070 int nlevels, pfcode, ptpshift, ptpindex, retval, usermode, writable; in _vm_gla2gpa() local
2078 usermode = (paging->cpl == 3 ? 1 : 0); in _vm_gla2gpa()
2123 (usermode && (pte32 & PG_U) == 0) || in _vm_gla2gpa()
2126 pfcode = pf_error_code(usermode, prot, 0, in _vm_gla2gpa()
2183 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2213 (usermode && (pte & PG_U) == 0) || in _vm_gla2gpa()
2216 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2233 pfcode = pf_error_code(usermode, prot, 1, in _vm_gla2gpa()
/freebsd-13.1/sys/sys/
H A Dsystm.h345 void hardclock(int cnt, int usermode);
348 void statclock(int cnt, int usermode);
349 void profclock(int cnt, int usermode, uintfptr_t pc);
/freebsd-13.1/lib/libpmcstat/
H A Dlibpmcstat.h287 uintfptr_t *cc, int usermode, uint32_t cpu);
/freebsd-13.1/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm845-cheza.dtsi1063 * Hogs prevent usermode from changing the value. A GPIO can be both