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

Function kern_prefetch

freebsd/sys/kern_prefetch.h:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#ifdef _KERNEL
30
31static __inline void
32kern_prefetch(const volatile void *addr, void* before)
33{
34#if defined(__amd64__)
35 __asm __volatile("prefetcht1 (%1)":"=rm"(*((int32_t *)before)):"r"(addr):);
36#else
37/* __builtin_prefetch(addr);*/
38#endif
39}
40
41#endif /* _KERNEL */
42#endif /* __kern_prefetch_h__ */

Callers 6

tcp_input_dataFunction · 0.85
tcp_hptsiFunction · 0.85
rack_do_segment_nounlockFunction · 0.85
rack.cFile · 0.85
bbr_do_segment_nounlockFunction · 0.85
bbr.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected