Home
last modified time | relevance | path

Searched refs:dirty_pages (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/fs/btrfs/
Dtransaction.h50 struct extent_io_tree dirty_pages; member
221 struct extent_io_tree *dirty_pages, int mark);
223 struct extent_io_tree *dirty_pages);
Dtransaction.c277 extent_io_tree_init(&cur_trans->dirty_pages, in join_transaction()
919 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument
929 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents()
933 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents()
975 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents() argument
984 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in __btrfs_wait_marked_extents()
994 err = clear_extent_bit(dirty_pages, start, end, in __btrfs_wait_marked_extents()
1013 struct extent_io_tree *dirty_pages) in btrfs_wait_extents() argument
1018 err = __btrfs_wait_marked_extents(fs_info, dirty_pages); in btrfs_wait_extents()
1030 struct extent_io_tree *dirty_pages = &log_root->dirty_log_pages; in btrfs_wait_tree_log_extents() local
[all …]
Dfile.c1605 size_t dirty_pages; in btrfs_buffered_write() local
1712 dirty_pages = 0; in btrfs_buffered_write()
1715 dirty_pages = DIV_ROUND_UP(copied + offset, in btrfs_buffered_write()
1731 (dirty_pages << PAGE_SHIFT); in btrfs_buffered_write()
1742 ret = btrfs_dirty_pages(inode, pages, dirty_pages, in btrfs_buffered_write()
1775 if (dirty_pages < (fs_info->nodesize >> PAGE_SHIFT) + 1) in btrfs_buffered_write()
Ddisk-io.c60 struct extent_io_tree *dirty_pages,
4318 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() argument
4327 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents()
4332 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents()
4462 btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
Dextent-tree.c8152 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
/Linux-v4.19/fs/ceph/
Dsnap.c553 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap()
603 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap()
608 capsnap->dirty_pages); in __ceph_finish_cap_snap()
Dcaps.c1459 if (capsnap->dirty_pages || capsnap->writing) in __ceph_flush_snaps()
2812 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap()
2947 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs()
2948 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs()
2962 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs()
2963 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs()
3436 WARN_ON(capsnap->dirty_pages || capsnap->writing); in handle_cap_flushsnap_ack()
Daddr.c102 capsnap->dirty_pages++; in ceph_set_page_dirty()
496 capsnap->context, capsnap->dirty_pages); in get_oldest_context()
497 if (!capsnap->dirty_pages) in get_oldest_context()
Dsuper.h202 int dirty_pages; /* dirty pages awaiting writeback */ member
/Linux-v4.19/fs/f2fs/
Df2fs.h660 atomic_t dirty_pages; /* # of dirty pages */ member
1766 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages()
1784 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages()
1798 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
Dsuper.c856 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()