Searched refs:bgi (Results 1 – 3 of 3) sorted by relevance
/fs/btrfs/ |
D | block-group.c | 1992 struct btrfs_block_group_item *bgi, in read_one_block_group() argument 2008 cache->used = btrfs_stack_block_group_used(bgi); in read_one_block_group() 2009 cache->flags = btrfs_stack_block_group_flags(bgi); in read_one_block_group() 2204 struct btrfs_block_group_item bgi; in btrfs_read_block_groups() local 2217 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 2218 sizeof(bgi)); in btrfs_read_block_groups() 2222 ret = read_one_block_group(info, &bgi, &key, need_clear); in btrfs_read_block_groups() 2288 struct btrfs_block_group_item bgi; in insert_block_group_item() local 2293 btrfs_set_stack_block_group_used(&bgi, block_group->used); in insert_block_group_item() 2294 btrfs_set_stack_block_group_chunk_objectid(&bgi, in insert_block_group_item() [all …]
|
D | tree-checker.c | 656 struct btrfs_block_group_item bgi; in check_block_group_item() local 671 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item() 674 item_size, sizeof(bgi)); in check_block_group_item() 678 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 679 sizeof(bgi)); in check_block_group_item() 680 if (unlikely(btrfs_stack_block_group_chunk_objectid(&bgi) != in check_block_group_item() 684 btrfs_stack_block_group_chunk_objectid(&bgi), in check_block_group_item() 689 if (unlikely(btrfs_stack_block_group_used(&bgi) > key->offset)) { in check_block_group_item() 692 btrfs_stack_block_group_used(&bgi), key->offset); in check_block_group_item() 696 flags = btrfs_stack_block_group_flags(&bgi); in check_block_group_item()
|
/fs/ext2/ |
D | balloc.c | 1215 int bgi; /* blockgroup iteration index */ in ext2_new_blocks() local 1315 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks()
|