| /onnv-gate/usr/src/lib/libc/port/gen/ |
| H A D | malloc.c | 148 SIZE(tp) = size; in _smalloc() 158 SETBIT0(SIZE(tp)); in _smalloc() 200 n = SIZE(sp); in _malloc_unlocked() 217 o_bit1 = SIZE(sp) & BIT1; in _malloc_unlocked() 218 SIZE(sp) = n; in _malloc_unlocked() 238 if (SIZE(tp) >= size) { in _malloc_unlocked() 239 if (n == 0 || n >= SIZE(tp)) { in _malloc_unlocked() 241 n = SIZE(tp); in _malloc_unlocked() 266 if (Bottom && size <= SIZE(Bottom)) { in _malloc_unlocked() 268 CLRBITS01(SIZE(sp)); in _malloc_unlocked() [all …]
|
| H A D | memalign.c | 128 blksize = SIZE(blk); in memalign() 160 SIZE(aligned_blk) = blksize | BIT0; in memalign() 162 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign() 175 blksize = SIZE(aligned_blk); in memalign() 176 SIZE(aligned_blk) = nbytes; in memalign() 178 SETOLD01(SIZE(aligned_blk), blksize); in memalign() 180 SIZE(blk) = frag_size | BIT0; in memalign()
|
| H A D | mallint.h | 84 #define SIZE(b) ((b)->t_s) macro 121 #define SIZE(b) (((b)->t_s).w_i) macro 144 #define SELFP(b) ((TREE **)(((uintptr_t)(b)) + SIZE(b))) 146 #define NEXT(b) ((TREE *)(((uintptr_t)(b)) + SIZE(b) + WORDSIZE)) 147 #define BOTTOM(b) ((DATA(b) + SIZE(b) + WORDSIZE) == Baddr)
|
| /onnv-gate/usr/src/uts/common/smbsrv/ |
| H A D | alloc.h | 61 #define MEM_MALLOC(AREA, SIZE) malloc(SIZE) argument 62 #define MEM_ZALLOC(AREA, SIZE) calloc((SIZE), 1) argument 64 #define MEM_REALLOC(AREA, PTR, SIZE) realloc((PTR), (SIZE)) argument 74 #define MEM_MALLOC(AREA, SIZE) smb_mem_alloc(SIZE) 75 #define MEM_ZALLOC(AREA, SIZE) smb_mem_zalloc(SIZE)
|
| /onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| H A D | vmbest.c | 100 if(SIZE(b) & (BUSY|JUNK|PFREE)) 106 if(SIZE(b) < MAXTINY) 107 return vmonlist(TINY(vd)[INDEX(SIZE(b))], b); 126 if((SIZE(b)&BUSY) == 0 || (SIZE(b)&JUNK) == 0) 133 for(t = CACHE(vd)[C_INDEX(SIZE(b))]; t; t = LINK(t)) 138 if(C_INDEX(SIZE(b)) < S_CACHE) 155 if(SIZE(node) & BITS) 159 if(SIZE(t) != SIZE(node)) 163 { if(SIZE(t) >= SIZE(node) ) 168 { if(SIZE(t) <= SIZE(node) ) [all …]
|
| H A D | vmprivate.c | 83 { s = SIZE(vd->wild) + sizeof(Head_t); 124 { /**/ ASSERT((SIZE(bp)&~BITS) == 0); 126 if(!ISPFREE(SIZE(bp)) ) 127 SIZE(bp) = size - sizeof(Head_t); 133 else REMOVE(vd,bp,INDEX(SIZE(bp)),t,(*searchf)); 134 SIZE(bp) += size; 141 SIZE(bp) += size; 145 SIZE(bp) = size - sizeof(Head_t); 168 SIZE(bp) = seg->baddr - (Vmuchar_t*)bp - 2*sizeof(Head_t); 185 seg->size = SIZE(bp); [all …]
|
| H A D | vmclear.c | 75 SIZE(tp) = size; 79 { SIZE(tp) |= BUSY|JUNK; 80 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))]; 81 CACHE(vd)[C_INDEX(SIZE(tp))] = tp; 86 SIZE(tp) = BUSY;
|
| H A D | vmstat.c | 84 { s = SIZE(b)&~BITS; 85 if(ISJUNK(SIZE(b)) || !ISBUSY(SIZE(b))) 102 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 106 { if((s = seg->free ? (SIZE(seg->free) + sizeof(Head_t)) : 0) > 0) 117 st->n_free += (SIZE(seg->free)+sizeof(Head_t))/s;
|
| H A D | vmpool.c | 83 (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size ) 89 { s = (SIZE(tp) & ~BITS) + sizeof(Head_t); 102 { SIZE(next) = POOLFREE; 110 { SIZE(next) = s - sizeof(Head_t); 163 if(SIZE(tp) == POOLFREE) /* may be a coincidence - make sure */ 213 SIZE(bp) = POOLFREE; 320 if(seg->size == (s = SIZE(fp)&~BITS))
|
| H A D | vmlast.c | 64 { if(!(tp = seg->free) || (SIZE(tp)+sizeof(Head_t)) < size) 85 if((s = SIZE(tp)) >= size) 87 SIZE(next) = s - size; 150 SIZE(fp) = ((Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data) - sizeof(Head_t); 247 SIZE(BLOCK(seg->baddr)) = BUSY; 270 SIZE(tp) = s - sizeof(Head_t); 289 SIZE(tp) = (s - size) - sizeof(Head_t); 375 if(seg->size == (s = SIZE(fp)&~BITS)) 443 SIZE(next) = s - sizeof(Head_t);
|
| H A D | vmhdr.h | 326 #define TINIEST(b) (SIZE(b) == TINYSIZE) /* this type uses TLEFT */ 380 #define SIZE(b) ((b)->head.head.size.size) macro 389 #define SELF(b) ((Block_t**)((b)->body.data + SIZE(b) - sizeof(Block_t*)) ) 391 #define NEXT(b) ((Block_t*)((b)->body.data + SIZE(b)) ) 411 func((vd),SIZE(b),(b)) ) 414 #define SEGWILD(b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= SEG(b)->baddr) 415 #define VMWILD(vd,b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= vd->seg->baddr) 431 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) 455 #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS)
|
| H A D | vmdebug.c | 301 if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) ) 310 if((Vmuchar_t*)addr >= data && (Vmuchar_t*)addr < data+SIZE(b)) 311 { if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) ) 320 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 360 { if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) ) 365 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 630 if(ISJUNK(SIZE(b)) || !ISBUSY(SIZE(b))) 655 next: b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS));
|
| H A D | vmtrace.c | 265 { if(ISJUNK(SIZE(b)) || !ISBUSY(SIZE(b))) 275 else s = SIZE(b)&~BITS; 279 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
|
| H A D | vmopen.c | 154 SIZE(b) = seg->baddr - (Vmuchar_t*)b - 2*sizeof(Head_t); 156 /**/ ASSERT(SIZE(b)%ALIGN == 0); 161 SIZE(NEXT(b)) = BUSY|PFREE;
|
| /onnv-gate/usr/src/lib/watchmalloc/common/ |
| H A D | malloc.c | 95 size_t sz = SIZE(tp) / sizeof (uint64_t); in copy_pattern() 138 SIZE(tp) = size; in smalloc() 158 SETBIT0(SIZE(tp)); in smalloc() 201 if (SIZE(tp) >= size) { /* branch left */ in malloc_unlocked() 202 if (n == 0 || n >= SIZE(tp)) { in malloc_unlocked() 204 n = SIZE(tp); in malloc_unlocked() 240 if (size <= SIZE(Bottom)) { in malloc_unlocked() 242 CLRBITS01(SIZE(sp)); in malloc_unlocked() 258 CLRBIT1(SIZE(tmp)); in malloc_unlocked() 259 ASSERT(ISBIT0(SIZE(tmp))); in malloc_unlocked() [all …]
|
| /onnv-gate/usr/src/cmd/oawk/ |
| H A D | makeprctab.c | 90 #define SIZE LASTTOKEN - FIRSTTOKEN macro 91 char *table[SIZE]; 92 char *names[SIZE]; 103 for (i = SIZE; --i >= 0; /* dummy */) in main() 110 printf("CELL *(*proctab[%d])() = {\n", SIZE); in main() 111 for (i = 0; i < SIZE; i++) in main() 117 printf("char *printname[%d] = {\n", SIZE); in main() 120 for (i = 0; i < SIZE; i++) in main()
|
| /onnv-gate/usr/src/cmd/saf/ |
| H A D | admutil.c | 85 static char buf[SIZE]; /* this is where we put the new name */ 156 char buf[SIZE]; /* scratch buffer */ 182 char dummy[SIZE]; /* scratch buffer */ in copy_file() 196 if (!fgets(dummy, SIZE, fp)) in copy_file() 206 if (!fgets(dummy, SIZE, fp)) in copy_file() 214 if (fgets(dummy, SIZE, fp) == NULL) { in copy_file() 241 char buf[SIZE]; /* scratch buffer */ in find_pm() 243 while (fgets(buf, SIZE, fp)) { in find_pm() 282 char buf[SIZE]; /* scratch buffer */ in do_config() 311 while(fgets(buf, SIZE, ifp)) { in do_config() [all …]
|
| H A D | pmadm.c | 128 char badargs[SIZE]; /* place to hold bad args to -f */ in main() 129 char buf[SIZE]; /* scratch buffer */ in main() 424 char buf[SIZE]; /* scratch buffer */ 425 char fname[SIZE]; /* scratch buffer for building names */ 558 char buf[SIZE]; /* scratch buffer */ 559 char fname[SIZE]; /* path to correct _pmtab */ 649 char buf[SIZE]; /* scratch buffer */ 650 char tbuf[SIZE]; /* scratch buffer */ 651 char fname[SIZE]; /* path to correct _pmtab */ 693 if (fgets(buf, SIZE, fp) == NULL) { [all …]
|
| H A D | log.c | 108 char buf[SIZE]; /* scratch buffer */ in log() 173 char buf[SIZE]; /* scratch buffer */ in debug()
|
| /onnv-gate/usr/src/lib/libc/sparc/crt/ |
| H A D | stret.s | 33 #define SIZE %o1 macro 66 and SIZE,MASK,TEMP 82 subcc SIZE,BYTES_PER_MOVE,SIZE 83 LD [FROM+SIZE],TEMP 85 ST TEMP,[TO+SIZE] /* (DELAY SLOT) */
|
| /onnv-gate/usr/src/cmd/awk/ |
| H A D | maketab.c | 107 #define SIZE LASTTOKEN - FIRSTTOKEN + 1 macro 108 char *table[SIZE]; 109 char *names[SIZE]; 127 printf("static uchar *printname[%d] = {\n", SIZE); in main() 148 printf("\nCell *(*proctab[%d])() = {\n", SIZE); in main() 149 for (i = 0; i < SIZE; i++) in main()
|
| /onnv-gate/usr/src/lib/libadm/common/ |
| H A D | mapfile-vers | 181 nbra { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 }; 183 loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 }; 184 loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 }; 185 locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 }; 187 loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 }; 188 loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 }; 189 locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
|
| /onnv-gate/usr/src/cmd/sendmail/libsm/ |
| H A D | t-strl.c | 24 #define SIZE 128 macro 33 char src1[N][SIZE], dst1[SIZE], dst2[SIZE];
|
| /onnv-gate/usr/src/grub/grub-0.97/util/ |
| H A D | grub-image.in | 80 SIZE=`expr $tarsize \* 130 / 100 / 1024`k 81 echo "# Creating $SIZE disk image \`$image'" 83 dd if=/dev/zero of=$image bs=$SIZE count=1 >/dev/null
|
| /onnv-gate/usr/src/common/openssl/crypto/bn/ |
| H A D | exp.c | 7 #define SIZE 256 macro 17 int j,i,size=SIZE,num=NUM,mod=MOD;
|