Bitcoin Core  24.99.0
P2P Digital Currency
Classes | Functions
lockedpool.cpp File Reference
#include <support/lockedpool.h>
#include <support/cleanse.h>
#include <sys/mman.h>
#include <sys/resource.h>
#include <limits.h>
#include <unistd.h>
#include <algorithm>
Include dependency graph for lockedpool.cpp:

Go to the source code of this file.


class  PosixLockedPageAllocator
 LockedPageAllocator specialized for OSes that don't try to be special snowflakes. More...


static size_t align_up (size_t x, size_t align)
 Align up to power of 2. More...

Function Documentation

◆ align_up()

static size_t align_up ( size_t  x,
size_t  align 

Align up to power of 2.

Definition at line 33 of file lockedpool.cpp.

Here is the caller graph for this function: