Lines Matching refs:bmap

64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
83 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
85 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
89 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
91 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
93 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
101 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
155 struct bmap *bmp; in dbMount()
164 bmp = kmalloc(sizeof(struct bmap), GFP_KERNEL); in dbMount()
219 JFS_SBI(ipbmap->i_sb)->bmap = bmp; in dbMount()
256 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUnmount()
268 JFS_SBI(ipbmap->i_sb)->bmap = NULL; in dbUnmount()
279 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbSync()
351 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbFree()
443 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUpdatePMap()
624 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbNextAG()
718 struct bmap *bmp; in dbAlloc()
735 bmp = JFS_SBI(ip->i_sb)->bmap; in dbAlloc()
981 struct bmap *bmp; in dbExtend()
1001 bmp = sbi->bmap; in dbExtend()
1071 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocNext()
1203 dbAllocNear(struct bmap * bmp, in dbAllocNear()
1312 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) in dbAllocAG()
1516 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) in dbAllocAny()
1574 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbDiscardAG()
1681 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) in dbFindCtl()
1800 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) in dbAllocCtl()
1956 dbAllocDmapLev(struct bmap * bmp, in dbAllocDmapLev()
2022 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocDmap()
2077 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbFreeDmap()
2139 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocBits()
2286 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbFreeBits()
2470 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) in dbAdjCtl()
3198 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbAllocBottomUp()
3246 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocDmapBU()
3378 struct bmap *bmp = sbi->bmap; in dbExtendFS()
3641 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbFinalizeBmap()