Searched refs:SIZE (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libast/vmalloc/
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 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 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 Dvmlast.c54 { if(!(tp = seg->free) || (SIZE(tp)+sizeof(Head_t)) < size)
72 if((s = SIZE(tp)) >= size)
74 SIZE(next) = s - size;
124 SIZE(fp) = ((Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data) - sizeof(Head_t);
209 SIZE(BLOCK(seg->baddr)) = BUSY;
232 SIZE(tp) = s - sizeof(Head_t);
251 SIZE(tp) = (s - size) - sizeof(Head_t);
340 if(seg->size == (s = SIZE(fp)&~BITS))
397 SIZE(next) = s - sizeof(Head_t);
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;
H A Dvmtrace.c265 { 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 Dvmhdr.h291 #define TINIEST(b) (SIZE(b) == TINYSIZE) /* this type uses TLEFT */
345 #define SIZE(b) ((b)->head.head.size.size) macro
353 #define SELF(b) (b)->body.self[SIZE(b)/sizeof(Block_t*)-1]
355 #define NEXT(b) ((Block_t*)((b)->body.data + SIZE(b)) )
375 func((vd),SIZE(b),(b)) )
378 #define SEGWILD(b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= SEG(b)->baddr)
379 #define VMWILD(vd,b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= vd->seg->baddr)
395 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) )
419 #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS)
H A Dvmdebug.c294 if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) )
303 if((Vmuchar_t*)addr >= data && (Vmuchar_t*)addr < data+SIZE(b))
304 { if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) )
313 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
347 { if(ISBUSY(SIZE(b)) && !ISJUNK(SIZE(b)) )
352 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
588 if(ISJUNK(SIZE(
[all...]
H A Dmalloc.c555 { if((copy = SIZE(BLOCK(data))&~BITS) > size )
/ast/src/lib/libcmd/
H A Dstty.c105 #define SIZE 6 macro
211 { "cs5", SIZE, C_FLAG, 0, CSIZE, CS5 , C("Char size 5") },
212 { "cs6", SIZE, C_FLAG, 0, CSIZE, CS6 , C("Char size 6") },
213 { "cs7", SIZE, C_FLAG, 0, CSIZE, CS7 , C("Char size 7") },
214 { "cs8", SIZE, C_FLAG, 0, CSIZE, CS8 , C("Char size 8") },
554 case SIZE:
762 case SIZE:
847 listgroup(sp,SIZE,"Number of bits in a character");
/ast/src/lib/libvdelta/vd01/
H A Dvdio01.c59 if((n = (*READF(io))(DATA(io),SIZE(io),HERE(io),DELTA(io))) > 0)
86 return SIZE(io);
H A Dvdelhdr01.h212 #define SIZE(io) ((io)->size) macro
/ast/src/lib/libvdelta/
H A Dvdio.c59 if ((n = SIZE(io)) > LEFT(io))
89 return SIZE(io);
H A Dvdelhdr.h213 #define SIZE(io) ((io)->size) macro
/ast/src/cmd/tw/
H A Dfind.c129 NAME, USER, GROUP, INUM, SIZE, LINKS, PERM, EXEC, OK, CPIO, NCPIO, enumerator in enum:Command
465 "size", SIZE, Num|Stat|Unit, 0, "number[bcgkm]]", 0,
1507 case SIZE:
1689 case SIZE:
/ast/src/lib/libast/port/
H A Dmnt.c337 #define SIZE (16 * 1024)
360 if (!(mp = newof(0, Handle_t, 1, SIZE)))
362 if ((mp->count = mntctl(MCTL_QUERY, sizeof(Handle_t) + SIZE, &mp->info)) <= 0)
/ast/src/lib/libcodex/
H A Dcodex.c525 else if (strneq(v, "SIZE=", 5))
618 if (strneq(v, "SIZE=", 5))
/ast/src/cmd/html/
H A Dtroff2html.c4756 "BACKGROUND", "HREF", "HREF", "ID", "NAME", "SIZE", "SRC",

Completed in 296 milliseconds