Home
last modified time | relevance | path

Searched refs:td_pinned (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/sys/
H A Dkpilite.h38 td->td_pinned++; in sched_pin_lite()
47 KASSERT(td->td_pinned > 0, ("sched_unpin called on non pinned thread")); in sched_unpin_lite()
49 td->td_pinned--; in sched_unpin_lite()
H A Dsched.h175 curthread->td_pinned++; in sched_pin()
183 MPASS(curthread->td_pinned > 0); in sched_unpin()
184 curthread->td_pinned--; in sched_unpin()
H A Dproc.h284 int td_pinned; /* (k) Temporary cpu pin count. */ member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c271 MPASS(curthread->td_pinned != 0); in linux_rcu_read_lock_held()
363 old_pinned = td->td_pinned; in linux_synchronize_rcu()
367 td->td_pinned = 0; in linux_synchronize_rcu()
383 td->td_pinned = old_pinned; in linux_synchronize_rcu()
/freebsd/sys/kern/
H A Dsubr_epoch.c727 old_pinned = td->td_pinned; in epoch_wait_preempt()
731 td->td_pinned = 0; in epoch_wait_preempt()
747 td->td_pinned = old_pinned; in epoch_wait_preempt()
866 MPASS(td->td_pinned); in in_epoch_verbose_preempt()
984 old_pinned = td->td_pinned; in epoch_drain_callbacks()
987 td->td_pinned = 0; in epoch_drain_callbacks()
1007 td->td_pinned = old_pinned; in epoch_drain_callbacks()
H A Dgenoffset.c38 OFFSYM(td_pinned, thread, int);
H A Dsubr_sfbuf.c120 KASSERT(curthread->td_pinned > 0 || (flags & SFB_CPUPRIVATE) == 0, in sf_buf_alloc()
H A Dsubr_trap.c179 KASSERT(td->td_pinned == 0 || (td->td_pflags & TDP_CALLCHAIN) != 0, in userret()
H A Dsched_4bsd.c1356 if (smp_started && (td->td_pinned != 0 || td->td_flags & TDF_BOUND || in sched_add()
1358 if (td->td_pinned != 0) in sched_add()
1817 if (td->td_pinned != 0 || td->td_flags & TDF_BOUND) in sched_affinity()
H A Dsched_ule.c109 #define THREAD_CAN_MIGRATE(td) ((td)->td_pinned == 0)
H A Dvfs_subr.c3837 MPASS(curthread->td_pinned > 0); in vdbatch_process()
/freebsd/sys/x86/iommu/
H A Dintel_dmar.h416 old_td_pinned = curthread->td_pinned
418 KASSERT(curthread->td_pinned == old_td_pinned, \
419 ("pin count leak: %d %d %s:%d", curthread->td_pinned, \
/freebsd/sys/dev/hyperv/vmbus/
H A Dhyperv_mmu.c158 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in hv_vm_tlb_flush()
/freebsd/sys/amd64/amd64/
H A Dmp_machdep.c603 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in smp_targeted_tlb_shootdown_native()
/freebsd/sys/i386/i386/
H A Dpmap.c1577 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in pmap_pte_quick()
1611 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in pmap_pte_quick3()
2811 else if (curthread->td_pinned > 0 && rw_wowned(&pvh_global_lock)) { in pmap_demote_pde()
3045 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in pmap_remove_page()
3064 KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); in pmap_remove_ptes()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_mod.c2227 KASSERT(td->td_pinned == 1, in pmc_hook_handler()
2245 KASSERT(td->td_pinned == 1, in pmc_hook_handler()