Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 10 of 10) sorted by relevance

/fs/affs/
Dbitmap.c17 struct affs_bm_info *bm; in affs_count_free_blocks() local
28 bm = AFFS_SB(sb)->s_bitmap; in affs_count_free_blocks()
30 for (i = AFFS_SB(sb)->s_bmap_count; i > 0; bm++, i--) in affs_count_free_blocks()
31 free += bm->bm_free; in affs_count_free_blocks()
42 struct affs_bm_info *bm; in affs_free_block() local
55 bm = &sbi->s_bitmap[bmap]; in affs_free_block()
62 bh = affs_bread(sb, bm->bm_key); in affs_free_block()
84 bm->bm_free++; in affs_free_block()
95 affs_error(sb,"affs_free_block","Cannot read bitmap block %u", bm->bm_key); in affs_free_block()
119 struct affs_bm_info *bm; in affs_alloc_block() local
[all …]
/fs/reiserfs/
Dbitmap.c278 unsigned bm; in bmap_hash_id() local
281 bm = 1; in bmap_hash_id()
285 bm = hash % reiserfs_bmap_count(s); in bmap_hash_id()
286 if (!bm) in bmap_hash_id()
287 bm = 1; in bmap_hash_id()
290 if (bm >= reiserfs_bmap_count(s)) in bmap_hash_id()
291 bm = 0; in bmap_hash_id()
292 return bm; in bmap_hash_id()
301 int bm = bmap_hash_id(s, id); in block_group_used() local
302 struct reiserfs_bitmap_info *info = &SB_AP_BITMAP(s)[bm]; in block_group_used()
[all …]
/fs/incfs/
Dformat.h280 int (*handle_blockmap)(struct incfs_blockmap *bm,
Ddata_mgmt.c1107 static int process_blockmap_md(struct incfs_blockmap *bm, in process_blockmap_md() argument
1112 loff_t base_off = le64_to_cpu(bm->m_base_offset); in process_blockmap_md()
1113 u32 block_count = le32_to_cpu(bm->m_block_count); in process_blockmap_md()
/fs/ext4/
Dmballoc.c1277 static void mb_clear_bits(void *bm, int cur, int len) in mb_clear_bits() argument
1285 addr = bm + (cur >> 3); in mb_clear_bits()
1290 mb_clear_bit(cur, bm); in mb_clear_bits()
1298 static int mb_test_and_clear_bits(void *bm, int cur, int len) in mb_test_and_clear_bits() argument
1307 addr = bm + (cur >> 3); in mb_test_and_clear_bits()
1314 if (!mb_test_and_clear_bit(cur, bm) && zero_bit == -1) in mb_test_and_clear_bits()
1322 void ext4_set_bits(void *bm, int cur, int len) in ext4_set_bits() argument
1330 addr = bm + (cur >> 3); in ext4_set_bits()
1335 mb_set_bit(cur, bm); in ext4_set_bits()
Dext4.h1201 extern void ext4_set_bits(void *bm, int cur, int len);
/fs/nfs/
Dpnfs.c1822 __func__, t->bm, t->rd_sz, t->wr_sz, t->rd_io_sz, t->wr_io_sz); in pnfs_within_mdsthreshold()
1826 if (t->bm & THRESHOLD_RD) { in pnfs_within_mdsthreshold()
1832 if (t->bm & THRESHOLD_RD_IO) { in pnfs_within_mdsthreshold()
1841 if (t->bm & THRESHOLD_WR) { in pnfs_within_mdsthreshold()
1847 if (t->bm & THRESHOLD_WR_IO) { in pnfs_within_mdsthreshold()
Dpnfs.h561 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()
Dnfs4xdr.c4506 res->bm = bitmap[0]; in decode_first_threshold_item4()
4509 __func__, res->bm, res->rd_sz, res->wr_sz, res->rd_io_sz, in decode_first_threshold_item4()
/fs/udf/
Dsuper.c2436 struct spaceBitmapDesc *bm; in udf_count_free_bitmap() local
2451 bm = (struct spaceBitmapDesc *)bh->b_data; in udf_count_free_bitmap()
2452 bytes = le32_to_cpu(bm->numOfBytes); in udf_count_free_bitmap()