Lines Matching refs:s_flag

165 #define	S_ISFENCED(sp)	((VTOS((sp)->s_commonvp))->s_flag & SFENCED)
251 while (csp->s_flag & SLOCKED) {
252 csp->s_flag |= SWANT;
255 if (csp->s_flag & SCLOSING)
267 csp->s_flag |= SLOCKED;
279 if (csp->s_flag & SWANT) \
281 csp->s_flag &= ~(SWANT|SLOCKED);
292 (((csp)->s_flag & SSIZEVALID) ? (csp)->s_size : spec_size(csp))
325 if (csp->s_flag & SSIZEVALID) {
342 csp->s_flag |= SSIZEVALID;
363 if (((csp->s_flag & SDIPSET) == 0) || (csp->s_dip == NULL) ||
438 csp->s_flag |= SSIZEVALID;
492 newsp->s_flag |= SCLONE;
495 newsp->s_flag |= SSELFCLONE;
504 if (!(newcsp->s_flag & SDIPSET)) {
611 if (!(csp->s_flag & SDIPSET)) {
708 if ((csp->s_flag & SNEEDCLOSE) == 0) {
712 csp->s_flag |= SNEEDCLOSE;
722 csp->s_flag &= ~SSIZEVALID;
725 csp->s_flag |= SLOFFSET;
727 csp->s_flag |= SLOFFSET | SANYOFFSET;
744 (csp->s_flag & SNEEDCLOSE)) { /* need a close */
745 csp->s_flag &= ~(SNEEDCLOSE | SSIZEVALID);
748 if (csp->s_flag & (SCLONE | SSELFCLONE))
749 csp->s_flag &= ~SDIPSET;
751 csp->s_flag |= SCLOSING;
758 csp->s_flag &= ~SCLOSING;
916 sysclone = sp->s_flag & SCLONE;
927 csp->s_flag &= ~SSIZEVALID;
936 csp->s_flag &= ~(SNEEDCLOSE | SSIZEVALID);
948 if (csp->s_flag & (SCLONE | SSELFCLONE))
949 csp->s_flag &= ~SDIPSET;
951 csp->s_flag |= SCLOSING;
962 csp->s_flag &= ~SCLOSING;
1497 if ((sp->s_flag & (SACC|SUPD|SCHG)) == 0 && vp->v_type != VBLK) {
1501 sp->s_flag &= ~(SACC|SUPD|SCHG);
1516 !(sp->s_flag & SNOFLUSH)) {
1529 sp->s_flag |= SNOFLUSH;
1606 if ((sp->s_flag & (SACC|SUPD|SCHG)) != 0) {
1611 sp->s_flag &= ~(SACC|SUPD|SCHG);
2536 csp->s_flag &= ~(SNEEDCLOSE | SSIZEVALID);
2539 if (csp->s_flag & (SCLONE | SSELFCLONE))
2540 csp->s_flag &= ~SDIPSET;