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

Function sigfastblock_fetch_sig

freebsd/kern/kern_sig.c:4065–4079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4063}
4064
4065static bool
4066sigfastblock_fetch_sig(struct thread *td, bool sendsig, uint32_t *valp)
4067{
4068 uint32_t res;
4069
4070 if ((td->td_pflags & TDP_SIGFASTBLOCK) == 0)
4071 return (true);
4072 if (fueword32((void *)td->td_sigblock_ptr, &res) == -1) {
4073 sigfastblock_failed(td, sendsig, false);
4074 return (false);
4075 }
4076 *valp = res;
4077 td->td_sigblock_val = res & ~SIGFASTBLOCK_FLAGS;
4078 return (true);
4079}
4080
4081static void
4082sigfastblock_resched(struct thread *td, bool resched)

Callers 2

sys_sigfastblockFunction · 0.85
sigfastblock_fetchFunction · 0.85

Calls 2

fueword32Function · 0.85
sigfastblock_failedFunction · 0.85

Tested by

no test coverage detected