pcfs
bool pcfs;
pcfs = false;
pcfs = true;
if (!pcfs) {
struct pcfs *fsp; /* pcfs that file is in */
struct pcfs *fsp;
pc_freeclusters(struct pcfs *fsp)
pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn)
pc_setcluster(struct pcfs *fsp, pc_cluster32_t cn, pc_cluster32_t ncn)
static pc_cluster32_t pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn);
struct pcfs *fsp, /* file sys to allocate in */
struct pcfs *fsp,
struct pcfs *fsp; /* pcfs that file is in */
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
pc_getstartcluster(struct pcfs *fsp, struct pcdir *ep)
pc_setstartcluster(struct pcfs *fsp, struct pcdir *ep, pc_cluster32_t cln)
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
pc_mark_mod(struct pcfs *fsp, struct pcnode *pcp)
pc_mark_acc(struct pcfs *fsp, struct pcnode *pcp)
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
pc_verify(struct pcfs *fsp)
pc_mark_irrecov(struct pcfs *fsp)
pc_diskchanged(struct pcfs *fsp)
struct pcfs *fsp, /* filsystem for node */
struct pcfs *fsp;
pc_lockfs(struct pcfs *fsp, int diskchanged, int releasing)
pc_unlockfs(struct pcfs *fsp)
pc_syncfat(struct pcfs *fsp)
pc_invalfat(struct pcfs *fsp)
struct pcfs *xfsp;
pc_badfs(struct pcfs *fsp)
struct pcfs *fsp;
pc_readfat(struct pcfs *fsp, uchar_t *fatp)
pc_writefat(struct pcfs *fsp, daddr_t start)
pc_mark_fat_updated(struct pcfs *fsp, pc_cluster32_t cn)
pc_fat_is_changed(struct pcfs *fsp, pc_cluster32_t bn)
struct pcfs *fsp = VFSTOPCFS(vfsp);
findTheDrive(struct pcfs *fsp, buf_t **bp)
DTRACE_PROBE4(primarypart, struct pcfs *, fsp,
struct pcfs *, fsp,
secondaryBPBChecks(struct pcfs *fsp, uchar_t *bpb, size_t secsize)
parseBPB(struct pcfs *fsp, uchar_t *bpb, int *valid)
struct pcfs *, fsp, unsigned char *, bpb,
struct pcfs *, fsp, unsigned char *, bpb,
pcfs_device_getinfo(struct pcfs *fsp)
pc_getfattype(struct pcfs *fsp)
pc_getfat(struct pcfs *fsp)
static struct pcfs *pc_mounttab = NULL;
struct pcfs *fsp;
pcfs_parse_mntopts(struct pcfs *fsp)
struct pcfs *fsp;
struct pcfs *fsp, *fsp1;
static int pc_syncfsnodes(struct pcfs *);
struct pcfs *fsp;
struct pcfs *fsp;
pc_syncfsnodes(struct pcfs *fsp)
static int pc_readfat(struct pcfs *fsp, uchar_t *fatp);
static int pc_writefat(struct pcfs *fsp, daddr_t start);
struct pcfs *fsp;
static int pc_getfattype(struct pcfs *fsp);
static void pcfs_parse_mntopts(struct pcfs *fsp);
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp);
struct pcfs *fsp;
struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp);
struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp);
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
struct pcfs *fsp;
extern pc_cluster32_t pc_getstartcluster(struct pcfs *, struct pcdir *);
extern void pc_setstartcluster(struct pcfs *, struct pcdir *, pc_cluster32_t);
struct pcfs *pcfs_nxt; /* linked list of all mounts */
#define VFSTOPCFS(VFSP) ((struct pcfs *)((VFSP)->vfs_data))
extern int pc_lockfs(struct pcfs *, int, int); /* lock fs and get fat */
extern void pc_unlockfs(struct pcfs *); /* ulock the fs */
extern int pc_getfat(struct pcfs *); /* get fat from disk */
extern void pc_invalfat(struct pcfs *); /* invalidate incore fat */
extern int pc_syncfat(struct pcfs *); /* sync fat to disk */
extern int pc_freeclusters(struct pcfs *); /* num free clusters in fs */
extern pc_cluster32_t pc_alloccluster(struct pcfs *, int);
extern void pc_setcluster(struct pcfs *, pc_cluster32_t, pc_cluster32_t);
extern void pc_mark_fat_updated(struct pcfs *fsp, pc_cluster32_t cn);
extern int pc_fat_is_changed(struct pcfs *fsp, pc_cluster32_t bn);
extern struct pcnode *pc_getnode(struct pcfs *, daddr_t, int, struct pcdir *);
extern void pc_mark_mod(struct pcfs *, struct pcnode *);
extern void pc_mark_acc(struct pcfs *, struct pcnode *);
extern int pc_verify(struct pcfs *);
extern void pc_diskchanged(struct pcfs *);
extern void pc_mark_irrecov(struct pcfs *);
extern int pc_fileclsize(struct pcfs *, pc_cluster32_t, pc_cluster32_t *);
extern void pc_badfs(struct pcfs *);