Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/fs/affs/
Dbitmap.c73 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local
82 bmap = blk / AFFS_SB->s_bmap_bits; in affs_free_block()
84 bm = &AFFS_SB->s_bitmap[bmap]; in affs_free_block()
89 if (AFFS_SB->s_last_bmap != bmap) { in affs_free_block()
95 AFFS_SB->s_last_bmap = bmap; in affs_free_block()
151 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local
173 bmap = blk / AFFS_SB->s_bmap_bits; in affs_alloc_block()
174 bm = &AFFS_SB->s_bitmap[bmap]; in affs_alloc_block()
185 bmap++; in affs_alloc_block()
187 if (bmap < AFFS_SB->s_bmap_count) in affs_alloc_block()
[all …]
/linux-2.4.37.9/fs/jfs/
Dfile.c77 &JFS_SBI(inode->i_sb)->bmap->db_active[ji->agno]); in jfs_open()
90 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_release() local
91 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
Djfs_dmap.c105 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
111 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
113 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
114 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
116 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
119 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
121 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
124 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
126 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno,
130 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno);
[all …]
Dinode.c54 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_clear_inode() local
55 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_clear_inode()
344 .bmap = jfs_bmap,
Djfs_dmap.h134 #define BLKTOAG(b,sbi) ((b) >> ((sbi)->bmap->db_agl2size))
140 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
226 struct bmap { struct
Djfs_incore.h153 struct bmap *bmap; /* incore bmap descriptor */ member
Dsuper.c126 buf->f_blocks = sbi->bmap->db_mapsize; in jfs_statfs()
127 buf->f_bfree = sbi->bmap->db_nfree; in jfs_statfs()
128 buf->f_bavail = sbi->bmap->db_nfree; in jfs_statfs()
139 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs()
Dresize.c72 struct bmap *bmp = sbi->bmap; in jfs_extendfs()
Djfs_extent.c521 struct bmap *bmp = sbi->bmap; in extBalloc()
Djfs_imap.c1420 if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { in diAlloc()
1762 int maxag = JFS_SBI(imap->im_ipimap->i_sb)->bmap->db_maxag; in diAllocAny()
2313 hint = ((s64) agno << sbi->bmap->db_agl2size) - 1; in diNewExt()
2927 struct bmap *mp = JFS_SBI(ipbmap->i_sb)->bmap; in diExtendFS()
/linux-2.4.37.9/arch/sparc/mm/
Dio-unit.c88 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area()
101 if (test_bit(scan++, iounit->bmap)) in iounit_get_area()
108 set_bit(scan, iounit->bmap); in iounit_get_area()
151 clear_bit(vaddr, iounit->bmap); in iounit_release_scsi_one()
168 clear_bit(vaddr, iounit->bmap); in iounit_release_scsi_sgl()
275 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_map_dma_init()
288 if (test_bit(scan++, iounit->bmap)) in iounit_map_dma_init()
294 set_bit(scan, iounit->bmap); in iounit_map_dma_init()
/linux-2.4.37.9/fs/ntfs/
Ddir.c117 ntfs_u8 *bmap; in ntfs_allocate_index_block() local
143 bmap = ntfs_malloc(size); in ntfs_allocate_index_block()
144 if (!bmap) { in ntfs_allocate_index_block()
151 io.param = bmap; in ntfs_allocate_index_block()
158 if (bmap[i] == 0xFF) in ntfs_allocate_index_block()
160 bit = ffz(bmap[i]); in ntfs_allocate_index_block()
170 io.param = bmap; in ntfs_allocate_index_block()
176 if (ntfs_test_and_set_bit(bmap, bit)) { in ntfs_allocate_index_block()
183 io.param = bmap; in ntfs_allocate_index_block()
192 ntfs_free(bmap); in ntfs_allocate_index_block()
[all …]
/linux-2.4.37.9/fs/
Dioctl.c26 if (!mapping->a_ops->bmap) in file_ioctl()
33 res = mapping->a_ops->bmap(mapping, block); in file_ioctl()
Dinode.c1288 int bmap(struct inode * inode, int block) in bmap() function
1291 if (inode->i_mapping->a_ops->bmap) in bmap()
1292 res = inode->i_mapping->a_ops->bmap(inode->i_mapping, block); in bmap()
/linux-2.4.37.9/include/asm-sparc/
Dio-unit.h44 unsigned int bmap[(IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 3)) / sizeof(unsigned int)]; member
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_subr.c49 .bmap = vxfs_bmap,
/linux-2.4.37.9/mm/
Dpage_io.c63 if (!(zones[i] = bmap(swapf,block++))) { in rw_swap_page_base()
/linux-2.4.37.9/fs/hpfs/
Dfile.c121 bmap: _hpfs_bmap
/linux-2.4.37.9/fs/bfs/
Dfile.c165 bmap: bfs_bmap,
/linux-2.4.37.9/fs/reiserfs/
Dbitmap.c114 static inline int is_block_in_journal (struct super_block * s, int bmap, int off, int *next) in is_block_in_journal() argument
118 if (reiserfs_in_journal (s, s->s_dev, bmap, off, s->s_blocksize, 1, &tmp)) { in is_block_in_journal()
143 PROC_INFO_INC( s, scan_bitmap.bmap ); in scan_bitmap_block()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c126 .bmap = hfsplus_bmap,
136 .bmap = hfsplus_bmap,
/linux-2.4.37.9/Documentation/filesystems/
DLocking135 int (*bmap)(struct address_space *, long);
148 bmap: yes
159 ->bmap() is currently used by legacy ioctl() (FIBMAP) provided by some
Dfat_cvf.txt37 CVF filesystems cannot do bmap. It's impossible in principle. Thus
38 all actions that require bmap do not work (swapping, writable mmapping).
/linux-2.4.37.9/fs/efs/
Dinode.c27 bmap: _efs_bmap
/linux-2.4.37.9/fs/adfs/
Dinode.c85 bmap: _adfs_bmap

12