Searched refs:td_lock (Results 1 - 14 of 14) sorted by relevance
/freebsd-10.0-release/sys/kern/ |
H A D | kern_mutex.c | 637 m = td->td_lock; 673 if (m != td->td_lock) 678 if (m == td->td_lock) 700 lock = td->td_lock; 701 td->td_lock = &blocked_lock; 711 MPASS(td->td_lock == &blocked_lock); 712 atomic_store_rel_ptr((volatile void *)&td->td_lock, (uintptr_t)new); 722 lock = td->td_lock; 723 td->td_lock = new;
|
H A D | sched_4bsd.c | 364 MPASS(ctd->td_lock == td->td_lock); 689 thread0.td_lock = &sched_lock; 797 childtd->td_lock = &sched_lock; 975 * Block the td_lock in order to avoid breaking the critical path. 977 if (td->td_lock != &sched_lock) { 1027 MPASS(newtd->td_lock == &sched_lock); 1050 cpu_switch(td, newtd, tmtx != NULL ? tmtx : td->td_lock); 1084 MPASS(td->td_lock == &sched_lock); 1286 if (td->td_lock ! [all...] |
H A D | sched_ule.c | 987 td->td_lock = TDQ_LOCKPTR(to); 1190 if (td->td_lock == TDQ_LOCKPTR(tdq)) 1410 thread0.td_lock = TDQ_LOCKPTR(TDQ_SELF()); 1855 * Variadic version of thread_lock_unblock() that does not assume td_lock 1861 atomic_store_rel_ptr((volatile uintptr_t *)&td->td_lock, 1886 mtx = td->td_lock; 1901 MPASS(td->td_lock == TDQ_LOCKPTR(tdq)); 1904 MPASS(td->td_lock == TDQ_LOCKPTR(tdq)); 1959 * we always return with td_lock pointing to the current cpu's 1980 MPASS(td->td_lock [all...] |
H A D | subr_sleepqueue.c | 483 MPASS(td->td_lock != &sc->sc_lock);
|
/freebsd-10.0-release/sys/arm/arm/ |
H A D | genassym.c | 99 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
/freebsd-10.0-release/sys/mips/mips/ |
H A D | genassym.c | 73 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
/freebsd-10.0-release/sys/sys/ |
H A D | proc.h | 205 struct mtx *volatile td_lock; /* replaces sched lock */ member in struct:thread 329 struct mtx *__m = (td)->td_lock; \ 337 struct mtx *__m = (td)->td_lock; \
|
H A D | mutex.h | 127 mtx_unlock_spin((tdp)->td_lock)
|
/freebsd-10.0-release/sys/ia64/ia64/ |
H A D | machdep.c | 468 atomic_store_rel_ptr(&old->td_lock, mtx); 471 while (atomic_load_acq_ptr(&new->td_lock) == &blocked_lock) 499 while (atomic_load_acq_ptr(&new->td_lock) == &blocked_lock)
|
/freebsd-10.0-release/sys/ddb/ |
H A D | db_ps.c | 309 lock = (struct lock_object *)td->td_lock;
|
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | genassym.c | 86 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
/freebsd-10.0-release/sys/i386/i386/ |
H A D | genassym.c | 86 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
/freebsd-10.0-release/sys/powerpc/powerpc/ |
H A D | genassym.c | 199 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | genassym.c | 183 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
|
Completed in 177 milliseconds