Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libast/common/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)
327 { if(SFMODE(f,1) != SF_WRITE && _sfmode(f,SF_WRITE,1) < 0)
329 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 Dsfflsbuf.c51 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 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 Dsfwrite.c88 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0 )
H A Dsfsync.c109 if((origf->mode&SF_RDWR) != SFMODE(origf,local) && _sfmode(origf,0,local) < 0)
H A Dsfmode.c469 if(wanted == (int)SFMODE(f,1))
472 switch(SFMODE(f,1))
H A Dsfseek.c76 if((int)SFMODE(f,local) != (mode = f->mode&SF_RDWR))
H A Dsfsetbuf.c131 else if((f->mode&SF_RDWR) != SFMODE(f,local) && _sfmode(f,0,local) < 0)
H A Dsfhdr.h903 #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) macro