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

Function memzone_walk_clb

dpdk/app/test/test_memzone.c:966–972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964static int test_memzones_left;
965static int memzone_walk_cnt;
966static void memzone_walk_clb(const struct rte_memzone *mz,
967 void *arg __rte_unused)
968{
969 memzone_walk_cnt++;
970 if (!strncmp(TEST_MEMZONE_NAME(""), mz->name, RTE_MEMZONE_NAMESIZE))
971 test_memzones_left++;
972}
973
974static int
975test_memzone_basic(void)

Callers

nothing calls this directly

Calls 1

strncmpFunction · 0.85

Tested by

no test coverage detected