Lines Matching refs:u_long

67 static int	chainalloc(struct msdosfsmount *pmp, u_long start,
68 u_long count, u_long fillwith, u_long *retcluster,
69 u_long *got);
70 static int chainlength(struct msdosfsmount *pmp, u_long start,
71 u_long count);
72 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp,
73 u_long *sizep, u_long *bop);
74 static int fatchain(struct msdosfsmount *pmp, u_long start, u_long count,
75 u_long fillwith);
76 static void fc_lookup(struct denode *dep, u_long findcn, u_long *frcnp,
77 u_long *fsrcnp);
79 u_long fatbn);
81 usemap_alloc(struct msdosfsmount *pmp, u_long cn);
82 static int usemap_free(struct msdosfsmount *pmp, u_long cn);
83 static int clusteralloc1(struct msdosfsmount *pmp, u_long start,
84 u_long count, u_long fillwith, u_long *retcluster,
85 u_long *got);
88 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, in fatblock()
89 u_long *bop) in fatblock()
91 u_long bn, size, fatblocksec; in fatblock()
132 pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp) in pcbmap()
135 u_long i; in pcbmap()
136 u_long cn; in pcbmap()
137 u_long prevcn = 0; /* XXX: prevcn could be used unititialized */ in pcbmap()
138 u_long byteoffset; in pcbmap()
139 u_long bn; in pcbmap()
140 u_long bo; in pcbmap()
142 u_long bp_bn = -1; in pcbmap()
144 u_long bsize; in pcbmap()
263 fc_lookup(struct denode *dep, u_long findcn, u_long *frcnp, u_long *fsrcnp) in fc_lookup()
266 u_long cn; in fc_lookup()
313 updatefats(struct msdosfsmount *pmp, struct buf *bp, u_long fatbn) in updatefats()
386 usemap_alloc(struct msdosfsmount *pmp, u_long cn) in usemap_alloc()
406 usemap_free(struct msdosfsmount *pmp, u_long cn) in usemap_free()
430 clusterfree(struct msdosfsmount *pmp, u_long cluster) in clusterfree()
433 u_long oldcn; in clusterfree()
468 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, in fatentry()
469 u_long newcontents) in fatentry()
472 u_long readcn; in fatentry()
473 u_long bn, bo, bsize, byteoffset; in fatentry()
575 fatchain(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith) in fatchain()
578 u_long bn, bo, bsize, byteoffset, readcn, newc; in fatchain()
645 chainlength(struct msdosfsmount *pmp, u_long start, u_long count) in chainlength()
647 u_long idx, max_idx; in chainlength()
649 u_long len; in chainlength()
702 chainalloc(struct msdosfsmount *pmp, u_long start, u_long count, in chainalloc()
703 u_long fillwith, u_long *retcluster, u_long *got) in chainalloc()
706 u_long cl, n; in chainalloc()
747 clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, in clusteralloc()
748 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc()
759 clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count, in clusteralloc1()
760 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc1()
762 u_long idx; in clusteralloc1()
763 u_long len, newst, foundl, cn, l; in clusteralloc1()
764 u_long foundcn = 0; /* XXX: foundcn could be used unititialized */ in clusteralloc1()
834 freeclusterchain(struct msdosfsmount *pmp, u_long cluster) in freeclusterchain()
838 u_long bn, bo, bsize, byteoffset; in freeclusterchain()
839 u_long readcn, lbn = -1; in freeclusterchain()
903 u_long bn, bo, bsize, byteoffset, cn, readcn; in fillinusemap()
988 extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp, in extendfile()
992 u_long frcn; in extendfile()
993 u_long cn, got; in extendfile()
1140 u_long bn, bo, bsize, byteoffset, fatval; in markvoldirty_upgrade()