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

Function readv

app/redis-6.2.6/src/anet_ff.c:352–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352ssize_t
353readv(int sockfd, const struct iovec *iov, int iovcnt)
354{
355 if (unlikely(inited == 0)) {
356 INIT_FUNCTION(readv);
357 return real_readv(sockfd, iov, iovcnt);
358 }
359
360 if (ff_fdisused(sockfd)) {
361 return ff_readv(sockfd, iov, iovcnt);
362 } else {
363 return real_readv(sockfd, iov, iovcnt);
364 }
365}
366
367int
368ioctl(int sockfd, int request, void *p)

Callers 2

zed_conf_read_stateFunction · 0.50
pmd_rx_burstFunction · 0.50

Calls 2

ff_fdisusedFunction · 0.85
ff_readvFunction · 0.85

Tested by

no test coverage detected