• Home
  • Raw
  • Download

Lines Matching refs:ASSERT

102 	ASSERT(bp->b_flags & XBF_ASYNC);  in xfs_buf_ioacct_inc()
148 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_stale()
173 ASSERT(atomic_read(&bp->b_hold) >= 1); in xfs_buf_stale()
182 ASSERT(bp->b_maps == NULL); in xfs_buf_get_maps()
278 ASSERT(bp->b_flags & _XBF_PAGES); in xfs_buf_free_pages()
302 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_free()
410 ASSERT(bp->b_flags & _XBF_PAGES); in _xfs_buf_map_pages()
474 ASSERT(bp->b_flags & XBF_STALE); in _xfs_buf_obj_cmp()
544 ASSERT(!(BBTOB(cmap.bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_find()
545 ASSERT(!(BBTOB(cmap.bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_find()
607 ASSERT((bp->b_flags & _XBF_DELWRI_Q) == 0); in xfs_buf_find()
716 ASSERT(!(flags & XBF_WRITE)); in _xfs_buf_read()
717 ASSERT(bp->b_maps[0].bm_bn != XFS_BUF_DADDR_NULL); in _xfs_buf_read()
747 ASSERT(bp->b_flags & XBF_DONE); in xfs_buf_reverify()
748 ASSERT(bp->b_error == 0); in xfs_buf_reverify()
803 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_buf_read_map()
879 ASSERT(bp->b_map_count == 1); in xfs_buf_read_uncached()
962 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_rele()
970 ASSERT(atomic_read(&bp->b_hold) > 0); in xfs_buf_rele()
1019 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_rele()
1022 ASSERT(!(bp->b_flags & _XBF_DELWRI_Q)); in xfs_buf_rele()
1089 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_unlock()
1230 ASSERT(list_empty(&bp->b_li_list)); in xfs_buf_ioend_handle_error()
1328 ASSERT(error <= 0 && error >= -1000); in __xfs_buf_ioerror()
1366 ASSERT(xfs_buf_islocked(bp)); in xfs_bwrite()
1570 ASSERT(!(bp->b_flags & XBF_ASYNC)); in xfs_buf_iowait()
1594 ASSERT(!(bp->b_flags & _XBF_DELWRI_Q)); in __xfs_buf_submit()
1682 ASSERT((csize + page_offset) <= PAGE_SIZE); in xfs_buf_zero()
1706 ASSERT(bp->b_flags & XBF_DONE); in __xfs_buf_mark_corrupt()
1814 ASSERT(xfs_is_shutdown(btp->bt_mount)); in xfs_buftarg_drain()
1890 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); in xfs_free_buftarg()
2021 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_delwri_queue()
2022 ASSERT(!(bp->b_flags & XBF_READ)); in xfs_buf_delwri_queue()
2226 ASSERT(bp->b_flags & _XBF_DELWRI_Q); in xfs_buf_delwri_pushbuf()