Searched refs:bm (Results 1 – 7 of 7) sorted by relevance
/fs/affs/ |
D | bitmap.c | 40 struct affs_bm_info *bm; in affs_count_free_blocks() local 51 bm = AFFS_SB(sb)->s_bitmap; in affs_count_free_blocks() 53 for (i = AFFS_SB(sb)->s_bmap_count; i > 0; bm++, i--) in affs_count_free_blocks() 54 free += bm->bm_free; in affs_count_free_blocks() 65 struct affs_bm_info *bm; in affs_free_block() local 78 bm = &sbi->s_bitmap[bmap]; in affs_free_block() 85 bh = affs_bread(sb, bm->bm_key); in affs_free_block() 107 bm->bm_free++; in affs_free_block() 118 affs_error(sb,"affs_free_block","Cannot read bitmap block %u", bm->bm_key); in affs_free_block() 143 struct affs_bm_info *bm; in affs_alloc_block() local [all …]
|
/fs/reiserfs/ |
D | bitmap.c | 245 unsigned bm; in bmap_hash_id() local 248 bm = 1; in bmap_hash_id() 252 bm = hash % reiserfs_bmap_count(s); in bmap_hash_id() 253 if (!bm) in bmap_hash_id() 254 bm = 1; in bmap_hash_id() 257 if (bm >= reiserfs_bmap_count(s)) in bmap_hash_id() 258 bm = 0; in bmap_hash_id() 259 return bm; in bmap_hash_id() 268 int bm = bmap_hash_id(s, id); in block_group_used() local 269 struct reiserfs_bitmap_info *info = &SB_AP_BITMAP(s)[bm]; in block_group_used() [all …]
|
/fs/xfs/ |
D | xfs_iops.c | 974 struct getbmapx bm; in xfs_vn_fiemap() local 982 bm.bmv_offset = BTOBB(start); in xfs_vn_fiemap() 985 bm.bmv_length = -1LL; in xfs_vn_fiemap() 987 bm.bmv_length = BTOBB(length); in xfs_vn_fiemap() 990 bm.bmv_count = !fieinfo->fi_extents_max ? MAXEXTNUM : in xfs_vn_fiemap() 992 bm.bmv_count = min_t(__s32, bm.bmv_count, in xfs_vn_fiemap() 994 bm.bmv_iflags = BMV_IF_PREALLOC | BMV_IF_NO_HOLES; in xfs_vn_fiemap() 996 bm.bmv_iflags |= BMV_IF_ATTRFORK; in xfs_vn_fiemap() 998 bm.bmv_iflags |= BMV_IF_DELALLOC; in xfs_vn_fiemap() 1000 error = xfs_getbmap(ip, &bm, xfs_fiemap_format, fieinfo); in xfs_vn_fiemap()
|
/fs/nfs/ |
D | callback_xdr.c | 544 __be32 bm[2]; in encode_attr_bitmap() local 547 bm[0] = htonl(bitmap[0] & CB_SUPPORTED_ATTR0); in encode_attr_bitmap() 548 bm[1] = htonl(bitmap[1] & CB_SUPPORTED_ATTR1); in encode_attr_bitmap() 549 if (bm[1] != 0) { in encode_attr_bitmap() 554 *p++ = bm[0]; in encode_attr_bitmap() 555 *p++ = bm[1]; in encode_attr_bitmap() 556 } else if (bm[0] != 0) { in encode_attr_bitmap() 561 *p++ = bm[0]; in encode_attr_bitmap()
|
/fs/udf/ |
D | super.c | 2214 struct spaceBitmapDesc *bm; in udf_count_free_bitmap() local 2229 bm = (struct spaceBitmapDesc *)bh->b_data; in udf_count_free_bitmap() 2230 bytes = le32_to_cpu(bm->numOfBytes); in udf_count_free_bitmap()
|
/fs/ext4/ |
D | mballoc.c | 1222 static void mb_clear_bits(void *bm, int cur, int len) in mb_clear_bits() argument 1230 addr = bm + (cur >> 3); in mb_clear_bits() 1235 mb_clear_bit(cur, bm); in mb_clear_bits() 1240 void ext4_set_bits(void *bm, int cur, int len) in ext4_set_bits() argument 1248 addr = bm + (cur >> 3); in ext4_set_bits() 1253 mb_set_bit(cur, bm); in ext4_set_bits()
|
D | ext4.h | 988 extern void ext4_set_bits(void *bm, int cur, int len);
|