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

Function prefetch

freebsd/net/iflib.c:1353–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1351
1352#if defined(__i386__) || defined(__amd64__)
1353static __inline void
1354prefetch(void *x)
1355{
1356 __asm volatile("prefetcht0 %0" :: "m" (*(unsigned long *)x));
1357}
1358static __inline void
1359prefetch2cachelines(void *x)
1360{

Callers 6

buf_ring_dequeue_scFunction · 0.85
prefetch_pktsFunction · 0.85
rxd_frag_to_sdFunction · 0.85
iflib_encapFunction · 0.85
iflib_tx_desc_freeFunction · 0.85
_ring_peek_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected