Searched refs:iosz (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfreserve.c | 38 reg ssize_t n, now, sz, iosz; local 111 iosz = -1; 113 { if((iosz = f->push->endb - f->push->next) == 0) 114 iosz = f->push->size; 115 if(iosz < sz) 116 iosz = sz; /* so only get what is asked for */ 119 { iosz = sz - n; /* get enough to fulfill requirement */ 120 if(size < 0 && iosz < (f->size - n) ) 121 iosz = f->size - n; /* get as much as possible */ 122 if(iosz <= 0) /* nothing to do */ [all …]
|
H A D | sfseek.c | 224 f->iosz = (f->next - f->data) + (f->endb - f->next)/2; 225 f->iosz = ((f->iosz + f->blksz-1)/f->blksz)*f->blksz; 227 if(f->iosz >= f->size) 228 f->iosz = 0; 245 if(f->iosz > 0 && (p > f->lpos || p < f->lpos-f->size) )
|
H A D | sffilbuf.c | 97 else if(justseek && n <= f->iosz && f->iosz <= f->size) 98 r = f->iosz; /* limit buffer filling */
|
H A D | sfread.c | 111 else if(justseek && n <= f->iosz && f->iosz <= f->size) 112 r = f->iosz; /* limit buffering */
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | sfio_t.h | 48 size_t iosz; /* preferred size for I/O */ \ 124 (f)->iosz = (size_t)0 /* iosz */ \
|
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 1277 char iosz; in do_format() local 1282 iosz = (do_megabytes ? 'M' : 'k'); in do_format() 1296 fstr, iosz, ch, ch); in do_format() 1318 ch, ch, iosz, ch, iosz, ch, header); in do_format() 1326 ch, ch, iosz, ch, iosz, ch, in do_format() 1360 fstr, ch, ch, iosz, ch, iosz, in do_format()
|