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

Function reap_kill_sched

freebsd/kern/kern_procctl.c:268–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266TAILQ_HEAD(reap_kill_tracker_head, reap_kill_tracker);
267
268static void
269reap_kill_sched(struct reap_kill_tracker_head *tracker, struct proc *p2)
270{
271 struct reap_kill_tracker *t;
272
273 t = malloc(sizeof(struct reap_kill_tracker), M_TEMP, M_WAITOK);
274 t->parent = p2;
275 TAILQ_INSERT_TAIL(tracker, t, link);
276}
277
278static int
279reap_kill(struct thread *td, struct proc *p, struct procctl_reaper_kill *rk)

Callers 1

reap_killFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected