Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dnode.c154 f2fs_bug_on(sbi, folio_test_dirty(src_folio)); in get_next_nat_folio()
377 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
456 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
479 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
487 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
494 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
495 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
497 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
499 f2fs_bug_on(sbi, __is_valid_data_blkaddr(nat_get_blkaddr(e)) && in set_node_addr()
697 f2fs_bug_on(F2FS_I_S in f2fs_get_next_page_offset()
[all...]
H A Dsegment.c787 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
798 f2fs_bug_on(sbi, in __locate_dirty_segment()
973 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
1132 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
1181 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1363 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1688 f2fs_bug_on(sbi, !f2fs_check_discard_tree(sbi)); in __issue_discard_cmd()
1691 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd()
1739 f2fs_bug_on(sbi, dc->state != D_PREP); in __drop_discard_cmd()
1762 f2fs_bug_on(sb in __wait_one_discard_bio()
[all...]
H A Dsegment.h34 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type()
387 f2fs_bug_on(sbi, 1); in sanity_check_valid_blocks()
553 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
879 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count()
902 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr()
907 f2fs_bug_on(sbi, 1); in current_sit_addr()
H A Dcheckpoint.c521 f2fs_bug_on(sbi, ret); in __add_ino_entry()
533 f2fs_bug_on(sbi, 1); in __add_ino_entry()
661 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode()
691 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode()
1408 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1416 f2fs_bug_on(sbi, true); in commit_checkpoint()
1579 f2fs_bug_on(sbi, in do_checkpoint()
1605 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
1675 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
1687 f2fs_bug_on(sb in f2fs_write_checkpoint()
[all...]
H A Dgc.c370 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in get_cb_cost()
406 f2fs_bug_on(sbi, 1); in get_gc_cost()
526 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in add_victim_entry()
590 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim()
596 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
653 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim()
685 f2fs_bug_on(sbi, !f2fs_check_victim_tree(sbi, &sbi->am.root)); in lookup_victim_by_age()
692 f2fs_bug_on(sbi, 1); in lookup_victim_by_age()
708 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry()
709 f2fs_bug_on(sb in release_victim_entry()
[all...]
H A Dextent_cache.c339 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node()
607 f2fs_bug_on(sbi, 1); in __insert_extent_tree()
645 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_node()
710 f2fs_bug_on(sbi, fofs >= org_end); in __update_extent_tree_range()
911 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age()
1178 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in __destroy_extent_tree()
H A Dcompress.c81 f2fs_bug_on(F2FS_F_SB(folio), in f2fs_is_compressed_page()
168 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page()
884 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data()
933 f2fs_bug_on(F2FS_I_SB(dn->inode), count != cluster_size && in f2fs_sanity_check_cluster()
1142 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite()
1236 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster()
1401 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1614 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages()
1617 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
H A Dinline.c89 f2fs_bug_on(F2FS_I_SB(inode), folio->index); in f2fs_do_read_inline_data()
185 f2fs_bug_on(F2FS_F_SB(folio), folio_test_writeback(folio)); in f2fs_convert_inline_folio()
277 f2fs_bug_on(F2FS_I_SB(inode), folio->index); in f2fs_write_inline_data()
H A Ddata.c355 f2fs_bug_on(sbi, is_node_folio(folio) && in f2fs_write_end_io()
763 f2fs_bug_on(sbi, 1); in add_bio_entry()
797 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page()
832 f2fs_bug_on(sbi, !target && !folio); in f2fs_submit_merged_ipu_write()
952 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
1379 f2fs_bug_on(F2FS_I_SB(inode), ifolio); in f2fs_get_new_data_folio()
1772 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks()
2201 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2244 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages()
2878 f2fs_bug_on(sb in f2fs_write_single_data_page()
[all...]
H A Dnode.h198 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
H A Dinode.c869 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
941 * avoid triggering later f2fs_bug_on(). in f2fs_evict_inode()
965 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
H A Dsuper.c1939 f2fs_bug_on(sbi, 1); in f2fs_put_super()
1942 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()
2984 * should never happen, just leave f2fs_bug_on() here to catch in f2fs_quota_read()
2987 f2fs_bug_on(F2FS_SB(sb), !folio_test_uptodate(folio)); in f2fs_quota_read()
3695 f2fs_bug_on(sbi, 1); in __f2fs_commit_super()
H A Dnamei.c293 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
H A Df2fs.h34 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro
36 #define f2fs_bug_on(sbi, condition) \ macro
2917 f2fs_bug_on(F2FS_F_SB(folio), !folio_test_locked(folio)); in f2fs_folio_put()