Searched refs:bgi (Results 1 – 3 of 3) sorted by relevance
/fs/btrfs/ |
D | block-group.c | 2314 struct btrfs_block_group_item *bgi, in read_one_block_group() argument 2329 cache->used = btrfs_stack_block_group_used(bgi); in read_one_block_group() 2331 cache->flags = btrfs_stack_block_group_flags(bgi); in read_one_block_group() 2332 cache->global_root_id = btrfs_stack_block_group_chunk_objectid(bgi); in read_one_block_group() 2522 struct btrfs_block_group_item bgi; in btrfs_read_block_groups() local 2535 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 2536 sizeof(bgi)); in btrfs_read_block_groups() 2540 ret = read_one_block_group(info, &bgi, &key, need_clear); in btrfs_read_block_groups() 2606 struct btrfs_block_group_item bgi; in insert_block_group_item() local 2613 btrfs_set_stack_block_group_used(&bgi, block_group->used); in insert_block_group_item() [all …]
|
D | tree-checker.c | 663 struct btrfs_block_group_item bgi; in check_block_group_item() local 679 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item() 682 item_size, sizeof(bgi)); in check_block_group_item() 686 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 687 sizeof(bgi)); in check_block_group_item() 688 chunk_objectid = btrfs_stack_block_group_chunk_objectid(&bgi); in check_block_group_item() 707 btrfs_stack_block_group_chunk_objectid(&bgi), in check_block_group_item() 712 if (unlikely(btrfs_stack_block_group_used(&bgi) > key->offset)) { in check_block_group_item() 715 btrfs_stack_block_group_used(&bgi), key->offset); in check_block_group_item() 719 flags = btrfs_stack_block_group_flags(&bgi); in check_block_group_item()
|
/fs/ext2/ |
D | balloc.c | 1218 int bgi; /* blockgroup iteration index */ in ext2_new_blocks() local 1318 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks()
|