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

Function pf_ref_state

freebsd/net/pfvar.h:1453–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1451extern void pf_free_state(struct pf_state *);
1452
1453static __inline void
1454pf_ref_state(struct pf_state *s)
1455{
1456
1457 refcount_acquire(&s->refs);
1458}
1459
1460static __inline int
1461pf_release_state(struct pf_state *s)

Callers 2

pfsync_deferFunction · 0.85
pfsync_q_insFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected