Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dnode.c156 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
369 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
448 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
469 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
477 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
484 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
485 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
487 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
489 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr()
673 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset()
[all …]
H A Dsegment.c359 f2fs_bug_on(sbi, !page_private_atomic(page)); in f2fs_drop_inmem_page()
369 f2fs_bug_on(sbi, !cur); in f2fs_drop_inmem_page()
822 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
833 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment()
1001 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1072 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1123 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1243 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1559 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in __issue_discard_cmd()
1563 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd()
[all …]
H A Dextent_cache.c223 f2fs_bug_on(sbi, 1); in f2fs_lookup_rb_tree_for_insert()
405 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node()
729 f2fs_bug_on(sbi, fofs >= org_end); in __update_extent_tree_range()
929 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age()
937 f2fs_bug_on(sbi, 1); in __get_new_block_age()
995 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __shrink_extent_tree()
1200 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()
524 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
705 f2fs_bug_on(sbi, segno > TOTAL_SEGS(sbi) - 1); in check_seg_range()
753 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
780 f2fs_bug_on(sbi, 1); in current_sit_addr()
H A Dgc.c351 f2fs_bug_on(sbi, 1); in get_gc_cost()
498 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim()
504 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
567 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim()
602 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in lookup_victim_by_age()
610 f2fs_bug_on(sbi, 1); in lookup_victim_by_age()
626 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry()
627 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry()
1050 f2fs_bug_on(sbi, 1); in is_alive()
1926 f2fs_bug_on(sbi, 1); in free_segment_range()
H A Dcompress.c82 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page()
164 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page()
861 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data()
905 f2fs_bug_on(F2FS_I_SB(inode), in __f2fs_cluster_blocks()
1013 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1105 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1266 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1453 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1456 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
H A Dcheckpoint.c491 f2fs_bug_on(sbi, 1); in __add_ino_entry()
620 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode()
650 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode()
1393 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1402 f2fs_bug_on(sbi, err); in commit_checkpoint()
1594 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
H A Drecovery.c610 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
672 f2fs_bug_on(sbi, err); in do_recover_data()
834 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data()
H A Dinline.c73 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data()
188 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page()
281 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
H A Ddata.c351 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io()
493 f2fs_bug_on(sbi, !page); in __submit_bio()
501 f2fs_bug_on(sbi, 1); in __submit_bio()
764 f2fs_bug_on(sbi, 1); in add_bio_entry()
797 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page()
928 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1353 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
2180 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2220 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages()
H A Dnode.h197 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
H A Dinode.c752 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
830 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
H A Df2fs.h32 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro
34 #define f2fs_bug_on(sbi, condition) \ macro
2355 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
2701 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
3399 f2fs_bug_on(sbi, 1); in verify_blkaddr()
H A Dfile.c100 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite()
674 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
724 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks()
1062 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1883 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common()
H A Dxattr.c485 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
H A Dnamei.c98 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
H A Dsuper.c1501 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()
3693 f2fs_bug_on(sbi, reason >= MAX_STOP_REASON); in f2fs_handle_stop()