Lines Matching refs:alloc_buf
464 void *alloc_buf; in memalign() local
484 alloc_buf = malloc(alloc_size); in memalign()
486 if (alloc_buf == NULL) in memalign()
500 if ((offset = (uintptr_t)alloc_buf & (alignment - 1)) == 0) { in memalign()
514 taddr = ALIGN((uintptr_t)alloc_buf + size, in memalign()
516 data_size = taddr - (uintptr_t)alloc_buf; in memalign()
517 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
525 ret_buf = alloc_buf; in memalign()
538 ret_addr = ((uintptr_t)alloc_buf + shift); in memalign()
542 MEMALIGN_HEADER_ALLOC(ret_addr, shift, alloc_buf); in memalign()
565 alloc_buf); in memalign()
579 alloc_buf); in memalign()
583 taddr = ALIGN((uintptr_t)alloc_buf + in memalign()
589 shift = ret_addr - (uintptr_t)alloc_buf; in memalign()
599 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
617 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
624 alloc_buf); in memalign()
641 (uintptr_t)alloc_buf); in memalign()
642 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
647 alloc_buf); in memalign()
661 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
697 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()