16 #ifndef included_linux_syscall_h 17 #define included_linux_syscall_h 20 #include <sys/syscall.h> 23 getcpu (
unsigned *cpu,
unsigned *node,
void *tcache)
25 return syscall (__NR_getcpu, cpu, node, tcache);
31 return syscall (__NR_set_mempolicy, mode, nodemask, maxnode);
38 return syscall (__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags);
43 int *status,
int flags)
45 return syscall (__NR_move_pages, pid, count, pages, nodes, status, flags);
48 #ifndef HAVE_MEMFD_CREATE 52 return syscall (__NR_memfd_create, name, flags);
static int getcpu(unsigned *cpu, unsigned *node, void *tcache)
static int memfd_create(const char *name, unsigned int flags)
static long set_mempolicy(int mode, const unsigned long *nodemask, unsigned long maxnode)
static int get_mempolicy(int *mode, unsigned long *nodemask, unsigned long maxnode, void *addr, unsigned long flags)
vl_api_gbp_vxlan_tunnel_mode_t mode
static long move_pages(int pid, unsigned long count, void **pages, const int *nodes, int *status, int flags)