MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_chk_vma

Function ff_chk_vma

lib/ff_memory.c:277–280  ·  view source on GitHub ↗

1: vma in fstack page table; 0: vma not in fstack pages, in DPDK pool.

Source from the content-addressed store, hash-verified

275
276// 1: vma in fstack page table; 0: vma not in fstack pages, in DPDK pool.
277static inline int ff_chk_vma(const uint64_t virtaddr)
278{
279 return !!( virtaddr > ff_page_start && virtaddr < ff_page_end );
280}
281
282/*
283 * Get physical address of any mapped virtual address in the current process.

Callers 1

ff_if_send_onepktFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected