Searched refs:FS_OPEN (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/3d/
H A Dfork3d.c56 if ((fs->flags & (FS_ERROR|FS_ON|FS_OPEN|FS_UNIQUE)) == (FS_ON|FS_OPEN|FS_UNIQUE))
H A D3d.h330 #define FS_OPEN (1L<<18) macro
342 #define fsfd(p) ((((p)->flags&(FS_ERROR|FS_ON|FS_OPEN))==(FS_ON|FS_OPEN))?(p)->fd:((((p)->flags&(FS_BOUND|FS_ERROR|FS_INIT|FS_ON))==(FS_BOUND|FS_ON))?fsinit(p,-1):-1))
H A Dfs.c547 if ((fs->flags & (FS_ON|FS_OPEN)) != (FS_ON|FS_OPEN))
590 fs->flags |= FS_ON|FS_OPEN;
615 if (fs->flags & FS_OPEN)
617 fs->flags &= ~FS_OPEN;
H A Dinit.c73 if (!(fs->flags & (FS_ERROR|FS_INIT)) && (fs->flags & (FS_BOUND|FS_OPEN)) && (!x || x == fs->key))
134 if ((flags & (MAP_EXEC|MAP_INIT)) && (fs->flags & FS_OPEN))
173 ((flags & (MAP_EXEC|MAP_INIT)) && (fs->flags & (FS_CLOSE|FS_OPEN)) == FS_OPEN ? 10 : 0) +
987 if (fs->flags & FS_OPEN) bprintf(&b, e, " open=%d", fs->fd);
1206 if (!(fs->flags & FS_OPEN) && !FSTAT(2, &fs->st))
1208 fs->flags |= FS_OPEN;

Completed in 18 milliseconds