Home
last modified time | relevance | path

Searched refs:f2fs_bug_on (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/fs/f2fs/
Dnode.c131 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
340 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
415 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
436 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
444 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
451 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
452 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
454 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
456 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr()
629 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset()
[all …]
Dsegment.c356 f2fs_bug_on(sbi, !IS_ATOMIC_WRITTEN_PAGE(page)); in f2fs_drop_inmem_page()
364 f2fs_bug_on(sbi, list_empty(head) || cur->page != page); in f2fs_drop_inmem_page()
797 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
808 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment()
976 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1047 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1098 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1214 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1530 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in __issue_discard_cmd()
1534 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd()
[all …]
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()
417 f2fs_bug_on(sbi, !et); in f2fs_lookup_extent_tree()
583 f2fs_bug_on(sbi, pos >= org_end); in f2fs_update_extent_tree_range()
687 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()
Dsegment.h31 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type()
513 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
682 f2fs_bug_on(sbi, segno > TOTAL_SEGS(sbi) - 1); in check_seg_range()
730 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
757 f2fs_bug_on(sbi, 1); in current_sit_addr()
Dcompress.c86 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page()
181 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page()
847 f2fs_bug_on(sbi, !page); in __cluster_may_compress()
1013 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1016 f2fs_bug_on(sbi, !page); in prepare_compress_overwrite()
1123 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1278 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1465 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1468 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
Dgc.c331 f2fs_bug_on(sbi, 1); in get_gc_cost()
482 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim()
488 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
551 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim()
586 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in lookup_victim_by_age()
594 f2fs_bug_on(sbi, 1); in lookup_victim_by_age()
610 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry()
611 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry()
1002 f2fs_bug_on(sbi, 1); in is_alive()
1863 f2fs_bug_on(sbi, 1); in free_segment_range()
Drecovery.c586 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
648 f2fs_bug_on(sbi, err); in do_recover_data()
809 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data()
Dinline.c53 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data()
151 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page()
238 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
Dcheckpoint.c478 f2fs_bug_on(sbi, 1); in __add_ino_entry()
607 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode()
637 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode()
1372 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1381 f2fs_bug_on(sbi, err); in commit_checkpoint()
1555 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
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()
949 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1380 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
2186 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2218 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages()
Dnode.h191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
Dinode.c726 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
788 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
Df2fs.h32 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro
34 #define f2fs_bug_on(sbi, condition) \ macro
2114 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
2348 f2fs_bug_on(sbi, !sbi->total_valid_block_count); in dec_valid_node_count()
2349 f2fs_bug_on(sbi, !sbi->total_valid_node_count); in dec_valid_node_count()
2447 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
3136 f2fs_bug_on(sbi, 1); in verify_blkaddr()
Dfile.c94 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite()
644 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
694 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks()
1017 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1793 f2fs_bug_on(F2FS_I_SB(inode), (iflags & ~mask)); in f2fs_setflags_common()
1835 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common()
Dxattr.c485 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
Dnamei.c100 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
Dsuper.c1263 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()