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

Function check_ring_op

dpdk/app/test/test_ring_stress_impl.h:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172static int
173check_ring_op(uint32_t exp, uint32_t res, uint32_t lc,
174 const char *fname, const char *opname)
175{
176 if (exp != res) {
177 printf("%s(lc=%u) failure: %s expected: %u, returned %u\n",
178 fname, lc, opname, exp, res);
179 return -ENOSPC;
180 }
181 return 0;
182}
183
184static int
185test_worker(void *arg, const char *fname, int32_t prcs)

Callers 1

test_workerFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected