Lines Matching defs:pcfs
75 * Most of the FAT32 changes to pcfs are under 'if it's FAT32' to minimize the
388 struct pcfs {
421 kthread_id_t pcfs_owner; /* id of thread locking pcfs */
422 int pcfs_count; /* # of pcfs locks for pcfs_owner */
424 struct pcfs *pcfs_nxt; /* linked list of all mounts */
469 * pcfs mount options.
489 #define VFSTOPCFS(VFSP) ((struct pcfs *)((VFSP)->vfs_data))
575 extern int pc_lockfs(struct pcfs *, int, int); /* lock fs and get fat */
576 extern void pc_unlockfs(struct pcfs *); /* ulock the fs */
577 extern int pc_getfat(struct pcfs *); /* get fat from disk */
578 extern void pc_invalfat(struct pcfs *); /* invalidate incore fat */
579 extern int pc_syncfat(struct pcfs *); /* sync fat to disk */
580 extern int pc_freeclusters(struct pcfs *); /* num free clusters in fs */
581 extern pc_cluster32_t pc_alloccluster(struct pcfs *, int);
582 extern void pc_setcluster(struct pcfs *, pc_cluster32_t, pc_cluster32_t);
583 extern void pc_mark_fat_updated(struct pcfs *fsp, pc_cluster32_t cn);
584 extern int pc_fat_is_changed(struct pcfs *fsp, pc_cluster32_t bn);