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

Function cache_fpl_partial_impl

freebsd/kern/vfs_cache.c:3921–3932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3919#define cache_fpl_aborted(x) cache_fpl_aborted_impl((x), __LINE__)
3920
3921static int __noinline
3922cache_fpl_partial_impl(struct cache_fpl *fpl, int line)
3923{
3924
3925 KASSERT(fpl->status == CACHE_FPL_STATUS_UNSET,
3926 ("%s: setting to partial at %d, but already set to %d at %d\n",
3927 __func__, line, fpl->status, fpl->line));
3928 cache_fpl_smr_assert_entered(fpl);
3929 fpl->status = CACHE_FPL_STATUS_PARTIAL;
3930 fpl->line = line;
3931 return (cache_fplookup_partial_setup(fpl));
3932}
3933
3934#define cache_fpl_partial(x) cache_fpl_partial_impl((x), __LINE__)
3935

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected