Home
last modified time | relevance | path

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

/Linux-v5.15/fs/f2fs/
Dnode.c153 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
367 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
442 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
463 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
471 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
478 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
479 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
481 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
483 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr()
666 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset()
[all …]
Dsegment.c360 f2fs_bug_on(sbi, !page_private_atomic(page)); in f2fs_drop_inmem_page()
368 f2fs_bug_on(sbi, list_empty(head) || cur->page != page); in f2fs_drop_inmem_page()
823 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
834 f2fs_bug_on(sbi, unlikely(!valid_blocks || in __locate_dirty_segment()
1002 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1073 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1124 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1244 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1560 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in __issue_discard_cmd()
1564 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()
418 f2fs_bug_on(sbi, !et); in f2fs_lookup_extent_tree()
584 f2fs_bug_on(sbi, pos >= org_end); in f2fs_update_extent_tree_range()
729 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in f2fs_shrink_extent_tree()
843 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()
523 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
692 f2fs_bug_on(sbi, segno > TOTAL_SEGS(sbi) - 1); in check_seg_range()
740 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
767 f2fs_bug_on(sbi, 1); in current_sit_addr()
Dgc.c351 f2fs_bug_on(sbi, 1); in get_gc_cost()
499 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim()
505 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
568 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim()
603 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in lookup_victim_by_age()
611 f2fs_bug_on(sbi, 1); in lookup_victim_by_age()
627 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry()
628 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry()
1039 f2fs_bug_on(sbi, 1); in is_alive()
1905 f2fs_bug_on(sbi, 1); in free_segment_range()
Dcompress.c83 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page()
165 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page()
893 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data()
990 f2fs_bug_on(F2FS_I_SB(inode), in __f2fs_cluster_blocks()
1098 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1190 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1351 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1543 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1546 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
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()
1395 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1404 f2fs_bug_on(sbi, err); in commit_checkpoint()
1597 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
1667 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
1679 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
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()
244 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
Drecovery.c602 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
664 f2fs_bug_on(sbi, err); in do_recover_data()
818 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data()
Ddata.c340 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io()
470 f2fs_bug_on(sbi, !page); in __submit_bio()
478 f2fs_bug_on(sbi, 1); in __submit_bio()
743 f2fs_bug_on(sbi, 1); in add_bio_entry()
776 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page()
907 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1333 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
2167 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2207 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages()
Dnode.h196 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
Dinode.c749 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
811 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
2242 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
2477 f2fs_bug_on(sbi, !sbi->total_valid_block_count); in dec_valid_node_count()
2478 f2fs_bug_on(sbi, !sbi->total_valid_node_count); in dec_valid_node_count()
2576 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
3247 f2fs_bug_on(sbi, 1); in verify_blkaddr()
Dfile.c100 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite()
661 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
711 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks()
1061 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1878 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common()
Dxattr.c488 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.c1541 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()