Home
last modified time | relevance | path

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

/freebsd/sys/arm/arm/
H A Dtrap-v6.c210 abort_imprecise(struct trapframe *tf, u_int fsr, u_int prefetch, bool usermode) in abort_imprecise() argument
230 if (usermode) in abort_imprecise()
242 abort_debug(struct trapframe *tf, u_int fsr, u_int prefetch, bool usermode, in abort_debug() argument
246 if (usermode) { in abort_debug()
284 bool usermode; in abort_handler() local
297 usermode = TRAPF_USERMODE(tf); /* Abort came from user mode? */ in abort_handler()
312 if (usermode) in abort_handler()
316 __func__, fsr, idx, far, prefetch, usermode); in abort_handler()
322 abort_imprecise(tf, fsr, prefetch, usermode); in abort_handler()
327 abort_debug(tf, fsr, prefetch, usermode, far); in abort_handler()
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_annotate.c79 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_process() argument
86 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_process()
88 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_annotate_process()
H A Dpmcpl_annotate_cg.c82 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_cg_process() argument
92 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_cg_process()
102 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[i]); in pmcpl_annotate_cg_process()
H A Dpmcpl_callgraph.c130 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() argument
140 ppm = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, pc); in pmcstat_cgnode_hash_lookup_pc()
328 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_cg_process() argument
348 child = parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode); in pmcpl_cg_process()
377 ppm = pmcstat_process_find_map(usermode ? pp : km, pc); in pmcpl_cg_process()
380 if (!usermode) { in pmcpl_cg_process()
H A Dpmcpl_annotate.h39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_annotate_cg.h42 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_calltree.h37 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_gprof.h41 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_callgraph.h62 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_gprof.c412 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_gmon_process() argument
422 (void) nsamples; (void) usermode; (void) cpu; in pmcpl_gmon_process()
424 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_gmon_process()
H A Dpmcpl_calltree.c727 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_ct_process() argument
751 ppm[n] = pmcstat_process_find_map(usermode ? in pmcpl_ct_process()
755 if (!usermode) { in pmcpl_ct_process()
/freebsd/sys/kern/
H A Dkern_clock.c450 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
457 if (usermode && in hardclock_itimer()
477 hardclock(int cnt, int usermode) in hardclock() argument
507 hardclock_itimer(td, pstats, cnt, usermode); in hardclock()
685 statclock(int cnt, int usermode) in statclock() argument
699 if (usermode) { in statclock()
769 profclock(int cnt, int usermode, uintfptr_t pc) in profclock() argument
774 if (usermode) { in profclock()
H A Dkern_clocksource.c160 int usermode; in handleevents() local
168 usermode = 0; in handleevents()
171 usermode = TRAPF_USERMODE(frame); in handleevents()
185 hardclock(runs, usermode); in handleevents()
195 statclock(runs, usermode); in handleevents()
205 profclock(runs, usermode, TRAPF_PC(frame)); in handleevents()
/freebsd/sys/riscv/riscv/
H A Dtrap.c204 page_fault_handler(struct trapframe *frame, int usermode) in page_fault_handler() argument
230 if (usermode) { in page_fault_handler()
274 if (usermode) { in page_fault_handler()
288 if (usermode) in page_fault_handler()
/freebsd/sys/i386/i386/
H A Dtrap.c741 trap_pfault(struct trapframe *frame, bool usermode, vm_offset_t eva, in trap_pfault() argument
750 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
815 if (usermode) { in trap_pfault()
823 map = usermode ? &p->p_vmspace->vm_map : kernel_map; in trap_pfault()
830 if (!usermode && td->td_intr_nesting_level != 0) { in trap_pfault()
871 if (usermode) in trap_pfault()
/freebsd/sys/amd64/amd64/
H A Dtrap.c704 trap_pfault(struct trapframe *frame, bool usermode, int *signo, int *ucode) in trap_pfault() argument
713 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
767 if (usermode) { in trap_pfault()
788 if (!usermode && (td->td_intr_nesting_level != 0 || in trap_pfault()
813 if (usermode) { in trap_pfault()
825 if (usermode && trap_is_pti(frame)) in trap_pfault()
857 if (usermode) in trap_pfault()
/freebsd/sys/amd64/vmm/
H A Dvmm_instruction_emul.c2041 pf_error_code(int usermode, int prot, int rsvd, uint64_t pte) in pf_error_code() argument
2049 if (usermode) in pf_error_code()
2082 int nlevels, pfcode, ptpshift, ptpindex, retval, usermode, writable; in _vm_gla2gpa() local
2090 usermode = (paging->cpl == 3 ? 1 : 0); in _vm_gla2gpa()
2135 (usermode && (pte32 & PG_U) == 0) || in _vm_gla2gpa()
2138 pfcode = pf_error_code(usermode, prot, 0, in _vm_gla2gpa()
2195 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2225 (usermode && (pte & PG_U) == 0) || in _vm_gla2gpa()
2228 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2245 pfcode = pf_error_code(usermode, prot, 1, in _vm_gla2gpa()
/freebsd/sys/sys/
H A Dsystm.h382 void hardclock(int cnt, int usermode);
384 void statclock(int cnt, int usermode);
385 void profclock(int cnt, int usermode, uintfptr_t pc);
/freebsd/lib/libpmcstat/
H A Dlibpmcstat.h284 uintfptr_t *cc, int usermode, uint32_t cpu);
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm845-cheza.dtsi1156 * Hogs prevent usermode from changing the value. A GPIO can be both