Home
last modified time | relevance | path

Searched refs:f2fs_bug_on (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/fs/f2fs/
H A Dsegment.c448 f2fs_bug_on(sbi, !IS_ATOMIC_WRITTEN_PAGE(page)); in f2fs_drop_inmem_page()
458 f2fs_bug_on(sbi, !cur); in f2fs_drop_inmem_page()
909 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
920 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment()
1088 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1159 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1210 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1328 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1633 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, &dcc->root, false)); in __issue_discard_cmd()
1661 f2fs_bug_on(sb in __issue_discard_cmd()
[all...]
H A Dnode.c131 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
344 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
419 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
440 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
448 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
455 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
456 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
458 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
460 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr()
633 f2fs_bug_on(F2FS_I_S in f2fs_get_next_page_offset()
[all...]
H A Dsegment.h32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type()
550 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
728 f2fs_bug_on(sbi, segno > TOTAL_SEGS(sbi) - 1); in check_seg_range()
776 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
803 f2fs_bug_on(sbi, 1); in current_sit_addr()
H A Dextent_cache.c102 f2fs_bug_on(sbi, 1); in f2fs_lookup_rb_tree_for_insert()
279 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node()
584 f2fs_bug_on(sbi, pos >= org_end); in f2fs_update_extent_tree_range()
688 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in f2fs_shrink_extent_tree()
801 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in f2fs_destroy_extent_tree()
H A Dgc.c350 f2fs_bug_on(sbi, 1); in get_gc_cost()
497 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim()
503 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
566 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim()
601 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in lookup_victim_by_age()
609 f2fs_bug_on(sbi, 1); in lookup_victim_by_age()
625 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry()
626 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry()
1931 f2fs_bug_on(sbi, 1); in free_segment_range()
H A Dcompress.c86 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page()
169 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page()
832 f2fs_bug_on(sbi, !page); in __cluster_may_compress()
999 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1110 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1265 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1456 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1459 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
H A Dinline.c71 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data()
166 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page()
257 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
H A Dcheckpoint.c493 f2fs_bug_on(sbi, 1); in __add_ino_entry()
622 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode()
652 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode()
1396 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1405 f2fs_bug_on(sbi, err); in commit_checkpoint()
1579 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
H A Ddata.c378 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io()
516 f2fs_bug_on(sbi, !page); in __submit_bio()
523 f2fs_bug_on(sbi, 1); in __submit_bio()
784 f2fs_bug_on(sbi, 1); in add_bio_entry()
817 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page()
852 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write()
951 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1383 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
2209 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2243 f2fs_bug_on(sb in f2fs_read_multi_pages()
[all...]
H A Drecovery.c608 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
829 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data()
H A Dinode.c734 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
810 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
H A Dnode.h191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
H A Df2fs.h32 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro
34 #define f2fs_bug_on(sbi, condition) \ macro
2097 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
2441 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
3149 f2fs_bug_on(sbi, 1); in verify_blkaddr()
/kernel/linux/linux-6.6/fs/f2fs/
H A Dsegment.c760 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
771 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment()
939 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1098 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1149 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1319 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1383 f2fs_bug_on(sbi, 1); in __insert_discard_cmd()
1643 f2fs_bug_on(sbi, !f2fs_check_discard_tree(sbi)); in __issue_discard_cmd()
1646 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd()
1694 f2fs_bug_on(sb in __drop_discard_cmd()
[all...]
H A Dnode.c154 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 Dextent_cache.c317 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()
H A Dsegment.h32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type()
521 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
796 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
819 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr()
824 f2fs_bug_on(sbi, 1); in current_sit_addr()
H A Dcheckpoint.c530 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()
1414 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1423 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 Dcompress.c85 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()
885 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data()
981 f2fs_bug_on(F2FS_I_SB(inode), in __f2fs_cluster_blocks()
1091 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1183 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1346 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1544 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1547 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
H A Dgc.c377 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()
2042 f2fs_bug_on(sbi, 1); in free_segment_range()
H A Ddata.c368 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io()
538 f2fs_bug_on(sbi, !page); in f2fs_align_write_bio()
546 f2fs_bug_on(sbi, 1); in f2fs_align_write_bio()
823 f2fs_bug_on(sbi, 1); in add_bio_entry()
856 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page()
891 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write()
1010 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1449 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
1809 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks()
2247 f2fs_bug_on(sb in f2fs_read_multi_pages()
[all...]
H A Drecovery.c676 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 Dinline.c71 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()
H A Dnode.h191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
H A Dinode.c828 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
904 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()

Completed in 55 milliseconds

12