Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 25 of 44) sorted by relevance

12

/fs/affs/
Dbitmap.c66 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local
75 bmap = blk / sbi->s_bmap_bits; in affs_free_block()
77 bm = &sbi->s_bitmap[bmap]; in affs_free_block()
82 if (sbi->s_last_bmap != bmap) { in affs_free_block()
88 sbi->s_last_bmap = bmap; in affs_free_block()
145 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local
168 bmap = blk / sbi->s_bmap_bits; in affs_alloc_block()
169 bm = &sbi->s_bitmap[bmap]; in affs_alloc_block()
182 bmap++; in affs_alloc_block()
184 if (bmap < sbi->s_bmap_count) in affs_alloc_block()
[all …]
/fs/jfs/
Djfs_dmap.c74 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);
[all …]
Dfile.c69 &JFS_SBI(inode->i_sb)->bmap->db_active[ji->agno]); in jfs_open()
82 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_release() local
83 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
Dsuper.c124 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_destroy_inode() local
125 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_destroy_inode()
153 buf->f_blocks = sbi->bmap->db_mapsize; in jfs_statfs()
154 buf->f_bfree = sbi->bmap->db_nfree; in jfs_statfs()
155 buf->f_bavail = sbi->bmap->db_nfree; in jfs_statfs()
166 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs()
Djfs_dmap.h134 #define BLKTOAG(b,sbi) ((b) >> ((sbi)->bmap->db_agl2size))
140 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
243 struct bmap { struct
Djfs_incore.h194 struct bmap *bmap; /* incore bmap descriptor */ member
Dresize.c70 struct bmap *bmp = sbi->bmap; in jfs_extendfs()
Djfs_extent.c527 struct bmap *bmp = sbi->bmap; in extBalloc()
Dinode.c327 .bmap = jfs_bmap,
/fs/reiserfs/
Dbitmap.c63 unsigned int bmap, offset; in is_reusable() local
73 get_bit_address(s, block, &bmap, &offset); in is_reusable()
96 if (bmap >= bmap_count) { in is_reusable()
99 "block=%lu, bitmap_nr=%u", block, bmap); in is_reusable()
115 static inline int is_block_in_journal(struct super_block *s, unsigned int bmap, in is_block_in_journal() argument
120 if (reiserfs_in_journal(s, bmap, off, 1, &tmp)) { in is_block_in_journal()
150 PROC_INFO_INC(s, scan_bitmap.bmap); in scan_bitmap_block()
/fs/ecryptfs/
Dmmap.c531 if (lower_inode->i_mapping->a_ops->bmap) in ecryptfs_bmap()
532 rc = lower_inode->i_mapping->a_ops->bmap(lower_inode->i_mapping, in ecryptfs_bmap()
542 .bmap = ecryptfs_bmap,
/fs/gfs2/
DMakefile2 gfs2-y := acl.o bmap.o dir.o eaops.o eattr.o glock.o \
Dops_address.c1094 .bmap = gfs2_bmap,
1109 .bmap = gfs2_bmap,
1125 .bmap = gfs2_bmap,
/fs/freevxfs/
Dvxfs_subr.c47 .bmap = vxfs_bmap,
/fs/
Dioctl.c66 if (!mapping->a_ops->bmap) in ioctl_fibmap()
74 res = mapping->a_ops->bmap(mapping, block); in ioctl_fibmap()
Dinode.c1284 sector_t bmap(struct inode * inode, sector_t block) in bmap() function
1287 if (inode->i_mapping->a_ops->bmap) in bmap()
1288 res = inode->i_mapping->a_ops->bmap(inode->i_mapping, block); in bmap()
1291 EXPORT_SYMBOL(bmap);
/fs/hpfs/
Dfile.c116 .bmap = _hpfs_bmap
/fs/bfs/
Dfile.c188 .bmap = bfs_bmap,
/fs/nfsd/
Dnfs4state.c1206 set_access(unsigned int *access, unsigned long bmap) { in set_access() argument
1211 if (test_bit(i, &bmap)) in set_access()
1217 set_deny(unsigned int *deny, unsigned long bmap) { in set_deny() argument
1222 if (test_bit(i, &bmap)) in set_deny()
2275 reset_union_bmap_access(unsigned long access, unsigned long *bmap) in reset_union_bmap_access() argument
2280 __clear_bit(i, bmap); in reset_union_bmap_access()
2285 reset_union_bmap_deny(unsigned long deny, unsigned long *bmap) in reset_union_bmap_deny() argument
2290 __clear_bit(i, bmap); in reset_union_bmap_deny()
/fs/hfsplus/
Dinode.c125 .bmap = hfsplus_bmap,
135 .bmap = hfsplus_bmap,
/fs/hfs/
Dinode.c128 .bmap = hfs_bmap,
138 .bmap = hfs_bmap,
/fs/ext2/
Dinode.c797 .bmap = ext2_bmap,
805 .bmap = ext2_bmap,
816 .bmap = ext2_bmap,
/fs/efs/
Dinode.c27 .bmap = _efs_bmap
/fs/adfs/
Dinode.c85 .bmap = _adfs_bmap
/fs/omfs/
Dfile.c363 .bmap = omfs_bmap,

12