Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 25 of 106) sorted by relevance

12345

/titanic_51/usr/src/lib/libc/port/gen/
H A Dmalloc.c148 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(s in _malloc_unlocked()
[all...]
H A Dmemalign.c127 blksize = SIZE(blk); in memalign()
159 SIZE(aligned_blk) = blksize | BIT0; in memalign()
161 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign()
174 blksize = SIZE(aligned_blk); in memalign()
175 SIZE(aligned_blk) = nbytes; in memalign()
177 SETOLD01(SIZE(aligned_blk), blksize); in memalign()
179 SIZE(blk) = frag_size | BIT0; in memalign()
H A Dmallint.h84 #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)
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmbest.c91 if(SIZE(b) & (BUSY|JUNK|PFREE))
97 if(SIZE(b) < MAXTINY)
98 return vmonlist(TINY(vd)[INDEX(SIZE(b))], b);
117 if((SIZE(b)&BUSY) == 0 || (SIZE(b)&JUNK) == 0)
124 for(t = CACHE(vd)[C_INDEX(SIZE(b))]; t; t = LINK(t))
129 if(C_INDEX(SIZE(b)) < S_CACHE)
146 if(SIZE(node) & BITS)
150 if(SIZE(t) != SIZE(nod
[all...]
H A Dvmprivate.c97 { /**/ ASSERT((SIZE(bp)&~BITS) == 0);
100 if(!ISPFREE(SIZE(bp)) )
101 SIZE(bp) = size - sizeof(Head_t);
107 else REMOVE(vd,bp,INDEX(SIZE(bp)),tp,(*searchf));
108 SIZE(bp) += size;
115 SIZE(bp) += size;
119 SIZE(bp) = size - sizeof(Head_t);
142 SIZE(bp) = seg->baddr - (Vmuchar_t*)bp - 2*sizeof(Head_t);
159 seg->size = SIZE(bp);
165 SIZE(t
[all...]
H A Dvmclear.c66 SIZE(tp) = size;
70 { SIZE(tp) |= BUSY|JUNK;
71 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))];
72 CACHE(vd)[C_INDEX(SIZE(tp))] = tp;
77 SIZE(tp) = BUSY;
H A Dvmstat.c91 { s = SIZE(b)&~BITS;
92 if(ISJUNK(SIZE(b)) || !ISBUSY(SIZE(b)))
110 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
115 { if((s = seg->free ? (SIZE(seg->free) + sizeof(Head_t)) : 0) > 0)
126 st->n_free += (SIZE(seg->free)+sizeof(Head_t))/s;
H A Dvmpool.c76 (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size )
81 { s = (SIZE(tp) & ~BITS) + sizeof(Head_t);
91 { SIZE(next) = POOLFREE;
99 { SIZE(next) = s - sizeof(Head_t);
143 if(SIZE(tp) == POOLFREE) /* may be a coincidence - make sure */
179 SIZE(bp) = POOLFREE;
265 if(seg->size == (s = SIZE(fp)&~BITS))
H A Dvmopen.c144 SIZE(bp) = size - 2*sizeof(Head_t); /**/ASSERT(SIZE(bp) > 0 && (SIZE(bp)%ALIGN) == 0);
146 /**/ ASSERT(SIZE(bp)%ALIGN == 0);
152 SIZE(np) = BUSY|PFREE;
/titanic_51/usr/src/uts/common/smbsrv/
H A Dalloc.h62 #define MEM_MALLOC(AREA, SIZE) malloc(SIZE) argument
63 #define MEM_ZALLOC(AREA, SIZE) calloc((SIZE), 1) argument
65 #define MEM_REALLOC(AREA, PTR, SIZE) realloc((PTR), (SIZE)) argument
75 #define MEM_MALLOC(AREA, SIZE) smb_mem_alloc(SIZE)
76 #define MEM_ZALLOC(AREA, SIZE) smb_mem_zalloc(SIZE)
[all...]
/titanic_51/usr/src/lib/libast/common/vmalloc/
H A Dvmbest.c100 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 Dvmprivate.c83 { 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 Dvmclear.c75 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 Dvmstat.c84 { 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;
/titanic_51/usr/src/lib/watchmalloc/common/
H A Dmalloc.c95 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(tm in malloc_unlocked()
[all...]
/titanic_51/usr/src/cmd/oawk/
H A Dmakeprctab.c90 #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()
/titanic_51/usr/src/cmd/saf/
H A Dadmutil.c85 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, if in do_config()
[all...]
H A Dpmadm.c128 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, f
[all...]
/titanic_51/usr/src/lib/libc/sparc/crt/
H A Dstret.s33 #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) */
/titanic_51/usr/src/cmd/awk/
H A Dmaketab.c107 #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()
/titanic_51/usr/src/lib/libtermcap/common/
H A Dmapfile-vers45 BC { TYPE = COMMON; SIZE = 4; FLAGS = NODIRECT;
47 UP { TYPE = COMMON; SIZE = 4; FLAGS = NODIRECT;
51 BC { TYPE = COMMON; SIZE = 8; FLAGS = NODIRECT;
53 UP { TYPE = COMMON; SIZE = 8; FLAGS = NODIRECT;
56 PC { TYPE = COMMON; SIZE = 1; FLAGS = NODIRECT;
58 ospeed { TYPE = COMMON; SIZE = 2; FLAGS = NODIRECT;
/titanic_51/usr/src/test/zfs-tests/tests/functional/grow_pool/
H A Dsetup.ksh44 log_must set_partition $i "$cyl" $SIZE $DISK
49 log_must set_partition $SLICE "" $SIZE $DISK0
50 log_must set_partition $SLICE "" $SIZE $DISK1
/titanic_51/usr/src/lib/libadm/common/
H A Dmapfile-vers180 nbra { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
182 loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
183 loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
184 locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x4 };
186 loc1 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
187 loc2 { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
188 locs { TYPE = DATA; FILTER = libgen.so.1; SIZE = 0x8 };
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_002_pos.ksh65 partition_disk $SIZE $disk 6
82 log_must $MKFILE $SIZE /var/tmp/$FILEDISK0
83 log_must $MKFILE $SIZE /var/tmp/$FILEDISK1
84 log_must $MKFILE $SIZE /var/tmp/$FILEDISK2
/titanic_51/usr/src/test/zfs-tests/tests/functional/grow_replicas/
H A Dgrow_replicas_001_pos.ksh69 log_must set_partition $slice "$cyl" $SIZE $DISK
74 log_must set_partition 0 "" $SIZE $DISK0
75 log_must set_partition 0 "" $SIZE $DISK1

12345