Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dnode.c133 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
342 f2fs_bug_on(sbi, 1); in f2fs_del_fsync_node_entry()
417 f2fs_bug_on(sbi, nat_get_ino(e) != le32_to_cpu(ne->ino) || in cache_nat_entry()
438 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr()
446 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
453 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr()
454 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
456 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NEW_ADDR && in set_node_addr()
458 f2fs_bug_on(sbi, is_valid_data_blkaddr(sbi, nat_get_blkaddr(e)) && in set_node_addr()
626 f2fs_bug_on(F2FS_I_SB(dn->inode), 1); in f2fs_get_next_page_offset()
[all …]
Dsegment.c340 f2fs_bug_on(sbi, !IS_ATOMIC_WRITTEN_PAGE(page)); in f2fs_drop_inmem_page()
348 f2fs_bug_on(sbi, list_empty(head) || cur->page != page); in f2fs_drop_inmem_page()
765 f2fs_bug_on(sbi, 1); in __locate_dirty_segment()
832 f2fs_bug_on(sbi, !len); in __create_discard_cmd()
902 f2fs_bug_on(sbi, dc->ref); in __remove_discard_cmd()
952 f2fs_bug_on(sbi, offset != size); in __check_sit_bitmap()
1065 f2fs_bug_on(sbi, !bio); in __submit_discard_cmd()
1367 f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, in __issue_discard_cmd()
1371 f2fs_bug_on(sbi, dc->state != D_PREP); in __issue_discard_cmd()
1410 f2fs_bug_on(sbi, dc->state != D_PREP); in __drop_discard_cmd()
[all …]
Dextent_cache.c80 f2fs_bug_on(sbi, 1); in f2fs_lookup_rb_tree_for_insert()
240 f2fs_bug_on(sbi, list_empty(&en->list)); in __release_extent_node()
379 f2fs_bug_on(sbi, !et); in f2fs_lookup_extent_tree()
540 f2fs_bug_on(sbi, pos >= org_end); in f2fs_update_extent_tree_range()
635 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in f2fs_shrink_extent_tree()
743 f2fs_bug_on(sbi, atomic_read(&et->node_cnt)); in f2fs_destroy_extent_tree()
Dinline.c53 f2fs_bug_on(F2FS_P_SB(page), page->index); in f2fs_do_read_inline_data()
152 f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page)); in f2fs_convert_inline_page()
239 f2fs_bug_on(F2FS_I_SB(inode), page->index); in f2fs_write_inline_data()
280 f2fs_bug_on(sbi, IS_ERR(ipage)); in f2fs_recover_inline_data()
298 f2fs_bug_on(sbi, IS_ERR(ipage)); in f2fs_recover_inline_data()
Drecovery.c482 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
483 f2fs_bug_on(sbi, ofs_of_node(dn.node_page) != ofs_of_node(page)); in do_recover_data()
525 f2fs_bug_on(sbi, err); in do_recover_data()
681 f2fs_bug_on(sbi, !list_empty(&inode_list)); in f2fs_recover_fsync_data()
Dcheckpoint.c127 f2fs_bug_on(sbi, 1); in f2fs_get_meta_page_nofail()
449 f2fs_bug_on(sbi, 1); in __add_ino_entry()
578 f2fs_bug_on(sbi, im->ino_num == 0); in f2fs_release_orphan_inode()
608 f2fs_bug_on(sbi, PTR_ERR(inode) == -ENOENT); in recover_orphan_inode()
1244 f2fs_bug_on(sbi, PageWriteback(page)); in commit_checkpoint()
1246 f2fs_bug_on(sbi, 1); in commit_checkpoint()
1255 f2fs_bug_on(sbi, err); in commit_checkpoint()
1435 f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_DENTS)); in do_checkpoint()
Dsegment.h487 f2fs_bug_on(sbi, 1); in get_sit_bitmap()
644 f2fs_bug_on(sbi, segno > TOTAL_SEGS(sbi) - 1); in check_seg_range()
715 f2fs_bug_on(sbi, 1); in current_sit_addr()
Df2fs.h33 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) macro
35 #define f2fs_bug_on(sbi, condition) \ macro
1742 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
1743 f2fs_bug_on(sbi, inode->i_blocks < sectors); in dec_valid_block_count()
1951 f2fs_bug_on(sbi, !sbi->total_valid_block_count); in dec_valid_node_count()
1952 f2fs_bug_on(sbi, !sbi->total_valid_node_count); in dec_valid_node_count()
1953 f2fs_bug_on(sbi, !is_inode && !inode->i_blocks); in dec_valid_node_count()
2040 f2fs_bug_on(F2FS_P_SB(page), !PageLocked(page)); in f2fs_put_page()
2717 f2fs_bug_on(sbi, 1); in verify_blkaddr()
Dinode.c643 f2fs_bug_on(sbi, get_dirty_pages(inode)); in f2fs_evict_inode()
695 f2fs_bug_on(sbi, is_inode_flag_set(inode, FI_DIRTY_INODE)); in f2fs_evict_inode()
Ddata.c174 f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && in f2fs_write_end_io()
281 f2fs_bug_on(sbi, !page); in __submit_bio()
287 f2fs_bug_on(sbi, 1); in __submit_bio()
475 f2fs_bug_on(sbi, is_read_io(fio->op)); in f2fs_submit_page_write()
861 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
Dnode.h191 f2fs_bug_on(sbi, 1); in get_nat_bitmap()
Dxattr.c444 f2fs_bug_on(sbi, new_nid); in write_all_xattrs()
Dfile.c63 f2fs_bug_on(sbi, f2fs_has_inline_data(inode)); in f2fs_vm_page_mkwrite()
586 f2fs_bug_on(F2FS_I_SB(inode), cache_only && f2fs_encrypted_inode(inode)); in truncate_partial_data_page()
636 f2fs_bug_on(sbi, count < 0); in f2fs_truncate_blocks()
911 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
Dnamei.c102 f2fs_bug_on(sbi, !f2fs_has_extra_attr(inode)); in f2fs_new_inode()
Dsuper.c1059 f2fs_bug_on(sbi, sbi->fsync_node_num); in f2fs_put_super()