Home | History | Annotate | Download | only in lfs

Lines Matching defs:sup

897 	SEGUSE *sup;
1210 LFS_SEGENTRY(sup, fs, i, bp);
1213 if (sup->su_nbytes == 0 &&
1214 !(sup->su_flags & SEGUSE_EMPTY)) {
1215 sup->su_flags |= SEGUSE_EMPTY;
1217 } else if (!(sup->su_nbytes == 0) &&
1218 (sup->su_flags & SEGUSE_EMPTY)) {
1219 sup->su_flags &= ~SEGUSE_EMPTY;
1222 if (sup->su_flags & (SEGUSE_ACTIVE|SEGUSE_INVAL)) {
1223 sup->su_flags &= ~(SEGUSE_ACTIVE|SEGUSE_INVAL);
1227 fs->lfs_suflags[0][i] = sup->su_flags;
1229 LFS_WRITESEGENTRY(sup, fs, i, bp);
1317 LFS_SEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp);
1318 sup->su_flags |= SEGUSE_DIRTY | SEGUSE_ACTIVE;
1320 LFS_WRITESEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp); /* Ifile */
1358 SEGUSE *sup;
1365 LFS_SEGENTRY(sup, fs, sn, bp);
1368 if (!(sup->su_flags & SEGUSE_DIRTY)) {
1373 if (sup->su_flags & SEGUSE_SUPERBLOCK)
2468 SEGUSE *sup;
2508 LFS_SEGENTRY(sup, fs, i, bp);
2509 badnews = sup->su_nbytes || !(sup->su_flags & SEGUSE_INVAL);
2510 if (sup->su_flags & SEGUSE_SUPERBLOCK)
2512 if (!(sup->su_flags & SEGUSE_DIRTY)) {
2514 if (sup->su_flags & SEGUSE_SUPERBLOCK)
2589 sup = &((SEGUSE *)bp->b_data)[i % lfs_sb_getsepb(fs)];
2590 memset(sup, 0, sizeof(*sup));