Home
last modified time | relevance | path

Searched refs:bit_off (Results 1 – 8 of 8) sorted by relevance

/fs/ocfs2/
Dlocalalloc.c719 u32 *bit_off, in ocfs2_claim_local_alloc_bits() argument
744 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits()
774 u32 bit_off, in ocfs2_free_local_alloc_bits() argument
791 start = bit_off - le32_to_cpu(la->la_bm_off); in ocfs2_free_local_alloc_bits()
956 int bit_off, left, count, start; in ocfs2_sync_local_to_main() local
978 start = count = bit_off = 0; in ocfs2_sync_local_to_main()
981 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start)) in ocfs2_sync_local_to_main()
983 if ((bit_off < left) && (bit_off == start)) { in ocfs2_sync_local_to_main()
1007 if (bit_off >= left) in ocfs2_sync_local_to_main()
1010 start = bit_off + 1; in ocfs2_sync_local_to_main()
Dlocalalloc.h41 u32 *bit_off,
47 u32 bit_off,
Dsuballoc.c425 u32 bit_off, num_bits; in ocfs2_block_group_alloc_contig() local
431 le16_to_cpu(cl->cl_cpg), &bit_off, in ocfs2_block_group_alloc_contig()
440 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig()
467 u32 *bit_off, u32 *num_bits) in ocfs2_block_group_claim_bits() argument
473 bit_off, num_bits); in ocfs2_block_group_claim_bits()
582 u32 bit_off, num_bits; in ocfs2_block_group_alloc_discontig() local
611 &bit_off, &num_bits); in ocfs2_block_group_alloc_discontig()
620 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig()
1338 unsigned int bit_off, in ocfs2_block_group_set_bits() argument
1350 trace_ocfs2_block_group_set_bits(bit_off, num_bits); in ocfs2_block_group_set_bits()
[all …]
Dsuballoc.h88 unsigned int bit_off,
Dalloc.c4785 u32 bit_off, num_bits; in ocfs2_add_clusters_in_btree() local
4823 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4841 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree()
4844 bit_off, num_bits); in ocfs2_add_clusters_in_btree()
4868 bit_off, num_bits); in ocfs2_add_clusters_in_btree()
4873 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_add_clusters_in_btree()
7053 u32 bit_off, num; in ocfs2_convert_inline_data_to_extents() local
7102 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents()
7113 block = phys = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_convert_inline_data_to_extents()
7177 bit_off, num); in ocfs2_convert_inline_data_to_extents()
[all …]
Ddir.c2771 u32 alloc, dx_alloc, bit_off, len, num_dx_entries = 0; in ocfs2_expand_inline_dir() local
2880 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, &len); in ocfs2_expand_inline_dir()
2892 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
3021 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_expand_inline_dir()
3027 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
Dxattr.c4277 u32 bit_off, len; in ocfs2_xattr_create_index_block() local
4308 1, 1, &bit_off, &len); in ocfs2_xattr_create_index_block()
4319 blkno = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_xattr_create_index_block()
5107 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5128 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5137 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_new_xattr_cluster()
/fs/btrfs/
Dfree-space-cache.c3690 u64 bit_off, bit_bytes; in test_check_exists() local
3694 bit_off = offset; in test_check_exists()
3696 ret = search_bitmap(ctl, info, &bit_off, &bit_bytes, false); in test_check_exists()
3698 if (bit_off == offset) { in test_check_exists()
3701 } else if (bit_off > offset && in test_check_exists()
3702 offset + bytes > bit_off) { in test_check_exists()