/fs/f2fs/ |
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 …]
|
D | segment.c | 756 f2fs_bug_on(sbi, 1); in __locate_dirty_segment() 767 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment() 935 f2fs_bug_on(sbi, !len); in __create_discard_cmd() 1094 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd() 1145 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap() 1262 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd() 1326 f2fs_bug_on(sbi, 1); in __insert_discard_cmd() 1574 f2fs_bug_on(sbi, !f2fs_check_discard_tree(sbi)); in __issue_discard_cmd() 1577 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd() 1625 f2fs_bug_on(sbi, dc->state != D_PREP); in __drop_discard_cmd() [all …]
|
D | extent_cache.c | 317 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node() 574 f2fs_bug_on(sbi, 1); in __insert_extent_tree() 653 f2fs_bug_on(sbi, fofs >= org_end); in __update_extent_tree_range() 852 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age() 860 f2fs_bug_on(sbi, 1); in __get_new_block_age() 918 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __shrink_extent_tree() 1133 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_tree()
|
D | recovery.c | 633 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data() 688 f2fs_bug_on(sbi, 1); in do_recover_data() 705 f2fs_bug_on(sbi, 1); in do_recover_data() 865 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data() 867 f2fs_bug_on(sbi, sbi->sb->s_flags & SB_ACTIVE); in f2fs_recover_fsync_data()
|
D | segment.h | 32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type() 521 f2fs_bug_on(sbi, 1); in get_sit_bitmap() 797 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count() 820 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr() 825 f2fs_bug_on(sbi, 1); in current_sit_addr()
|
D | compress.c | 83 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page() 166 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page() 863 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data() 959 f2fs_bug_on(F2FS_I_SB(inode), in __f2fs_cluster_blocks() 1069 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite() 1161 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster() 1323 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages() 1512 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages() 1515 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
|
D | checkpoint.c | 531 f2fs_bug_on(sbi, 1); in __add_ino_entry() 659 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode() 689 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode() 1415 f2fs_bug_on(sbi, 1); in commit_checkpoint() 1424 f2fs_bug_on(sbi, err); in commit_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()
|
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() 629 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim() 661 f2fs_bug_on(sbi, !f2fs_check_victim_tree(sbi, &sbi->am.root)); in lookup_victim_by_age() 668 f2fs_bug_on(sbi, 1); in lookup_victim_by_age() 684 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry() 685 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry() 2035 f2fs_bug_on(sbi, 1); in free_segment_range()
|
D | inline.c | 71 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data() 167 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page() 258 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
|
D | data.c | 371 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io() 534 f2fs_bug_on(sbi, !page); in f2fs_align_write_bio() 542 f2fs_bug_on(sbi, 1); in f2fs_align_write_bio() 814 f2fs_bug_on(sbi, 1); in add_bio_entry() 847 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page() 882 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write() 980 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write() 1404 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page() 1766 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks() 2217 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages() [all …]
|
D | node.h | 192 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
|
D | inode.c | 793 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode() 869 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
|
D | f2fs.h | 32 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro 34 #define f2fs_bug_on(sbi, condition) \ macro 2362 f2fs_bug_on(F2FS_P_SB(page), page_private(page)); in clear_page_private_all() 2372 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count() 2723 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page() 3410 f2fs_bug_on(sbi, 1); in verify_blkaddr()
|
D | file.c | 101 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite() 663 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 713 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks() 1089 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole() 1927 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common() 4004 f2fs_bug_on(F2FS_I_SB(inode), !page); in redirty_blocks()
|
D | xattr.c | 483 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
|
D | namei.c | 277 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
|
D | super.c | 1647 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()
|