• Home
  • Raw
  • Download

Lines Matching refs:pfs

250 static void FatfsSetParentFs(FATFS *pfs, FATFS *fs)  in FatfsSetParentFs()  argument
252 pfs->fs_type = fs->fs_type; /* Copy the feild info from PARENT FATFS object */ in FatfsSetParentFs()
253 pfs->pdrv = fs->pdrv; in FatfsSetParentFs()
254 pfs->n_fats = fs->n_fats; in FatfsSetParentFs()
255 pfs->id = fs->id; in FatfsSetParentFs()
256 pfs->n_rootdir = fs->n_rootdir; in FatfsSetParentFs()
257 pfs->csize = fs->csize; in FatfsSetParentFs()
259 pfs->ssize = fs->ssize; in FatfsSetParentFs()
261 pfs->sobj = fs->sobj; in FatfsSetParentFs()
264 pfs->cdir = 0; in FatfsSetParentFs()
266 pfs->n_fatent = fs->n_fatent; in FatfsSetParentFs()
267 pfs->fsize = fs->fsize; in FatfsSetParentFs()
268 pfs->volbase = fs->volbase; in FatfsSetParentFs()
269 pfs->fatbase = fs->fatbase; in FatfsSetParentFs()
270 pfs->dirbase = fs->dirbase; in FatfsSetParentFs()
271 pfs->database = fs->database; in FatfsSetParentFs()
272pfs->last_clst = 0xFFFFFFFF; /* Mark the 'last_clst' and 'free_clst' in CHILD FATFS is not been up… in FatfsSetParentFs()
273 pfs->free_clst = 0xFFFFFFFF; in FatfsSetParentFs()
274pfs->st_clst = 0xFFFFFFFF; /* Mark the 'st_clst' and 'ct_clst' in CHILD FATFS is not been update f… in FatfsSetParentFs()
275 pfs->ct_clst = 0xFFFFFFFF; in FatfsSetParentFs()
276 pfs->vir_flag = FS_CHILD; /* Mark the FATFS object is a CHILD */ in FatfsSetParentFs()
277 pfs->vir_avail = FS_VIRENABLE; /* Mark the CHILD object is enable for now */ in FatfsSetParentFs()
278 pfs->parent_fs = (void *)fs; /* Link to the PARENT object */ in FatfsSetParentFs()
279 pfs->child_fs = (void *)NULL; /* Link the unrelated feild to NULL */ in FatfsSetParentFs()
299 FATFS *pfs = NULL; in f_regvirfs() local
322 pfs = ff_memalloc(sizeof(FATFS)); /* Allocate a memory for current child FATFS object */ in f_regvirfs()
323 …if (pfs == NULL) { /* If allocate failed, must call 'f_unregvirfs' to free the previous FATFS obje… in f_regvirfs()
326 FatfsSetParentFs(pfs, fs); in f_regvirfs()
327 *(fs->child_fs + i) = (void *)pfs; in f_regvirfs()