memobj_is_always_contiguous()

Determine whether an object is always physically contiguous

Synopsis:

#include <memobj/handles.h>
bool memobj_is_always_contiguous(const struct memobj *obj)

Arguments:

obj
A handle to a memory object.

Library:

libmemobj

Description:

The memobj_is_always_contiguous() function determines whether an object is always physically contiguous. If the function returns true, memobj_lock_phys() always results in physically contiguous memory. Otherwise, use memobj_get_phys_layout() to check.

Returns:

This function returns true if the object was allocated with the MEMOBJ_CONTIG_REQUIRE attribute.

Page updated: