Home
last modified time | relevance | path

Searched refs:aligned_blk (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libc/port/gen/
H A Dmemalign.c69 TREE *aligned_blk; /* The block to be returned */ in memalign() local
138 aligned_blk = BLOCK(alignedp); in memalign()
144 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign()
157 aligned_blk = _nextblk(aligned_blk, align); in memalign()
160 SIZE(aligned_blk) = blksize | BIT0; in memalign()
175 blksize = SIZE(aligned_blk); in memalign()
176 SIZE(aligned_blk) = nbytes; in memalign()
177 blk = NEXT(aligned_blk); in memalign()
178 SETOLD01(SIZE(aligned_blk), blksize); in memalign()
184 return (DATA(aligned_blk)); in memalign()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmemalign.c65 register Dblk aligned_blk; /* The block to be returned */ local
101 aligned_blk = (Dblk)(alignedp - ALIGNSIZ);
107 frag_size = (uint)aligned_blk - (uint)blk;
118 aligned_blk = nextblk(aligned_blk,align);
122 aligned_blk->size = blksize;
136 blk = nextblk(aligned_blk, nbytes);
138 aligned_blk->size -= frag_size;
141 return(aligned_blk->data);
/titanic_41/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1125 TREE *aligned_blk; /* The block to be returned */ in memalign() local
1190 aligned_blk = BLOCK(alignedp); in memalign()
1196 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign()
1210 aligned_blk = nextblk(aligned_blk, align); in memalign()
1213 SIZE(aligned_blk) = blksize | BIT0; in memalign()
1222 unprotect(aligned_blk); in memalign()
1234 blksize = SIZE(aligned_blk); in memalign()
1235 SIZE(aligned_blk) = nbytes; in memalign()
1237 blk = NEXT(aligned_blk); in memalign()
1238 SETOLD01(SIZE(aligned_blk), blksize); in memalign()
[all …]