Searched refs:bm (Results 1 – 6 of 6) sorted by relevance
/fs/affs/ |
D | bitmap.c | 39 struct affs_bm_info *bm; in affs_count_free_blocks() local 50 bm = AFFS_SB(sb)->s_bitmap; in affs_count_free_blocks() 52 for (i = AFFS_SB(sb)->s_bmap_count; i > 0; bm++, i--) in affs_count_free_blocks() 53 free += bm->bm_free; in affs_count_free_blocks() 64 struct affs_bm_info *bm; in affs_free_block() local 77 bm = &sbi->s_bitmap[bmap]; in affs_free_block() 84 bh = affs_bread(sb, bm->bm_key); in affs_free_block() 106 bm->bm_free++; in affs_free_block() 117 affs_error(sb,"affs_free_block","Cannot read bitmap block %u", bm->bm_key); in affs_free_block() 142 struct affs_bm_info *bm; in affs_alloc_block() local [all …]
|
/fs/reiserfs/ |
D | bitmap.c | 247 unsigned bm; in bmap_hash_id() local 250 bm = 1; in bmap_hash_id() 254 bm = hash % reiserfs_bmap_count(s); in bmap_hash_id() 255 if (!bm) in bmap_hash_id() 256 bm = 1; in bmap_hash_id() 259 if (bm >= reiserfs_bmap_count(s)) in bmap_hash_id() 260 bm = 0; in bmap_hash_id() 261 return bm; in bmap_hash_id() 270 int bm = bmap_hash_id(s, id); in block_group_used() local 271 struct reiserfs_bitmap_info *info = &SB_AP_BITMAP(s)[bm]; in block_group_used() [all …]
|
/fs/nfs/ |
D | callback_xdr.c | 222 __be32 bm[2]; in encode_attr_bitmap() local 225 bm[0] = htonl(bitmap[0] & CB_SUPPORTED_ATTR0); in encode_attr_bitmap() 226 bm[1] = htonl(bitmap[1] & CB_SUPPORTED_ATTR1); in encode_attr_bitmap() 227 if (bm[1] != 0) { in encode_attr_bitmap() 232 *p++ = bm[0]; in encode_attr_bitmap() 233 *p++ = bm[1]; in encode_attr_bitmap() 234 } else if (bm[0] != 0) { in encode_attr_bitmap() 239 *p++ = bm[0]; in encode_attr_bitmap()
|
/fs/xfs/linux-2.6/ |
D | xfs_iops.c | 710 struct getbmapx bm; in xfs_vn_fiemap() local 718 bm.bmv_offset = BTOBB(start); in xfs_vn_fiemap() 721 bm.bmv_length = -1LL; in xfs_vn_fiemap() 723 bm.bmv_length = BTOBB(length); in xfs_vn_fiemap() 726 bm.bmv_count = MAXEXTNUM; in xfs_vn_fiemap() 727 bm.bmv_iflags = BMV_IF_PREALLOC; in xfs_vn_fiemap() 729 bm.bmv_iflags |= BMV_IF_ATTRFORK; in xfs_vn_fiemap() 731 bm.bmv_iflags |= BMV_IF_DELALLOC; in xfs_vn_fiemap() 733 error = xfs_getbmap(ip, &bm, xfs_fiemap_format, fieinfo); in xfs_vn_fiemap()
|
/fs/ext4/ |
D | mballoc.c | 1082 static void mb_clear_bits(spinlock_t *lock, void *bm, int cur, int len) in mb_clear_bits() argument 1090 addr = bm + (cur >> 3); in mb_clear_bits() 1096 mb_clear_bit_atomic(lock, cur, bm); in mb_clear_bits() 1098 mb_clear_bit(cur, bm); in mb_clear_bits() 1103 static void mb_set_bits(spinlock_t *lock, void *bm, int cur, int len) in mb_set_bits() argument 1111 addr = bm + (cur >> 3); in mb_set_bits() 1117 mb_set_bit_atomic(lock, cur, bm); in mb_set_bits() 1119 mb_set_bit(cur, bm); in mb_set_bits()
|
/fs/udf/ |
D | super.c | 2121 struct spaceBitmapDesc *bm; in udf_count_free_bitmap() local 2138 bm = (struct spaceBitmapDesc *)bh->b_data; in udf_count_free_bitmap() 2139 bytes = le32_to_cpu(bm->numOfBytes); in udf_count_free_bitmap()
|