/fs/ocfs2/ |
D | localalloc.c | 735 u32 *bit_off, in ocfs2_claim_local_alloc_bits() argument 760 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits() 790 u32 bit_off, in ocfs2_free_local_alloc_bits() argument 807 start = bit_off - le32_to_cpu(la->la_bm_off); in ocfs2_free_local_alloc_bits() 973 int bit_off, left, count, start; in ocfs2_sync_local_to_main() local 995 start = count = bit_off = 0; in ocfs2_sync_local_to_main() 998 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start)) in ocfs2_sync_local_to_main() 1000 if ((bit_off < left) && (bit_off == start)) { in ocfs2_sync_local_to_main() 1024 if (bit_off >= left) in ocfs2_sync_local_to_main() 1027 start = bit_off + 1; in ocfs2_sync_local_to_main()
|
D | localalloc.h | 55 u32 *bit_off, 61 u32 bit_off,
|
D | suballoc.c | 441 u32 bit_off, num_bits; in ocfs2_block_group_alloc_contig() local 447 le16_to_cpu(cl->cl_cpg), &bit_off, in ocfs2_block_group_alloc_contig() 456 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig() 483 u32 *bit_off, u32 *num_bits) in ocfs2_block_group_claim_bits() argument 489 bit_off, num_bits); in ocfs2_block_group_claim_bits() 598 u32 bit_off, num_bits; in ocfs2_block_group_alloc_discontig() local 627 &bit_off, &num_bits); in ocfs2_block_group_alloc_discontig() 636 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig() 1357 unsigned int bit_off, in ocfs2_block_group_set_bits() argument 1369 trace_ocfs2_block_group_set_bits(bit_off, num_bits); in ocfs2_block_group_set_bits() [all …]
|
D | suballoc.h | 102 unsigned int bit_off,
|
D | alloc.c | 4776 u32 bit_off, num_bits; in ocfs2_add_clusters_in_btree() local 4814 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree() 4832 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree() 4835 bit_off, num_bits); in ocfs2_add_clusters_in_btree() 4859 bit_off, num_bits); in ocfs2_add_clusters_in_btree() 4864 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_add_clusters_in_btree() 6890 u32 bit_off, num; in ocfs2_convert_inline_data_to_extents() local 6947 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents() 6958 block = phys = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_convert_inline_data_to_extents() 7034 bit_off, num); in ocfs2_convert_inline_data_to_extents() [all …]
|
D | dir.c | 2796 u32 alloc, dx_alloc, bit_off, len, num_dx_entries = 0; in ocfs2_expand_inline_dir() local 2905 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, &len); in ocfs2_expand_inline_dir() 2917 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir() 3046 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_expand_inline_dir() 3052 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
|
D | xattr.c | 4284 u32 bit_off, len; in ocfs2_xattr_create_index_block() local 4315 1, 1, &bit_off, &len); in ocfs2_xattr_create_index_block() 4326 blkno = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_xattr_create_index_block() 5114 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local 5135 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster() 5144 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_new_xattr_cluster()
|
/fs/btrfs/ |
D | free-space-cache.c | 3683 u64 bit_off, bit_bytes; in test_check_exists() local 3687 bit_off = offset; in test_check_exists() 3689 ret = search_bitmap(ctl, info, &bit_off, &bit_bytes, false); in test_check_exists() 3691 if (bit_off == offset) { in test_check_exists() 3694 } else if (bit_off > offset && in test_check_exists() 3695 offset + bytes > bit_off) { in test_check_exists()
|