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

Function cc_cce_cleanup

freebsd/kern/kern_timeout.c:237–251  ·  view source on GitHub ↗

* Resets the execution entity tied to a specific callout cpu. */

Source from the content-addressed store, hash-verified

235 * Resets the execution entity tied to a specific callout cpu.
236 */
237static void
238cc_cce_cleanup(struct callout_cpu *cc, int direct)
239{
240
241 cc_exec_curr(cc, direct) = NULL;
242 cc_exec_cancel(cc, direct) = false;
243 cc_exec_waiting(cc, direct) = false;
244#ifdef SMP
245 cc_migration_cpu(cc, direct) = CPUBLOCK;
246 cc_migration_time(cc, direct) = 0;
247 cc_migration_prec(cc, direct) = 0;
248 cc_migration_func(cc, direct) = NULL;
249 cc_migration_arg(cc, direct) = NULL;
250#endif
251}
252
253/*
254 * Checks if migration is requested by a specific callout cpu.

Callers 2

callout_cpu_initFunction · 0.70
softclock_call_ccFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected