/openbmc/linux/fs/f2fs/ |
H A D | node.c | 154 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page() 368 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry() 447 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry() 468 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr() 476 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr() 483 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr() 484 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr() 486 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr() 488 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr() 672 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset() [all …]
|
H A D | segment.c | 770 f2fs_bug_on(sbi, 1); in __locate_dirty_segment() 781 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment() 949 f2fs_bug_on(sbi, !len); in __create_discard_cmd() 1108 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd() 1157 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap() 1336 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd() 1400 f2fs_bug_on(sbi, 1); in __insert_discard_cmd() 1660 f2fs_bug_on(sbi, !f2fs_check_discard_tree(sbi)); in __issue_discard_cmd() 1663 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd() 1711 f2fs_bug_on(sbi, dc->state != D_PREP); in __drop_discard_cmd() [all …]
|
H A D | extent_cache.c | 307 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node() 565 f2fs_bug_on(sbi, 1); in __insert_extent_tree() 603 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_node() 668 f2fs_bug_on(sbi, fofs >= org_end); in __update_extent_tree_range() 867 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age() 875 f2fs_bug_on(sbi, 1); in __get_new_block_age() 1136 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_tree()
|
H A D | segment.h | 32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type() 510 f2fs_bug_on(sbi, 1); in get_sit_bitmap() 800 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count() 823 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr() 828 f2fs_bug_on(sbi, 1); in current_sit_addr()
|
H A D | checkpoint.c | 530 f2fs_bug_on(sbi, 1); in __add_ino_entry() 658 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode() 688 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode() 1419 f2fs_bug_on(sbi, 1); in commit_checkpoint() 1428 f2fs_bug_on(sbi, err); in commit_checkpoint() 1590 f2fs_bug_on(sbi, in do_checkpoint() 1616 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint() 1686 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint() 1698 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
|
H A D | compress.c | 85 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page() 168 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page() 879 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data() 928 f2fs_bug_on(F2FS_I_SB(dn->inode), count != cluster_size && in f2fs_sanity_check_cluster() 1112 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite() 1204 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster() 1367 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages() 1565 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages() 1568 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
|
H A D | gc.c | 379 f2fs_bug_on(sbi, 1); in get_gc_cost() 567 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim() 573 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 630 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim() 662 f2fs_bug_on(sbi, !f2fs_check_victim_tree(sbi, &sbi->am.root)); in lookup_victim_by_age() 669 f2fs_bug_on(sbi, 1); in lookup_victim_by_age() 685 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry() 686 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry() 2066 f2fs_bug_on(sbi, 1); in free_segment_range()
|
H A D | inline.c | 89 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data() 185 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page() 278 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
|
H A D | recovery.c | 676 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data() 893 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data() 895 f2fs_bug_on(sbi, sbi->sb->s_flags & SB_ACTIVE); in f2fs_recover_fsync_data()
|
H A D | data.c | 357 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io() 765 f2fs_bug_on(sbi, 1); in add_bio_entry() 798 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page() 833 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write() 954 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write() 1384 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page() 1742 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks() 2160 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages() 2204 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages() 2836 f2fs_bug_on(sbi, compr_blocks); in f2fs_write_single_data_page()
|
H A D | node.h | 191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
|
H A D | inode.c | 837 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode() 913 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
|
H A D | file.c | 101 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite() 693 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 743 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks() 1148 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole() 2006 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common() 2184 f2fs_bug_on(sbi, get_dirty_pages(fi->cow_inode)); in f2fs_ioc_start_atomic_write() 4207 f2fs_bug_on(F2FS_I_SB(inode), !page); in redirty_blocks()
|
H A D | f2fs.h | 35 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro 37 #define f2fs_bug_on(sbi, condition) \ macro 2437 f2fs_bug_on(F2FS_P_SB(page), page_private(page)); in clear_page_private_all() 2447 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count() 2791 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
|
H A D | xattr.c | 484 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
|
H A D | namei.c | 291 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
|
H A D | super.c | 1639 f2fs_bug_on(sbi, 1); in f2fs_put_super() 1642 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()
|