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

Function ioctl

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

Source from the content-addressed store, hash-verified

365}
366
367int
368ioctl(int sockfd, int request, void *p)
369{
370 if (unlikely(inited == 0)) {
371 INIT_FUNCTION(ioctl);
372 return real_ioctl(sockfd, request, p);
373 }
374
375 if (ff_fdisused(sockfd)) {
376 return ff_ioctl(sockfd, request, p);
377 } else {
378 return real_ioctl(sockfd, request, p);
379 }
380}
381
382int fcntl(int sockfd, int cmd, void *p)
383{

Callers 15

anetSetBlockFunction · 0.70
memtestFunction · 0.70
zmalloc_get_rssFunction · 0.70
getnbrinfoFunction · 0.50
ifinfoFunction · 0.50
ndp.cFile · 0.50
pfx_flushFunction · 0.50
rtr_flushFunction · 0.50
harmonize_rtrFunction · 0.50
setdefifFunction · 0.50
getdefifFunction · 0.50
openptyFunction · 0.50

Calls 2

ff_fdisusedFunction · 0.85
ff_ioctlFunction · 0.85

Tested by 2

memtestFunction · 0.56
cnxk_gpio_trigger_irqFunction · 0.40