Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 4 of 4) sorted by relevance

/malloc/
A Dmalloc-check.c26 #define SAFE_CHAR_OFFSET(p,offset) \ argument
27 ((unsigned char *) tag_at (((unsigned char *) p) + offset))
143 unsigned long offset, page_mask = GLRO (dl_pagesize) - 1; in mem2chunk_check() local
148 offset = (unsigned long) mem & page_mask; in mem2chunk_check()
149 if ((offset != MALLOC_ALIGNMENT && offset != 0 && offset != 0x10 && in mem2chunk_check()
150 offset != 0x20 && offset != 0x40 && offset != 0x80 && offset != 0x100 && in mem2chunk_check()
151 offset != 0x200 && offset != 0x400 && offset != 0x800 && offset != 0x1000 && in mem2chunk_check()
152 offset < 0x2000) || in mem2chunk_check()
A Dmtrace-impl.c51 ptrdiff_t offset = in tr_where() local
57 offset = -offset; in tr_where()
63 offset); in tr_where()
A Dmemusage.c595 mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset) in mmap() argument
609 result = (*mmapp)(start, len, prot, flags, fd, offset); in mmap()
648 mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset) in mmap64() argument
662 result = (*mmap64p)(start, len, prot, flags, fd, offset); in mmap64()
A Dmalloc.c3077 INTERNAL_SIZE_T offset = prev_size (p); in mremap_chunk() local
3083 uintptr_t block = (uintptr_t) p - offset; in mremap_chunk()
3085 size_t total_size = offset + size; in mremap_chunk()
3091 new_size = ALIGN_UP (new_size + offset + SIZE_SZ, pagesize); in mremap_chunk()
3105 p = (mchunkptr) (cp + offset); in mremap_chunk()
3109 assert (prev_size (p) == offset); in mremap_chunk()
3110 set_head (p, (new_size - offset) | IS_MMAPPED); in mremap_chunk()
3113 new = atomic_exchange_and_add (&mp_.mmapped_mem, new_size - size - offset) in mremap_chunk()
3114 + new_size - size - offset; in mremap_chunk()

Completed in 19 milliseconds