| /src/lib/libbsdmalloc/ |
| Makefile | 11 CFLAGS+= -fno-builtin-aligned_alloc
|
| malloc.c | 496 * - aligned_alloc (C11) 527 aligned_alloc(size_t alignment, size_t size) function in typeref:typename:void *
|
| /src/lib/libc/stdlib/ |
| aligned_alloc.c | 1 /* $NetBSD: aligned_alloc.c,v 1.3 2024/08/18 18:47:20 riastradh Exp $ */ 36 __RCSID("$NetBSD: aligned_alloc.c,v 1.3 2024/08/18 18:47:20 riastradh Exp $"); 42 aligned_alloc(size_t alignment, size_t size) function in typeref:typename:void *
|
| /src/sbin/newfs/ |
| extern.h | 78 #define aligned_alloc(align, size) malloc((size)) macro
|
| newfs.c | 627 if ((buf = aligned_alloc(DEV_BSIZE, bufsize)) == NULL)
|
| mkfs.c | 204 if ((fsun = aligned_alloc(DEV_BSIZE, sizeof(*fsun))) == NULL) 207 if ((cgun = aligned_alloc(DEV_BSIZE, sizeof(*cgun))) == NULL)
|
| /src/distrib/utils/libhack/ |
| Makefile.inc | 28 aligned_alloc.o regcomp.o regexec.o wrap.o 98 aligned_alloc.o: ${HACKSRC}/../../../lib/libc/stdlib/aligned_alloc.c
|
| /src/tests/lib/libc/stdlib/ |
| Makefile | 37 CFLAGS.t_posix_memalign.c+= -fno-builtin-aligned_alloc
|
| t_posix_memalign.c | 135 atf_tc_set_md_var(tc, "descr", "Checks aligned_alloc(3)"); 152 void *const p = aligned_alloc(align[i], size[j]); 161 * C17, 7.22.3.1 The aligned_alloc function, 171 * out aligned_alloc(n, 0) for any n, but it's 178 "aligned_alloc(%zu, %zu): %p", 183 "aligned_alloc(%zu, %zu): %s", 190 "aligned_alloc(%zu, %zu): %p, %s", 194 "aligned_alloc(%zu, %zu): %s", 211 "aligned_alloc(%zu, %zu): %p", 215 "aligned_alloc(&p, %zu, %zu): %p, %s" [all...] |
| /src/lib/librumpuser/ |
| configure.ac | 30 getenv_r posix_memalign memalign aligned_alloc \
|
| rumpuser_pth.c | 148 NOFAIL(mtx = aligned_alloc(RUMPUSER_LOCKALIGN, allocsz)); 361 NOFAIL(rw = aligned_alloc(RUMPUSER_LOCKALIGN, allocsz));
|
| rumpuser_port.h | 207 aligned_alloc(size_t alignment, size_t size) function in typeref:typename:void *
|
| /src/sbin/fsck_ffs/ |
| setup.c | 130 sblk.b_un.b_buf = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 131 sblock = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 132 asblk.b_un.b_buf = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 133 altsblock = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 462 sblock->fs_csp = (struct csum *)aligned_alloc(DEV_BSIZE, 498 blockmap = aligned_alloc(DEV_BSIZE, bmapsize); 532 cgrp = aligned_alloc(DEV_BSIZE, sblock->fs_cgsize);
|
| fsck.h | 402 #define aligned_alloc(align, size) malloc((size)) macro
|
| utilities.c | 138 bufp = aligned_alloc(DEV_BSIZE, (unsigned int)sblock->fs_bsize); 144 bufp = aligned_alloc(DEV_BSIZE, (unsigned int)APPLEUFS_LABEL_SIZE); 156 bufp = aligned_alloc(DEV_BSIZE, (unsigned int)sblock->fs_bsize);
|
| inode.c | 466 (inodebuf = aligned_alloc(DEV_BSIZE, (unsigned)inobufsize)) == NULL)
|
| /src/sbin/nvmectl/ |
| wdc.c | 128 buf = aligned_alloc(page_size, NVME_MAX_XFER_SIZE);
|
| firmware.c | 126 if ((chunk = aligned_alloc(PAGE_SIZE, NVME_MAX_XFER_SIZE)) == NULL)
|
| /src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
| lsan_interceptors.cc | 122 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { 127 #define LSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc)
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_malloc_linux.cc | 184 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) {
|
| /src/include/ |
| stdlib.h | 232 void *aligned_alloc(size_t, size_t);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| msan_interceptors.cc | 189 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) {
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_interceptors.cc | 815 TSAN_INTERCEPTOR(void*, aligned_alloc, uptr align, uptr sz) { 818 SCOPED_INTERCEPTOR_RAW(aligned_alloc, align, sz);
|