Home
last modified time | relevance | path

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

/freebsd-12.1/sys/arm/arm/
H A Dtrap-v6.c235 if (usermode) in abort_imprecise()
251 if (usermode) { in abort_debug()
289 bool usermode; in abort_handler() local
321 if (usermode) in abort_handler()
421 if (usermode) { in abort_handler()
465 if (usermode) in abort_handler()
509 if (!usermode) { in abort_handler()
528 if (usermode) in abort_handler()
554 bool usermode; in abort_fatal() local
593 if (usermode) in abort_fatal()
[all …]
H A Dpmap-v6.c6430 pmap_fault(pmap_t pmap, vm_offset_t far, uint32_t fsr, int idx, bool usermode) in pmap_fault() argument
6451 if (!usermode || (idx != FAULT_ALIGN && idx != FAULT_PERM_L2)) { in pmap_fault()
6466 if (!usermode || (idx != FAULT_ALIGN && in pmap_fault()
6520 if (idx == FAULT_TRAN_L1 && usermode && cp15_ats1cur_check(far) == 0) { in pmap_fault()
/freebsd-12.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.c132 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() argument
142 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_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-12.1/sys/riscv/riscv/
H A Dtrap.c170 data_abort(struct trapframe *frame, int usermode) in data_abort() argument
198 if (usermode) in data_abort()
246 if (usermode) { in data_abort()
264 if (usermode) in data_abort()
/freebsd-12.1/sys/kern/
H A Dkern_clock.c425 hardclock(int cnt, int usermode) in hardclock() argument
454 if (usermode && in hardclock()
626 statclock(int cnt, int usermode) in statclock() argument
640 if (usermode) { in statclock()
711 profclock(int cnt, int usermode, uintfptr_t pc) in profclock() argument
720 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-12.1/sys/i386/i386/
H A Dtrap.c772 trap_pfault(struct trapframe *frame, int usermode, vm_offset_t eva) in trap_pfault() argument
842 if (usermode) in trap_pfault()
847 map = usermode ? &p->p_vmspace->vm_map : kernel_map; in trap_pfault()
854 if (!usermode && td->td_intr_nesting_level != 0) { in trap_pfault()
897 if (!usermode) { in trap_pfault()
/freebsd-12.1/sys/amd64/amd64/
H A Dtrap.c716 trap_pfault(struct trapframe *frame, int usermode) in trap_pfault() argument
779 if (usermode) in trap_pfault()
797 if (!usermode && (td->td_intr_nesting_level != 0 || in trap_pfault()
830 if (usermode && trap_is_pti(frame)) in trap_pfault()
862 if (!usermode) { in trap_pfault()
/freebsd-12.1/sys/mips/mips/
H A Dtrap.c517 int type, usermode; in trap() local
542 usermode = 1; in trap()
544 usermode = 0; in trap()
628 if (!usermode) { in trap()
660 if (!usermode) in trap()
729 if (!usermode) { in trap()
735 if (!usermode) { in trap()
817 if (!usermode && dtrace_invop_jump_addr != 0) { in trap()
/freebsd-12.1/sys/amd64/vmm/
H A Dvmm_instruction_emul.c1919 pf_error_code(int usermode, int prot, int rsvd, uint64_t pte) in pf_error_code() argument
1927 if (usermode) in pf_error_code()
1960 int nlevels, pfcode, ptpshift, ptpindex, retval, usermode, writable; in _vm_gla2gpa() local
1968 usermode = (paging->cpl == 3 ? 1 : 0); in _vm_gla2gpa()
2013 (usermode && (pte32 & PG_U) == 0) || in _vm_gla2gpa()
2016 pfcode = pf_error_code(usermode, prot, 0, in _vm_gla2gpa()
2073 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2099 (usermode && (pte & PG_U) == 0) || in _vm_gla2gpa()
2102 pfcode = pf_error_code(usermode, prot, 0, pte); in _vm_gla2gpa()
2119 pfcode = pf_error_code(usermode, prot, 1, in _vm_gla2gpa()
/freebsd-12.1/sys/sys/
H A Dsystm.h372 void hardclock(int cnt, int usermode);
375 void statclock(int cnt, int usermode);
376 void profclock(int cnt, int usermode, uintfptr_t pc);
/freebsd-12.1/lib/libpmcstat/
H A Dlibpmcstat.h286 uintfptr_t *cc, int usermode, uint32_t cpu);
/freebsd-12.1/contrib/binutils/gas/po/
H A Dgas.pot7570 msgid "MT usermode bit not 0 or 1 (%lu)"