Lines Matching defs:pagesize
388 uintptr_t pagesize = -1, mask, length;
392 pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE);
394 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE);
396 pagesize = (uintptr_t) getpagesize ();
399 if ((uintptr_t) -1L == pagesize) {
400 DEBUG_MSG_FUNC (BLOB, blob, "failed to get pagesize: %s", strerror (errno));
403 DEBUG_MSG_FUNC (BLOB, blob, "pagesize is %lu", (unsigned long) pagesize);
405 mask = ~(pagesize-1);
407 length = (const char *) (((uintptr_t) blob->data + blob->length + pagesize-1) & mask) - addr;