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

Function sf_buf_kva

freebsd/mips/include/sf_buf.h:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#ifdef __mips_n64 /* In 64 bit the whole memory is directly mapped */
35
36static inline vm_offset_t
37sf_buf_kva(struct sf_buf *sf)
38{
39 vm_page_t m;
40
41 m = (vm_page_t)sf;
42 return (MIPS_PHYS_TO_DIRECT(VM_PAGE_TO_PHYS(m)));
43}
44
45static inline struct vm_page *
46sf_buf_page(struct sf_buf *sf)

Callers 1

uiomove_fromphysFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected