Searched refs:bgi (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | block-group.c | 1988 struct btrfs_block_group_item *bgi, in read_one_block_group() argument 2003 cache->used = btrfs_stack_block_group_used(bgi); in read_one_block_group() 2004 cache->flags = btrfs_stack_block_group_flags(bgi); in read_one_block_group() 2005 cache->global_root_id = btrfs_stack_block_group_chunk_objectid(bgi); in read_one_block_group() 2193 struct btrfs_block_group_item bgi; in btrfs_read_block_groups() local 2206 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 2207 sizeof(bgi)); in btrfs_read_block_groups() 2211 ret = read_one_block_group(info, &bgi, &key, need_clear); in btrfs_read_block_groups() 2277 struct btrfs_block_group_item bgi; in insert_block_group_item() local 2282 btrfs_set_stack_block_group_used(&bgi, block_group->used); in insert_block_group_item() [all …]
|
D | tree-checker.c | 643 struct btrfs_block_group_item bgi; in check_block_group_item() local 659 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item() 662 item_size, sizeof(bgi)); in check_block_group_item() 666 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 667 sizeof(bgi)); in check_block_group_item() 668 chunk_objectid = btrfs_stack_block_group_chunk_objectid(&bgi); in check_block_group_item() 687 btrfs_stack_block_group_chunk_objectid(&bgi), in check_block_group_item() 692 if (unlikely(btrfs_stack_block_group_used(&bgi) > key->offset)) { in check_block_group_item() 695 btrfs_stack_block_group_used(&bgi), key->offset); in check_block_group_item() 699 flags = btrfs_stack_block_group_flags(&bgi); in check_block_group_item()
|
/linux-6.1.9/fs/ext2/ |
D | balloc.c | 1216 int bgi; /* blockgroup iteration index */ in ext2_new_blocks() local 1316 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks()
|
/linux-6.1.9/drivers/scsi/ |
D | myrb.c | 582 struct myrb_bgi_status *bgi, *last_bgi; in myrb_bgi_control() local 587 bgi = dma_alloc_coherent(&cb->pdev->dev, sizeof(struct myrb_bgi_status), in myrb_bgi_control() 589 if (!bgi) { in myrb_bgi_control() 603 bgi->ldev_num, 0); in myrb_bgi_control() 606 switch (bgi->status) { in myrb_bgi_control() 618 if (bgi->blocks_done == last_bgi->blocks_done && in myrb_bgi_control() 619 bgi->ldev_num == last_bgi->ldev_num) in myrb_bgi_control() 623 (100 * (bgi->blocks_done >> 7)) in myrb_bgi_control() 624 / (bgi->ldev_size >> 7)); in myrb_bgi_control() 639 memcpy(&cb->bgi_status, bgi, sizeof(struct myrb_bgi_status)); in myrb_bgi_control() [all …]
|
D | myrb.h | 327 unsigned int bgi:1; /* Byte 116 Bit 3 */ member
|