enum rpc_map_flags

Overview

TA-independent flags for mmap(). More…

#include <te_rpc_sys_mman.h>

enum rpc_map_flags {
    RPC_MAP_SHARED    = 0x01,
    RPC_MAP_PRIVATE   = 0x02,
    RPC_MAP_FIXED     = 0x04,
    RPC_MAP_ANONYMOUS = 0x08,
    RPC_MAP_GROWSDOWN = 0x10,
    RPC_MAP_LOCKED    = 0x20,
    RPC_MAP_POPULATE  = 0x40,
    RPC_MAP_NONBLOCK  = 0x80,
    RPC_MAP_STACK     = 0x100,
    RPC_MAP_HUGETLB   = 0x200,
    RPC_MAP_UNKNOWN   = 0x800,
};

Detailed Documentation

TA-independent flags for mmap().

Enum Values

RPC_MAP_SHARED

Shared mapping

RPC_MAP_PRIVATE

Private mapping

RPC_MAP_FIXED

Place mapping exactly at specified addr

RPC_MAP_ANONYMOUS

Mapping not backed by a file

RPC_MAP_GROWSDOWN

Mapping should extend downward in memory

RPC_MAP_LOCKED

Pages are locked

RPC_MAP_POPULATE

Populate (prefault) page tables

RPC_MAP_NONBLOCK

Do not block on I/O

RPC_MAP_STACK

Allocate at address suitable for process or thread stack

RPC_MAP_HUGETLB

Huge page mapping

RPC_MAP_UNKNOWN

Unknown flag