• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/

Lines Matching refs:bmap

49  *	write inode lock of the bmap inode. requests starting at the top
57 * write information maintained in the bmap descriptor (i.e. total
74 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
80 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
82 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
83 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
85 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
88 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
90 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
93 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
95 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
99 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
101 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
103 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
112 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
153 * memory is allocated for the in-core bmap descriptor and
166 struct bmap *bmp;
172 * allocate/initialize the in-memory bmap descriptor
174 /* allocate memory for the in-memory bmap descriptor */
175 bmp = kmalloc(sizeof(struct bmap), GFP_KERNEL);
179 /* read the on-disk bmap descriptor. */
188 /* copy the on-disk bmap descriptor to its in-memory version. */
210 /* bind the bmap inode and the bmap descriptor to each other. */
212 JFS_SBI(ipbmap->i_sb)->bmap = bmp;
217 * allocate/initialize the bmap lock
231 * the in-core bmap descriptor is written to disk and
243 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
253 /* free the memory for the in-memory bmap. */
265 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
270 * write bmap global control page
272 /* get the buffer for the on-disk bmap descriptor. */
280 /* copy the in-memory version of the bmap to the on-disk version */
303 * write out dirty pages of bmap
338 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
422 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
604 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
698 struct bmap *bmp;
721 bmp = JFS_SBI(ip->i_sb)->bmap;
898 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
1036 struct bmap *bmp;
1056 bmp = sbi->bmap;
1116 * bmp - pointer to bmap descriptor
1128 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
1245 * bmp - pointer to bmap descriptor
1261 dbAllocNear(struct bmap * bmp,
1356 * bmp - pointer to bmap descriptor
1371 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results)
1559 * bmp - pointer to bmap descriptor
1572 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results)
1612 * bmp - pointer to bmap descriptor
1626 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno)
1729 * bmp - pointer to bmap descriptor
1745 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results)
1881 * mp - pointer to bmap descriptor
1897 dbAllocDmapLev(struct bmap * bmp,
1949 * bmp - pointer to bmap descriptor
1960 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
2004 * bmp - pointer to bmap descriptor
2015 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
2068 * bmp - pointer to bmap descriptor
2077 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
2215 * bmp - pointer to bmap descriptor
2224 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
2391 * bmp - pointer to bmap descriptor
2408 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level)
2523 * the bmap control page to reflect the size
3117 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
3165 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
3275 * FUNCTION: extend bmap from blkno for nblocks;
3276 * dbExtendFS() updates bmap ready for dbAllocBottomUp();
3300 struct bmap *bmp = sbi->bmap;
3310 * initialize bmap control page.
3312 * all the data in bmap control page should exclude
3365 * extend bmap
3508 /* summarize in global bmap page */
3532 /* summarize in global bmap page */
3551 * finalize bmap control page
3564 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap;
3570 * finalize bmap control page