Lines Matching refs:nf_fsdata
77 struct nandfs_fsdata *nf_fsdata;
207 sectors_to_read = (NANDFS_NFSAREAS * fs->nf_fsdata->f_erasesize) /
220 if ((i * fs->nf_sectorsize) % fs->nf_fsdata->f_erasesize == 0) {
230 if (!nandfs_check_superblock_crc(fs->nf_fsdata, &sb[j]))
253 error = ioread(f, offset, (char *)fs->nf_fsdata,
257 if (fs->nf_fsdata->f_magic == NANDFS_FSDATA_MAGIC) {
259 fs->nf_fsdata->f_volume_name);
260 if (nandfs_check_fsdata_crc(fs->nf_fsdata))
293 fs->nf_fsdata = malloc(sizeof(struct nandfs_fsdata));
298 free(fs->nf_fsdata);
303 fs->nf_blocksize = 1 << (fs->nf_fsdata->f_log_block_size + 10);
322 fs->nf_fsdata->f_dat_entry_size);
325 fs->nf_fsdata->f_inode_size);
331 free(fs->nf_fsdata);
339 free(fs->nf_fsdata);
351 free(fs->nf_fsdata);
834 dlen = fs->nf_fsdata->f_checkpoint_size;