Home
last modified time | relevance | path

Searched refs:_Sfpage (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfwr.c48 { if((ssize_t)n < _Sfpage) /* no hole possible */
52 else while((ssize_t)n >= _Sfpage)
55 if(buf[0] == 0 && buf[_Sfpage-1] == 0)
82 if((s = sp-buf) >= _Sfpage) /* found a hole */
86 n -= _Sfpage;
87 buf += _Sfpage;
92 { if((ssize_t)n < _Sfpage)
106 if(s >= _Sfpage)
107 { s = (s/_Sfpage)*_Sfpage;
117 s = (ssize_t)n <= _Sfpage ? 1 : _Sfpage;
[all …]
H A Dsfsetbuf.c313 if(_Sfpage <= 0)
316 if((_Sfpage = (size_t)getpagesize()) <= 0)
318 _Sfpage = SF_PAGE;
332 { if(bufsize > _Sfpage)
334 else size = _Sfpage * SF_NMAP;
353 f->extent > 0 && f->extent < (Sfoff_t)_Sfpage )
355 else if((ssize_t)(size = _Sfpage) < bufsize)
H A Dsfmove.c135 { reg ssize_t maxw = 4*(_Sfpage > 0 ? _Sfpage : SF_PAGE);
H A Dsfrd.c163 if((a = (size_t)(f->here%_Sfpage)) != 0)
184 if((r >>= 1) < (_Sfpage*SF_NMAP) ||
H A Dsfhdr.h802 #define _Sfpage (_Sfextern.sf_page) macro