mlock
int mlock(const void* address, size_t length);
typedef struct mlock mlock;
extern _IMPEXP_KERNEL int new_mlock(mlock *l, long c, const char *name);
extern _IMPEXP_KERNEL int free_mlock(mlock *l);
new_mlock(mlock *l, long c, const char *name)
free_mlock(mlock *l)
typedef struct mlock mlock;
extern _IMPEXP_KERNEL int new_mlock(mlock *l, long c, const char *name);
extern _IMPEXP_KERNEL int free_mlock(mlock *l);
typedef struct mlock mlock;
extern _IMPEXP_KERNEL int new_mlock(mlock *l, long c, const char *name);
extern _IMPEXP_KERNEL int free_mlock(mlock *l);
int result = mlock(space + B_PAGE_SIZE, B_PAGE_SIZE * 7);
result = mlock(space + 2 * B_PAGE_SIZE, B_PAGE_SIZE * 3);
result = mlock(space, B_PAGE_SIZE * 9);