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

Function cache_fpl_assert_status

freebsd/kern/vfs_cache.c:3831–3845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3829 VFS_SMR_ASSERT_NOT_ENTERED(); \
3830})
3831static void
3832cache_fpl_assert_status(struct cache_fpl *fpl)
3833{
3834
3835 switch (fpl->status) {
3836 case CACHE_FPL_STATUS_UNSET:
3837 __assert_unreachable();
3838 break;
3839 case CACHE_FPL_STATUS_DESTROYED:
3840 case CACHE_FPL_STATUS_ABORTED:
3841 case CACHE_FPL_STATUS_PARTIAL:
3842 case CACHE_FPL_STATUS_HANDLED:
3843 break;
3844 }
3845}
3846#else
3847#define cache_fpl_smr_assert_entered(fpl) do { } while (0)
3848#define cache_fpl_smr_assert_not_entered(fpl) do { } while (0)

Callers 1

cache_fplookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected