Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 11 of 11) 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.h338 int (*handle_blockmap)(struct incfs_blockmap *bm,
Ddata_mgmt.c1524 static int process_blockmap_md(struct incfs_blockmap *bm, in process_blockmap_md() argument
1529 loff_t base_off = le64_to_cpu(bm->m_base_offset); in process_blockmap_md()
1530 u32 block_count = le32_to_cpu(bm->m_block_count); in process_blockmap_md()
/fs/nfs/
Dpnfs.c1861 __func__, t->bm, t->rd_sz, t->wr_sz, t->rd_io_sz, t->wr_io_sz); in pnfs_within_mdsthreshold()
1865 if (t->bm & THRESHOLD_RD) { in pnfs_within_mdsthreshold()
1871 if (t->bm & THRESHOLD_RD_IO) { in pnfs_within_mdsthreshold()
1880 if (t->bm & THRESHOLD_WR) { in pnfs_within_mdsthreshold()
1886 if (t->bm & THRESHOLD_WR_IO) { in pnfs_within_mdsthreshold()
Dpnfs.h621 return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld && in pnfs_use_threshold()
Dnfs4xdr.c4595 res->bm = bitmap[0]; in decode_first_threshold_item4()
4598 __func__, res->bm, res->rd_sz, res->wr_sz, res->rd_io_sz, in decode_first_threshold_item4()
/fs/ext4/
Dmballoc.c1761 static void mb_clear_bits(void *bm, int cur, int len) in mb_clear_bits() argument
1769 addr = bm + (cur >> 3); in mb_clear_bits()
1774 mb_clear_bit(cur, bm); in mb_clear_bits()
1782 static int mb_test_and_clear_bits(void *bm, int cur, int len) in mb_test_and_clear_bits() argument
1791 addr = bm + (cur >> 3); in mb_test_and_clear_bits()
1798 if (!mb_test_and_clear_bit(cur, bm) && zero_bit == -1) in mb_test_and_clear_bits()
1806 void mb_set_bits(void *bm, int cur, int len) in mb_set_bits() argument
1814 addr = bm + (cur >> 3); in mb_set_bits()
1819 mb_set_bit(cur, bm); in mb_set_bits()
Dext4.h1265 extern void mb_set_bits(void *bm, int cur, int len);
/fs/udf/
Dsuper.c2393 struct spaceBitmapDesc *bm; in udf_count_free_bitmap() local
2408 bm = (struct spaceBitmapDesc *)bh->b_data; in udf_count_free_bitmap()
2409 bytes = le32_to_cpu(bm->numOfBytes); in udf_count_free_bitmap()
/fs/ntfs3/
Dindex.c2066 const unsigned long *bm = resident_data(b); in indx_shrink() local
2073 pos = find_next_bit_le(bm, nbits, bit); in indx_shrink()