Searched refs:blksz (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwprefix.c83 ssize_t blksz; /* block size for signatures */ member in struct:_prefix_s
170 static int pfbuild(Pffile_t* pf, ssize_t blksz) argument
172 static int pfbuild(pf, blksz)
174 ssize_t blksz;
188 for(endo = (obj = pf->obj) + (size_t)(pf->sfsz/blksz); obj < endo; ++obj)
189 { if(!(dt = sfreserve(pf->sf, blksz, 0)) || sfvalue(pf->sf) < blksz)
191 if((k = pfhash(dt, blksz)) == PF_HUGE)
205 static ssize_t pfsegment(Pffile_t* pf, ssize_t ld, ssize_t lm, ssize_t mn, ssize_t blksz) argument
207 static ssize_t pfsegment(pf, ld, lm, mn, blksz)
252 pfparse(Pffile_t* pf, Vchash_t* dt, ssize_t n, Sfoff_t pos, ssize_t blksz) argument
305 pfwindow(Pffile_t* pf, Vcwmatch_t* wm, ssize_t blksz) argument
[all...]
/ast/src/lib/libast/sfio/
H A Dsffilbuf.c76 if(f->blksz > 0 && (f->here%f->blksz) == 0 )
77 { s = ((r + f->blksz-1)/f->blksz)*f->blksz;
H A Dsfsetbuf.c114 ssize_t bufsize, blksz; local
168 blksz = -1;
170 { blksz = (ssize_t)size;
241 f->blksz = (size_t)st.st_blksize;
412 /* blksz is used for aligning disk block boundary while reading data to
413 ** optimize data transfer from disk (eg, via direct I/O). blksz can be
415 ** blksz should also be a power-of-2 for optimal disk seeks.
417 if(blksz <= 0 || (blksz & (blksz
[all...]
H A Dsfseek.c225 f->iosz = ((f->iosz + f->blksz-1)/f->blksz)*f->blksz;
234 if(p < f->lpos && f->size > f->blksz && (p + f->blksz) > s)
239 else if(f->blksz > 0 && f->size >= 2*f->blksz)
240 r = p - (p%f->blksz);
/ast/src/lib/libast/include/
H A Dsfio_t.h49 size_t blksz; /* preferred block size */ \

Completed in 19 milliseconds