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

Function bpf_timed_out

freebsd/net/bpf.c:1131–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129}
1130
1131static void
1132bpf_timed_out(void *arg)
1133{
1134 struct bpf_d *d = (struct bpf_d *)arg;
1135
1136 BPFD_LOCK_ASSERT(d);
1137
1138 if (callout_pending(&d->bd_callout) ||
1139 !callout_active(&d->bd_callout))
1140 return;
1141 if (d->bd_state == BPF_WAITING) {
1142 d->bd_state = BPF_TIMED_OUT;
1143 if (d->bd_slen != 0)
1144 bpf_wakeup(d);
1145 }
1146}
1147
1148static int
1149bpf_ready(struct bpf_d *d)

Callers

nothing calls this directly

Calls 1

bpf_wakeupFunction · 0.85

Tested by

no test coverage detected