Home
last modified time | relevance | path

Searched refs:SFMODE (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfclose.c45 SFMODE(f,local) != (f->mode&SF_RDWR) &&
46 SFMODE(f,local) != (f->mode&(SF_READ|SF_SYNCED)) &&
H A Dsfpool.c128 { if(SFMODE(head,1) != SF_WRITE && _sfmode(head,SF_WRITE,1) < 0)
328 { if(SFMODE(f,1) != SF_WRITE && _sfmode(f,SF_WRITE,1) < 0)
330 if(SFMODE(pf,1) != SF_WRITE && _sfmode(pf,SF_WRITE,1) < 0)
H A Dsfnputc.c47 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0)
H A Dsfraise.c79 SFMODE(f,local) != (f->mode&SF_RDWR) && _sfmode(f,0,local) < 0)
H A Dsfflsbuf.c51 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0)
H A Dsffilbuf.c58 if(SFMODE(f,local) != SF_READ && _sfmode(f,SF_READ,local) < 0)
H A Dsfread.c84 if(SFMODE(f,local) != SF_READ && _sfmode(f,SF_READ,local) < 0)
H A Dsfsync.c109 if((origf->mode&SF_RDWR) != SFMODE(origf,local) && _sfmode(origf,0,local) < 0)
H A Dsfwrite.c88 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0 )
H A Dsfmode.c474 if(wanted == (int)SFMODE(f,1))
477 switch(SFMODE(f,1))
H A Dsfseek.c76 if((int)SFMODE(f,local) != (mode = f->mode&SF_RDWR))
H A Dsfsetbuf.c143 else if((f->mode&SF_RDWR) != SFMODE(f,local) && _sfmode(f,0,local) < 0)
H A Dsfhdr.h921 #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) macro