Lines Matching refs:nf_sb
78 struct nandfs_super_block *nf_sb;
205 memset(fs->nf_sb, 0, sizeof(*fs->nf_sb));
234 if (sb[j].s_last_cno > fs->nf_sb->s_last_cno)
235 memcpy(fs->nf_sb, &sb[j], sizeof(*fs->nf_sb));
241 return (fs->nf_sb->s_magic != 0 ? 0 : EINVAL);
282 fs->nf_sb->s_wtime, fs->nf_sb->s_last_pseg);
294 fs->nf_sb = malloc(sizeof(struct nandfs_super_block));
299 free(fs->nf_sb);
305 NANDFS_DEBUG("using superblock with wtime %jd\n", fs->nf_sb->s_wtime);
307 fs->nf_cpno = fs->nf_sb->s_last_cno;
308 last_pseg = fs->nf_sb->s_last_pseg;
330 free(fs->nf_sb);
338 free(fs->nf_sb);
350 free(fs->nf_sb);
445 free(fs->nf_sb);