| 1222 | } |
| 1223 | |
| 1224 | static __inline bool |
| 1225 | kstack_contains(struct thread *td, vm_offset_t va, size_t len) |
| 1226 | { |
| 1227 | return (va >= td->td_kstack && va + len >= va && |
| 1228 | va + len <= td->td_kstack + td->td_kstack_pages * PAGE_SIZE); |
| 1229 | } |
| 1230 | |
| 1231 | static __inline __pure2 struct td_sched * |
| 1232 | td_get_sched(struct thread *td) |
no outgoing calls
no test coverage detected