Lines Matching refs:bmap
77 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
83 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
85 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
86 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
88 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
91 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
93 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
96 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
98 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
102 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
104 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
106 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
114 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
167 struct bmap *bmp; in dbMount()
176 bmp = kmalloc(sizeof(struct bmap), GFP_KERNEL); in dbMount()
213 JFS_SBI(ipbmap->i_sb)->bmap = bmp; in dbMount()
244 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUnmount()
266 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbSync()
338 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbFree()
429 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUpdatePMap()
610 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbNextAG()
704 struct bmap *bmp; in dbAlloc()
721 bmp = JFS_SBI(ip->i_sb)->bmap; in dbAlloc()
897 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbAllocExact()
1035 struct bmap *bmp; in dbExtend()
1055 bmp = sbi->bmap; in dbExtend()
1125 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocNext()
1257 dbAllocNear(struct bmap * bmp, in dbAllocNear()
1366 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) in dbAllocAG()
1564 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) in dbAllocAny()
1622 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbDiscardAG()
1727 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) in dbFindCtl()
1846 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) in dbAllocCtl()
1997 dbAllocDmapLev(struct bmap * bmp, in dbAllocDmapLev()
2060 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocDmap()
2115 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbFreeDmap()
2177 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocBits()
2324 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbFreeBits()
2508 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) in dbAdjCtl()
3215 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbAllocBottomUp()
3263 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, in dbAllocDmapBU()
3395 struct bmap *bmp = sbi->bmap; in dbExtendFS()
3658 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbFinalizeBmap()