Home
last modified time | relevance | path

Searched refs:bgi (Results 1 – 3 of 3) sorted by relevance

/fs/btrfs/
Dblock-group.c2094 struct btrfs_block_group_item *bgi, in read_one_block_group() argument
2109 cache->used = btrfs_stack_block_group_used(bgi); in read_one_block_group()
2110 cache->flags = btrfs_stack_block_group_flags(bgi); in read_one_block_group()
2111 cache->global_root_id = btrfs_stack_block_group_chunk_objectid(bgi); in read_one_block_group()
2301 struct btrfs_block_group_item bgi; in btrfs_read_block_groups() local
2314 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups()
2315 sizeof(bgi)); in btrfs_read_block_groups()
2319 ret = read_one_block_group(info, &bgi, &key, need_clear); in btrfs_read_block_groups()
2385 struct btrfs_block_group_item bgi; in insert_block_group_item() local
2390 btrfs_set_stack_block_group_used(&bgi, block_group->used); in insert_block_group_item()
[all …]
Dtree-checker.c657 struct btrfs_block_group_item bgi; in check_block_group_item() local
673 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item()
676 item_size, sizeof(bgi)); in check_block_group_item()
680 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
681 sizeof(bgi)); in check_block_group_item()
682 chunk_objectid = btrfs_stack_block_group_chunk_objectid(&bgi); in check_block_group_item()
701 btrfs_stack_block_group_chunk_objectid(&bgi), in check_block_group_item()
706 if (unlikely(btrfs_stack_block_group_used(&bgi) > key->offset)) { in check_block_group_item()
709 btrfs_stack_block_group_used(&bgi), key->offset); in check_block_group_item()
713 flags = btrfs_stack_block_group_flags(&bgi); in check_block_group_item()
/fs/ext2/
Dballoc.c1216 int bgi; /* blockgroup iteration index */ in ext2_new_blocks() local
1316 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks()