• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/

Lines Matching refs:s64

75 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
81 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
83 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
84 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
86 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
88 int l2nb, s64 * results);
89 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
93 s64 * results);
94 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
95 s64 * results);
96 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
97 s64 * results);
98 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks);
100 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
102 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
104 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
107 s64 dbMapFileSizeToMapSize(struct inode *ipbmap);
108 static int blkstol2(s64 nb);
113 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
115 static int dbInitDmap(struct dmap * dp, s64 blkno, int nblocks);
119 static int dbGetL2AGSize(s64 nblocks);
332 int dbFree(struct inode *ip, s64 blkno, s64 nblocks)
337 s64 lblkno, rem;
419 int free, s64 blkno, s64 nblocks, struct tblock * tblk)
424 s64 lblkno, rem, lastlblkno;
474 nblks = min(rem, (s64)BPERDMAP - dbitno);
600 s64 avgfree;
602 s64 hwm = 0;
695 int dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results)
701 s64 lblkno, blkno;
704 s64 mapSize;
888 int dbAllocExact(struct inode *ip, s64 blkno, int nblocks)
894 s64 lblkno;
911 if (nblocks > ((s64) 1 << bmp->db_maxfreebud)) {
974 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results)
1021 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks)
1024 s64 lblkno, lastblkno, extblkno;
1122 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
1256 struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results)
1365 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results)
1370 s64 blkno, lblkno;
1386 blkno = (s64) agno << bmp->db_agl2size;
1489 ((s64) (ti - le32_to_cpu(dcp->leafidx))) << budmin;
1566 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results)
1569 s64 blkno = 0;
1620 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno)
1623 s64 b, lblkno;
1677 b += (((s64) leafidx) << budmin);
1739 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results)
1742 s64 b, lblkno, n;
1798 nb = min(n, (s64)BPERDMAP);
1892 struct dmap * dp, int nblocks, int l2nb, s64 * results)
1894 s64 blkno;
1954 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
2009 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
2071 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
2218 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
2402 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level)
2407 s64 lblkno;
3044 * NAME: blkstol2(s64 nb)
3056 static int blkstol2(s64 nb)
3059 s64 mask; /* meant to be signed */
3061 mask = (s64) 1 << (64 - 1);
3104 int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks)
3109 s64 lblkno, rem;
3159 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
3283 int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks)
3288 s64 newsize;
3289 s64 p;
3296 s64 ag_rem;
3458 n = min(nblocks, (s64)BPERDMAP - n);
3466 n = min(nblocks, (s64)BPERDMAP);
3560 s64 ag_rem, actfree, inactfree, avgfree;
3647 static int dbInitDmap(struct dmap * dp, s64 Blkno, int nblocks)
3904 static int dbGetL2AGSize(s64 nblocks)
3906 s64 sz;
3907 s64 m;
3920 sz = (s64) 1 << l2sz;
3952 s64 dbMapFileSizeToMapSize(struct inode * ipbmap)
3955 s64 nblocks;
3956 s64 npages, ndmaps;