Lines Matching refs:u_long

72 static int	chainalloc(struct msdosfsmount *pmp, u_long start,
73 u_long count, u_long fillwith, u_long *retcluster,
74 u_long *got);
75 static int chainlength(struct msdosfsmount *pmp, u_long start,
76 u_long count);
77 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp,
78 u_long *sizep, u_long *bop);
79 static int fatchain(struct msdosfsmount *pmp, u_long start, u_long count,
80 u_long fillwith);
81 static void fc_lookup(struct denode *dep, u_long findcn, u_long *frcnp,
82 u_long *fsrcnp);
84 u_long fatbn);
86 usemap_alloc(struct msdosfsmount *pmp, u_long cn);
88 usemap_free(struct msdosfsmount *pmp, u_long cn);
89 static int clusteralloc1(struct msdosfsmount *pmp, u_long start,
90 u_long count, u_long fillwith, u_long *retcluster,
91 u_long *got);
94 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, in fatblock()
95 u_long *bop) in fatblock()
97 u_long bn, size; 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 uninitialized */ 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()
309 updatefats(struct msdosfsmount *pmp, struct m_buf *bp, u_long fatbn) in updatefats()
382 usemap_alloc(struct msdosfsmount *pmp, u_long cn) in usemap_alloc()
397 usemap_free(struct msdosfsmount *pmp, u_long cn) in usemap_free()
411 clusterfree(struct msdosfsmount *pmp, u_long cluster) in clusterfree()
414 u_long oldcn; in clusterfree()
447 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, in fatentry()
448 u_long newcontents) in fatentry()
451 u_long readcn; in fatentry()
452 u_long bn, bo, bsize, byteoffset; in fatentry()
555 fatchain(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith) in fatchain()
558 u_long bn, bo, bsize, byteoffset, readcn, newc; in fatchain()
626 chainlength(struct msdosfsmount *pmp, u_long start, u_long count) in chainlength()
628 u_long idx, max_idx; in chainlength()
630 u_long len; in chainlength()
681 chainalloc(struct msdosfsmount *pmp, u_long start, u_long count, in chainalloc()
682 u_long fillwith, u_long *retcluster, u_long *got) in chainalloc()
685 u_long cl, n; in chainalloc()
724 clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, in clusteralloc()
725 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc()
734 clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count, in clusteralloc1()
735 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc1()
737 u_long idx; in clusteralloc1()
738 u_long len, newst, foundl, cn, l; in clusteralloc1()
739 u_long foundcn = 0; /* XXX: foundcn could be used uninitialized */ in clusteralloc1()
807 freeclusterchain(struct msdosfsmount *pmp, u_long cluster) in freeclusterchain()
811 u_long bn, bo, bsize, byteoffset; in freeclusterchain()
812 u_long readcn, lbn = -1; in freeclusterchain()
870 u_long bn, bo, bsize, byteoffset, cn, readcn; in fillinusemap()
950 m_extendfile(struct denode *dep, u_long count, struct m_buf **bpp, u_long *ncp, in m_extendfile()
954 u_long frcn; in m_extendfile()
955 u_long cn, got; in m_extendfile()