| /freebsd-14.2/sys/arm/arm/ |
| H A D | trap-v6.c | 231 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 D | pmap-v6.c | 6391 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 D | pmcpl_annotate.c | 80 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 D | pmcpl_annotate_cg.c | 83 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 D | pmcpl_callgraph.c | 131 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 D | pmcpl_annotate.h | 39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_annotate_cg.h | 42 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_calltree.h | 37 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_gprof.h | 41 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_callgraph.h | 62 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_gprof.c | 413 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 D | pmcpl_calltree.c | 728 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 D | kern_clock.c | 453 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 D | kern_clocksource.c | 160 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 D | trap.c | 206 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 D | trap.c | 759 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 D | trap.c | 708 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 D | vmm_instruction_emul.c | 2027 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 D | systm.h | 375 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 D | libpmcstat.h | 284 uintfptr_t *cc, int usermode, uint32_t cpu);
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | sdm845-cheza.dtsi | 1141 * Hogs prevent usermode from changing the value. A GPIO can be both
|