Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm/arm/
H A Dtrap-v6.c231 if (usermode) in abort_imprecise()
247 if (usermode) { in abort_debug()
285 bool usermode; in abort_handler() local
317 if (usermode) in abort_handler()
417 if (usermode) { in abort_handler()
461 if (usermode) { in abort_handler()
509 if (!usermode) { in abort_handler()
526 if (usermode) in abort_handler()
552 bool usermode; in abort_fatal() local
594 if (usermode) in abort_fatal()
[all …]
H A Dpmap-v6.c6391 pmap_fault(pmap_t pmap, vm_offset_t far, uint32_t fsr, int idx, bool usermode) in pmap_fault() argument
6412 if (!usermode || (idx != FAULT_ALIGN && idx != FAULT_PERM_L2)) { in pmap_fault()
6427 if (!usermode || (idx != FAULT_ALIGN && in pmap_fault()
6481 if (idx == FAULT_TRAN_L1 && usermode && cp15_ats1cur_check(far) == 0) { in pmap_fault()
/freebsd-14.2/usr.sbin/pmcstat/
H A Dpmcpl_annotate.c80 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_process() argument
87 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_process()
89 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_annotate_process()
H A Dpmcpl_annotate_cg.c83 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_cg_process() argument
93 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu; in pmcpl_annotate_cg_process()
103 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[i]); in pmcpl_annotate_cg_process()
H A Dpmcpl_callgraph.c131 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() argument
141 ppm = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, pc); in pmcstat_cgnode_hash_lookup_pc()
329 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_cg_process() argument
349 child = parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode); in pmcpl_cg_process()
378 ppm = pmcstat_process_find_map(usermode ? pp : km, pc); in pmcpl_cg_process()
381 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.c413 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_gmon_process() argument
423 (void) nsamples; (void) usermode; (void) cpu; in pmcpl_gmon_process()
425 map = pmcstat_process_find_map(usermode ? pp : pmcstat_kernproc, cc[0]); in pmcpl_gmon_process()
H A Dpmcpl_calltree.c728 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_ct_process() argument
752 ppm[n] = pmcstat_process_find_map(usermode ? in pmcpl_ct_process()
756 if (!usermode) { in pmcpl_ct_process()
/freebsd-14.2/sys/kern/
H A Dkern_clock.c453 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
460 if (usermode && in hardclock_itimer()
480 hardclock(int cnt, int usermode) in hardclock() argument
510 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-14.2/sys/riscv/riscv/
H A Dtrap.c206 page_fault_handler(struct trapframe *frame, int usermode) in page_fault_handler() argument
237 if (usermode) { in page_fault_handler()
275 if (usermode) { in page_fault_handler()
289 if (usermode) in page_fault_handler()
/freebsd-14.2/sys/i386/i386/
H A Dtrap.c759 trap_pfault(struct trapframe *frame, bool usermode, vm_offset_t eva, in trap_pfault() argument
768 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
833 if (usermode) { in trap_pfault()
841 map = usermode ? &p->p_vmspace->vm_map : kernel_map; in trap_pfault()
848 if (!usermode && td->td_intr_nesting_level != 0) { in trap_pfault()
889 if (usermode) in trap_pfault()
/freebsd-14.2/sys/amd64/amd64/
H A Dtrap.c708 trap_pfault(struct trapframe *frame, bool usermode, int *signo, int *ucode) in trap_pfault() argument
717 MPASS(!usermode || (signo != NULL && ucode != NULL)); in trap_pfault()
771 if (usermode) { in trap_pfault()
792 if (!usermode && (td->td_intr_nesting_level != 0 || in trap_pfault()
817 if (usermode) { in trap_pfault()
829 if (usermode && trap_is_pti(frame)) in trap_pfault()
861 if (usermode) in trap_pfault()
/freebsd-14.2/sys/amd64/vmm/
H A Dvmm_instruction_emul.c2027 pf_error_code(int usermode, int prot, int rsvd, uint64_t pte) in pf_error_code() argument
2035 if (usermode) in pf_error_code()
2068 int nlevels, pfcode, ptpshift, ptpindex, retval, usermode, writable; in _vm_gla2gpa() local
2076 usermode = (paging->cpl == 3 ? 1 : 0); in _vm_gla2gpa()
2121 (usermode && (pte32 & PG_U) == 0) || in _vm_gla2gpa()
2124 pfcode = pf_error_code(usermode, prot, 0, in _vm_gla2gpa()
2181 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2211 (usermode && (pte & PG_U) == 0) || in _vm_gla2gpa()
2214 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2231 pfcode = pf_error_code(usermode, prot, 1, in _vm_gla2gpa()
/freebsd-14.2/sys/sys/
H A Dsystm.h375 void hardclock(int cnt, int usermode);
377 void statclock(int cnt, int usermode);
378 void profclock(int cnt, int usermode, uintfptr_t pc);
/freebsd-14.2/lib/libpmcstat/
H A Dlibpmcstat.h284 uintfptr_t *cc, int usermode, uint32_t cpu);
/freebsd-14.2/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm845-cheza.dtsi1141 * Hogs prevent usermode from changing the value. A GPIO can be both