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

/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsffilbuf.c51 rcrv = f->mode&(SF_RC|SF_RV|SF_LOCK);
56 for(first = 1;; first = 0, (f->mode &= ~SF_LOCK) )
H A Dsfclose.c95 { f->mode &= ~SF_LOCK; /**/ASSERT(_Sfpmove);
100 f->mode |= SF_LOCK;
H A Dsfflsbuf.c49 for(written = 0;; f->mode &= ~SF_LOCK)
H A Dsfpurge.c69 switch(f->mode&~SF_LOCK)
H A Dsfexcept.c46 lock = f->mode&SF_LOCK;
H A Dsfswap.c72 f2->mode = SF_AVAIL|SF_LOCK;
H A Dsfmode.c497 f->mode = SF_READ|SF_LOCK;
508 f->mode = SF_READ|SF_LOCK;
541 f->mode = SF_WRITE|SF_LOCK;
561 f->mode = SF_WRITE|SF_LOCK;
H A Dsfread.c82 for(;; f->mode &= ~SF_LOCK)
H A Dsfwrite.c86 for(;; f->mode &= ~SF_LOCK)
H A Dsfhdr.h523 #define SF_LOCK 00000040 /* stream is locked for io op */ macro
881 #define SFKILL(f) ((f)->mode = (SF_AVAIL|SF_LOCK) )
882 #define SFKILLED(f) (((f)->mode&(SF_AVAIL|SF_LOCK)) == (SF_AVAIL|SF_LOCK) )
910 #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) )
911 #define SFLOCK(f,l) (void)((f)->mode |= SF_LOCK, (f)->endr = (f)->endw = (f)->data)
918 ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) )
921 #define SFFROZEN(f) (((f)->mode&(SF_PUSH|SF_LOCK|SF_PEEK)) ? 1 : \
H A Dsfsync.c105 lock = origf->mode&SF_LOCK;
H A Dsfpool.c163 head->mode &= ~SF_LOCK; /* partially unlock because it's no longer head */
H A Dsfsetbuf.c141 f->mode = (f->mode&SF_RDWR)|SF_LOCK;

Completed in 47 milliseconds