| /linux-6.15/fs/f2fs/ |
| H A D | node.c | 154 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page() 368 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry() 468 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr() 673 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset() 1712 f2fs_bug_on(sbi, folio->index != nid); in __write_node_page() 2277 f2fs_bug_on(sbi, state != i->state); in __remove_free_nid() 2289 f2fs_bug_on(sbi, org_state != i->state); in __move_free_nid() 2656 f2fs_bug_on(sbi, !i); in f2fs_alloc_nid_done() 2677 f2fs_bug_on(sbi, !i); in f2fs_alloc_nid_failed() 3045 f2fs_bug_on(sbi, !nat_blk); in __flush_nat_entry_set() [all …]
|
| H A D | segment.c | 777 f2fs_bug_on(sbi, 1); in __locate_dirty_segment() 788 f2fs_bug_on(sbi, in __locate_dirty_segment() 963 f2fs_bug_on(sbi, !len); in __create_discard_cmd() 1353 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd() 2460 f2fs_bug_on(sbi, 1); in update_sit_entry_for_release() 2465 f2fs_bug_on(sbi, 1); in update_sit_entry_for_release() 2508 f2fs_bug_on(sbi, 1); in update_sit_entry_for_alloc() 2513 f2fs_bug_on(sbi, 1); in update_sit_entry_for_alloc() 2799 f2fs_bug_on(sbi, 1); in get_new_segment() 3679 f2fs_bug_on(sbi, 1); in f2fs_get_segment_temp() [all …]
|
| H A D | segment.h | 34 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type() 508 f2fs_bug_on(sbi, 1); in get_sit_bitmap() 822 f2fs_bug_on(sbi, find_next_bit_le(&raw_sit->valid_map, in check_block_count() 845 f2fs_bug_on(sbi, !valid_main_segno(sbi, start)); in current_sit_addr() 850 f2fs_bug_on(sbi, 1); in current_sit_addr()
|
| H A D | checkpoint.c | 540 f2fs_bug_on(sbi, 1); in __add_ino_entry() 668 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode() 698 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode() 1423 f2fs_bug_on(sbi, 1); in commit_checkpoint() 1432 f2fs_bug_on(sbi, err); in commit_checkpoint() 1593 f2fs_bug_on(sbi, in do_checkpoint() 1619 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint() 1689 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint() 1701 f2fs_bug_on(sbi, !f2fs_cp_error(sbi)); in f2fs_write_checkpoint()
|
| H A D | gc.c | 373 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in get_cb_cost() 408 f2fs_bug_on(sbi, 1); in get_gc_cost() 528 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in add_victim_entry() 592 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim() 598 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 655 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim() 687 f2fs_bug_on(sbi, !f2fs_check_victim_tree(sbi, &sbi->am.root)); in lookup_victim_by_age() 694 f2fs_bug_on(sbi, 1); in lookup_victim_by_age() 710 f2fs_bug_on(sbi, am->victim_count); in release_victim_entry() 711 f2fs_bug_on(sbi, !list_empty(&am->victim_list)); in release_victim_entry() [all …]
|
| H A D | extent_cache.c | 339 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 D | compress.c | 85 f2fs_bug_on(F2FS_M_SB(page->mapping), in f2fs_is_compressed_page() 170 f2fs_bug_on(F2FS_I_SB(cc->inode), 1); in f2fs_compress_ctx_add_page() 883 f2fs_bug_on(F2FS_I_SB(cc->inode), !page); in cluster_has_invalid_data() 932 f2fs_bug_on(F2FS_I_SB(dn->inode), count != cluster_size && in f2fs_sanity_check_cluster() 1141 f2fs_bug_on(sbi, cc->rpages[i]); in prepare_compress_overwrite() 1235 f2fs_bug_on(F2FS_I_SB(inode), err == 0); in f2fs_truncate_partial_cluster() 1400 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages() 1612 f2fs_bug_on(F2FS_I_SB(cc->inode), err != -EAGAIN); in f2fs_write_multi_pages() 1615 f2fs_bug_on(F2FS_I_SB(cc->inode), *submitted); in f2fs_write_multi_pages()
|
| H A D | inline.c | 89 f2fs_bug_on(F2FS_I_SB(inode), folio_index(folio)); in f2fs_do_read_inline_data() 185 f2fs_bug_on(F2FS_P_SB(page), folio_test_writeback(page_folio(page))); in f2fs_convert_inline_page() 277 f2fs_bug_on(F2FS_I_SB(inode), folio->index); in f2fs_write_inline_data()
|
| H A D | recovery.c | 669 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data() 881 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data() 883 f2fs_bug_on(sbi, sbi->sb->s_flags & SB_ACTIVE); in f2fs_recover_fsync_data()
|
| H A D | data.c | 357 f2fs_bug_on(sbi, folio->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io() 767 f2fs_bug_on(sbi, 1); in add_bio_entry() 800 f2fs_bug_on(sbi, !page_is_mergeable(sbi, *bio, in add_ipu_page() 835 f2fs_bug_on(sbi, !target && !page); in f2fs_submit_merged_ipu_write() 955 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write() 1382 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page() 1771 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks() 2199 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages() 2242 f2fs_bug_on(sbi, dn.data_blkaddr != COMPRESS_ADDR); in f2fs_read_multi_pages() 2875 f2fs_bug_on(sbi, compr_blocks); in f2fs_write_single_data_page() [all …]
|
| H A D | node.h | 198 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
|
| H A D | inode.c | 861 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode() 944 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
|
| H A D | file.c | 104 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite() 733 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 801 f2fs_bug_on(sbi, count < 0); in f2fs_do_truncate_blocks() 1207 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole() 2080 f2fs_bug_on(F2FS_I_SB(inode), (fi->i_flags & F2FS_COMPR_FL) && in f2fs_setflags_common() 2256 f2fs_bug_on(sbi, get_dirty_pages(fi->cow_inode)); in f2fs_ioc_start_atomic_write() 4365 f2fs_bug_on(F2FS_I_SB(inode), !page); in redirty_blocks()
|
| H A D | xattr.c | 484 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
|
| H A D | f2fs.h | 34 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro 36 #define f2fs_bug_on(sbi, condition) \ macro 2511 f2fs_bug_on(F2FS_P_SB(page), page_private(page)); in clear_page_private_all() 2521 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count() 2878 f2fs_bug_on(F2FS_F_SB(folio), !folio_test_locked(folio)); in f2fs_folio_put()
|
| H A D | namei.c | 293 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
|
| H A D | super.c | 1674 f2fs_bug_on(sbi, 1); in f2fs_put_super() 1677 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super() 3438 f2fs_bug_on(sbi, 1); in __f2fs_commit_super()
|