Searched refs:WORDSIZE (Results 1 - 9 of 9) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/watchmalloc/common/
H A Dmallint.h61 #define WORDSIZE (sizeof (WORD)) macro
63 #define ROUND(s) if ((s)%WORDSIZE) (s) += (WORDSIZE - ((s)%WORDSIZE))
112 #define DATA(b) (((char *)(b)) + WORDSIZE)
113 #define BLOCK(d) ((TREE *)(((char *)(d)) - WORDSIZE))
116 #define NEXT(b) ((TREE *)(((char *)(b)) + RSIZE(b) + WORDSIZE))
117 #define BOTTOM(b) ((DATA(b) + RSIZE(b) + WORDSIZE) == Baddr)
H A Dmalloc.c106 static TREE *List[MINSIZE/WORDSIZE-1];
107 static TREE *Last[MINSIZE/WORDSIZE-1];
110 #define NPS (WORDSIZE*8)
118 ASSERT(size % WORDSIZE == 0);
121 size = WORDSIZE;
124 i = size / WORDSIZE - 1;
129 ASSERT((size + WORDSIZE) * NPS >= MINSIZE);
132 if ((np = malloc_unlocked((size + WORDSIZE)*NPS)) == NULL)
180 ASSERT(WORDSIZE == ALIGN);
264 if ((n = (SIZE(sp) - size)) >= MINSIZE + WORDSIZE) {
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dmallint.h62 #define WORDSIZE (sizeof (WORD)) macro
64 #define ROUND(s) if (s % WORDSIZE) s += (WORDSIZE - (s % WORDSIZE))
142 #define DATA(b) ((char *)(((uintptr_t)(b)) + WORDSIZE))
143 #define BLOCK(d) ((TREE *)(((uintptr_t)(d)) - WORDSIZE))
145 #define LAST(b) (*((TREE **)(((uintptr_t)(b)) - WORDSIZE)))
146 #define NEXT(b) ((TREE *)(((uintptr_t)(b)) + SIZE(b) + WORDSIZE))
147 #define BOTTOM(b) ((DATA(b) + SIZE(b) + WORDSIZE) == Baddr)
H A Dmemalign.c95 * (MINSIZE + WORDSIZE).
107 while (align < MINSIZE + WORDSIZE)
109 reqsize = nbytes + align + (MINSIZE + WORDSIZE);
149 if (frag_size < MINSIZE + WORDSIZE) {
154 * we forced align >= MINSIZE + WORDSIZE above.
161 frag_size -= WORDSIZE;
171 if (frag_size >= MINSIZE + WORDSIZE) {
179 frag_size -= WORDSIZE;
H A Dmalloc.c118 static TREE *List[MINSIZE/WORDSIZE-1]; /* lists of small blocks */
126 ASSERT(size % WORDSIZE == 0);
129 size = WORDSIZE;
132 i = size / WORDSIZE - 1;
138 #define NPS (WORDSIZE*8)
139 ASSERT((size + WORDSIZE) * NPS >= MINSIZE);
142 if ((List[i] = _malloc_unlocked((size + WORDSIZE) * NPS)) == 0)
186 ASSERT(WORDSIZE == ALIGN);
280 if ((n = (SIZE(sp) - size)) >= MINSIZE + WORDSIZE) {
281 n -= WORDSIZE;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/look/
H A Dlook.c27 #define WORDSIZE 257 macro
28 char entry[WORDSIZE];
29 char word[WORDSIZE];
30 char key[WORDSIZE];
161 int avail = WORDSIZE - 1;
181 int avail = WORDSIZE - 1;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/
H A Dpreenlib.c91 #define WORDSIZE (NBBY * sizeof (uint_t)) macro
378 newsize = howmany(unit+1, WORDSIZE);
392 devp->unitmap[unit / WORDSIZE] |= (1 << (unit % WORDSIZE));
/opensolaris-onvv-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c102 #define WORDSIZE sizeof (int) macro
/opensolaris-onvv-gate/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm1234 } elsif (/^WORDSIZE:\s*(\S.*)$/) {

Completed in 247 milliseconds