MCPcopy Index your code
hub / github.com/F-Stack/f-stack / callout_lock

Function callout_lock

lib/ff_kern_timeout.c:333–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333static struct callout_cpu *
334callout_lock(struct callout *c)
335{
336 struct callout_cpu *cc;
337 int cpu;
338
339 for (;;) {
340 cpu = c->c_cpu;
341 cc = CC_CPU(cpu);
342 CC_LOCK(cc);
343 if (cpu == c->c_cpu)
344 break;
345 CC_UNLOCK(cc);
346 }
347 return (cc);
348}
349
350static void
351callout_cc_add(struct callout *c, struct callout_cpu *cc,

Callers 3

untimeoutFunction · 0.70
callout_reset_tick_onFunction · 0.70
_callout_stop_safeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected