Lines Matching refs:WARN_ON_ONCE
72 WARN_ON_ONCE(atomic_read(&iop->read_bytes_pending)); in iomap_page_release()
73 WARN_ON_ONCE(atomic_read(&iop->write_bytes_pending)); in iomap_page_release()
74 WARN_ON_ONCE(bitmap_full(iop->uptodate, nr_blocks) != in iomap_page_release()
221 if (WARN_ON_ONCE(size > PAGE_SIZE - poff)) in iomap_read_inline_data()
223 if (WARN_ON_ONCE(size > PAGE_SIZE - in iomap_read_inline_data()
226 if (WARN_ON_ONCE(size > iomap->length)) in iomap_read_inline_data()
345 WARN_ON_ONCE(!ctx.cur_folio_in_bio); in iomap_read_folio()
347 WARN_ON_ONCE(ctx.cur_folio_in_bio); in iomap_read_folio()
483 WARN_ON_ONCE(folio_test_writeback(folio)); in iomap_invalidate_folio()
488 WARN_ON_ONCE(!folio_test_uptodate(folio) && in iomap_invalidate_folio()
573 if (WARN_ON_ONCE(iter->flags & IOMAP_UNSHARE)) in __iomap_write_begin()
592 if (WARN_ON_ONCE(iomap_iter_srcmap(iter)->offset != 0)) in iomap_write_begin_inline()
685 WARN_ON_ONCE(!folio_test_uptodate(folio)); in iomap_write_end_inline()
852 if (WARN_ON_ONCE(status == 0)) in iomap_unshare_iter()
914 if (WARN_ON_ONCE(bytes == 0)) in iomap_zero_iter()
972 WARN_ON_ONCE(!folio_test_uptodate(folio)); in iomap_folio_mkwrite_iter()
1017 WARN_ON_ONCE(i_blocks_per_folio(inode, folio) > 1 && !iop); in iomap_finish_folio_write()
1018 WARN_ON_ONCE(iop && atomic_read(&iop->write_bytes_pending) <= 0); in iomap_finish_folio_write()
1340 WARN_ON_ONCE(iop && atomic_read(&iop->write_bytes_pending) != 0); in iomap_writepage_map()
1354 if (WARN_ON_ONCE(wpc->iomap.type == IOMAP_INLINE)) in iomap_writepage_map()
1365 WARN_ON_ONCE(!wpc->ioend && !list_empty(&submit_list)); in iomap_writepage_map()
1366 WARN_ON_ONCE(!folio_test_locked(folio)); in iomap_writepage_map()
1367 WARN_ON_ONCE(folio_test_writeback(folio)); in iomap_writepage_map()
1368 WARN_ON_ONCE(folio_test_dirty(folio)); in iomap_writepage_map()
1446 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in iomap_do_writepage()