Searched refs:BLOCK (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dvmregion.c50 vd = SEG(BLOCK(addr))->vmdt;
H A Dvmclear.c75 tp = BLOCK(seg->baddr);
H A Dvmlast.c117 else s = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
124 SIZE(fp) = ((Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data) - sizeof(Head_t);
185 else oldsize = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
189 { s = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
209 SIZE(BLOCK(seg->baddr)) = BUSY;
239 s = (Vmuchar_t*)BLOCK(seg->baddr) -
H A Dvmprivate.c94 bp = BLOCK(seg->baddr);
223 SEG(BLOCK(seg->baddr)) = seg;
224 SIZE(BLOCK(seg->baddr)) = BUSY;
H A Dvmstat.c87 endb = BLOCK(seg->baddr);
H A Dvmbest.c541 bp = BLOCK(seg->baddr);
580 /**/ASSERT(SEG(BLOCK(seg->baddr)) == seg);
742 { b = BLOCK(addr);
800 bp = BLOCK(data); s = SIZE(bp);
875 rp = BLOCK(data); /**/ASSERT(ISBUSY(SIZE(rp)) && !ISJUNK(SIZE(rp)));
948 if(data && (type&VM_RSZERO) && (size = SIZE(BLOCK(data))&~BITS) > oldz )
1043 tp = BLOCK(data);
1050 if((np = BLOCK(data)) != tp ) /* need to free left part */
1053 np = BLOCK(data);
H A Dvmtrace.c264 for(b = SEGBLOCK(seg), endb = BLOCK(seg->baddr); b < endb; )
H A Dvmhdr.h352 #define BLOCK(d) ((Block_t*)((char*)(d) - sizeof(Head_t)) ) macro
395 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) )
H A Dmalloc.c347 Vmdata_t *vd = SEG(BLOCK(addr))->vmdt;
555 { if((copy = SIZE(BLOCK(data))&~BITS) > size )
/ast/src/lib/libvcodex/Vcmisc/
H A Dvctranspose.c202 #define BLOCK 32 /* transposing small blocks to be cache-friendly */ macro
203 for(r = 0; r < nrows; r += BLOCK)
204 { nr = (nrows-r) < BLOCK ? (nrows-r) : BLOCK;
205 for(c = 0; c < ncols; c += BLOCK)
206 { nc = (ncols-c) < BLOCK ? (ncols-c) : BLOCK;
/ast/src/cmd/std/
H A Ddd.c79 #define BLOCK (1<<4) macro
299 BLOCK,
642 if ((state.conv.value.number & (BLOCK|UNBLOCK)) == (BLOCK|UNBLOCK))
660 if (state.conv.value.number & (BLOCK|UNBLOCK))
663 error(3, "%s must be specified for %s=%s", state.cbs.name, state.conv.name, (state.conv.value.number & BLOCK) ? state.block.value.string : state.unblock.value.string);
712 if (state.in.special && !(state.conv.value.number & BLOCK) && (n = state.ibs.value.number))
782 if (state.conv.value.number & BLOCK)
/ast/src/lib/libcmd/
H A Dcut.c104 #define BLOCK 8*1024 macro
558 fdtmp = sftmp(BLOCK);
/ast/src/lib/libpp/
H A Dppproto.c179 #define BLOCK (16*CHUNK) macro
2204 else if (n > 2 * BLOCK) n = 0;
2223 * file read in BLOCK chunks
2226 n = BLOCK;

Completed in 47 milliseconds