Lines Matching defs:sup
869 SEGUSE *sup;
1182 LFS_SEGENTRY(sup, fs, i, bp);
1185 if (sup->su_nbytes == 0 &&
1186 !(sup->su_flags & SEGUSE_EMPTY)) {
1187 sup->su_flags |= SEGUSE_EMPTY;
1189 } else if (!(sup->su_nbytes == 0) &&
1190 (sup->su_flags & SEGUSE_EMPTY)) {
1191 sup->su_flags &= ~SEGUSE_EMPTY;
1194 if (sup->su_flags & (SEGUSE_ACTIVE|SEGUSE_INVAL)) {
1195 sup->su_flags &= ~(SEGUSE_ACTIVE|SEGUSE_INVAL);
1199 fs->lfs_suflags[0][i] = sup->su_flags;
1201 LFS_WRITESEGENTRY(sup, fs, i, bp);
1286 LFS_SEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp);
1287 sup->su_flags |= SEGUSE_DIRTY | SEGUSE_ACTIVE;
1289 LFS_WRITESEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp); /* Ifile */
2367 SEGUSE *sup;
2407 LFS_SEGENTRY(sup, fs, i, bp);
2408 badnews = sup->su_nbytes || !(sup->su_flags & SEGUSE_INVAL);
2409 if (sup->su_flags & SEGUSE_SUPERBLOCK)
2411 if (!(sup->su_flags & SEGUSE_DIRTY)) {
2413 if (sup->su_flags & SEGUSE_SUPERBLOCK)
2488 sup = &((SEGUSE *)bp->b_data)[i % lfs_sb_getsepb(fs)];
2489 memset(sup, 0, sizeof(*sup));