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

Function ztest_lr_free

freebsd/contrib/openzfs/cmd/ztest/ztest.c:2375–2381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2373}
2374
2375static void
2376ztest_lr_free(void *lr, size_t lrsize, char *name)
2377{
2378 size_t namesize = name ? strlen(name) + 1 : 0;
2379
2380 umem_free(lr, lrsize + namesize);
2381}
2382
2383/*
2384 * Lookup a bunch of objects. Returns the number of objects not found.

Callers 5

ztest_createFunction · 0.85
ztest_removeFunction · 0.85
ztest_writeFunction · 0.85
ztest_truncateFunction · 0.85
ztest_setattrFunction · 0.85

Calls 1

umem_freeFunction · 0.85

Tested by

no test coverage detected