Home
last modified time | relevance | path

Searched refs:SF_LOCKR (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfreserve.c75 type = SF_LOCKR;
76 else if(type != SF_LOCKR)
80 if(size == 0 && (type < 0 || type == SF_LOCKR) )
130 else if(type == SF_LOCKR && f->extent < 0 && (f->flags&SF_SHARE) )
161 if(type == SF_LOCKR && size > 0 && n > 0 )
170 else if(type == SF_LOCKR && size == 0 && (rsrv = _sfrsrv(f,0)) )
183 { if(type == SF_LOCKR && (rsrv = _sfrsrv(f, sz)) )
186 else if(type != SF_LOCKR && sz > f->size && (rsrv = _sfrsrv(f,sz)) )
195 { if(type == SF_LOCKR)
H A Dsfgetr.c163 if(us && (type&SF_LOCKR) )
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfcin.c48 if(!(buff=(char*)sfreserve(f,SF_UNBOUND,SF_LOCKR))) in fcfopen()
61 buff = (char*)sfreserve(f,SF_UNBOUND,SF_LOCKR); in fcfopen()
H A Dio.c1023 while((cp=sfreserve(sp, -s, SF_LOCKR)) || (cp=sfreserve(sp,SF_UNBOUND, SF_LOCKR))) in io_patseek()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtail.c182 if (!(s = sfreserve(fp, n, SF_LOCKR))) in tailpos()
673 …if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_… in b_tail()
H A DRELEASE186 04-10-31 tail.c: use SF_LOCKR macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c169 if(r && (shp->prompt=(char*)sfreserve(sfstderr,r,SF_LOCKR))) in b_read()
383 if(cp = sfreserve(iop,c,SF_LOCKR)) in sh_readline()
394 m = (cp = sfreserve(iop,c,SF_LOCKR)) ? sfvalue(iop) : 0; in sh_readline()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dsfio.h161 #define SF_LOCKR 0000010 /* lock record, stop access to stream */ macro
446 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c1370 if (!(tb = (char*)sfreserve(op, -(tn + 1), SF_WRITE|SF_LOCKR)) || !(tn = sfvalue(op))) in _ast_iconv_write()
1475 if ((!(fb = (char*)sfreserve(ip, n, locked = SF_LOCKR)) || !(fo = sfvalue(ip))) && in _ast_iconv_move()
1480 if (!(tb = (char*)sfreserve(op, SF_UNBOUND, SF_WRITE|SF_LOCKR))) in _ast_iconv_move()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c567 while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) in hist_nearend()
773 if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) in hist_flush()
H A Dedit.c754 ep->e_outbase = ep->e_outptr = (char*)sfreserve(sfstderr,SF_UNBOUND,SF_LOCKR); in ed_setup()