MCPcopy Create free account
hub / github.com/F-Stack/f-stack / kstack_contains

Function kstack_contains

freebsd/sys/proc.h:1224–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224static __inline bool
1225kstack_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
1231static __inline __pure2 struct td_sched *
1232td_get_sched(struct thread *td)

Callers 4

stack_captureFunction · 0.85
unwind_frameFunction · 0.85
stack_captureFunction · 0.85
db_findstack_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected