/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_S in f2fs_get_next_page_offset() [all...] |
H A D | segment.c | 763 f2fs_bug_on(sbi, 1); in __locate_dirty_segment() 774 f2fs_bug_on(sbi, 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() 1330 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd() 1655 f2fs_bug_on(sbi, !f2fs_check_discard_tree(sbi)); in __issue_discard_cmd() 1658 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd() 1706 f2fs_bug_on(sbi, dc->state != D_PREP); in __drop_discard_cmd() 1729 f2fs_bug_on(sbi, dc->state != D_DONE); in __wait_one_discard_bio() [all …]
|
H A D | segment.h | 32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type() 509 f2fs_bug_on(sbi, 1); in get_sit_bitmap() 784 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count() 807 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr() 812 f2fs_bug_on(sbi, 1); in current_sit_addr()
|
H A D | checkpoint.c | 546 f2fs_bug_on(sbi, 1); in __add_ino_entry() 674 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode() 704 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode() 1435 f2fs_bug_on(sbi, 1); in commit_checkpoint() 1444 f2fs_bug_on(sbi, err); in commit_checkpoint() 1606 f2fs_bug_on(sbi, in do_checkpoint() 1632 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint() 1702 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint() 1714 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
|
H A D | extent_cache.c | 306 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node() 563 f2fs_bug_on(sbi, 1); in __insert_extent_tree() 642 f2fs_bug_on(sbi, fofs >= org_end); in __update_extent_tree_range() 841 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age() 905 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __shrink_extent_tree() 1120 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_tree()
|
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() 1117 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite() 1209 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster() 1371 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages() 1581 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages() 1584 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
|
H A D | gc.c | 377 f2fs_bug_on(sbi, 1); in get_gc_cost() 565 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim() 571 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 628 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim() 660 f2fs_bug_on(sbi, !f2fs_check_victim_tree(sbi, &sbi->am.root)); in lookup_victim_by_age() 667 f2fs_bug_on(sbi, 1); in lookup_victim_by_age() 683 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry() 684 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry() 2075 f2fs_bug_on(sbi, 1); in free_segment_range()
|
H A D | inline.c | 89 f2fs_bug_on(F2FS_I_SB(inode), folio_index(folio)); in f2fs_do_read_inline_data() 185 f2fs_bug_on(F2FS_P_SB(page), folio_test_writeback(page_folio(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 | 669 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data() 881 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data() 883 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() 768 f2fs_bug_on(sbi, 1); in add_bio_entry() 801 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page() 836 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write() 955 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write() 1381 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page() 1761 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks() 2203 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages() 2247 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages() 2873 f2fs_bug_on(sbi, compr_blocks); in f2fs_write_single_data_page() [all …]
|
H A D | node.h | 191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
|
H A D | inode.c | 818 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode() 896 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
|
H A D | file.c | 105 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite() 712 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 762 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks() 1156 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole() 2008 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common() 4194 f2fs_bug_on(F2FS_I_SB(inode), !page); in redirty_blocks()
|
H A D | f2fs.h | 36 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro 38 #define f2fs_bug_on(sbi, condition) \ macro 2439 f2fs_bug_on(F2FS_P_SB(page), page_private(page)); in clear_page_private_all() 2449 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count() 2793 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 | 293 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
|
H A D | super.c | 1641 f2fs_bug_on(sbi, 1); in f2fs_put_super() 1644 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()
|