Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dtransaction.h49 struct extent_io_tree dirty_pages; member
220 struct extent_io_tree *dirty_pages, int mark);
222 struct extent_io_tree *dirty_pages);
Dtransaction.c263 extent_io_tree_init(fs_info, &cur_trans->dirty_pages, in join_transaction()
900 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument
910 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents()
914 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents()
956 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents() argument
965 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in __btrfs_wait_marked_extents()
975 err = clear_extent_bit(dirty_pages, start, end, in __btrfs_wait_marked_extents()
994 struct extent_io_tree *dirty_pages) in btrfs_wait_extents() argument
999 err = __btrfs_wait_marked_extents(fs_info, dirty_pages); in btrfs_wait_extents()
1011 struct extent_io_tree *dirty_pages = &log_root->dirty_log_pages; in btrfs_wait_tree_log_extents() local
[all …]
Dfile.c1622 size_t dirty_pages; in btrfs_buffered_write() local
1729 dirty_pages = 0; in btrfs_buffered_write()
1732 dirty_pages = DIV_ROUND_UP(copied + offset, in btrfs_buffered_write()
1748 (dirty_pages << PAGE_SHIFT); in btrfs_buffered_write()
1759 ret = btrfs_dirty_pages(inode, pages, dirty_pages, in btrfs_buffered_write()
1802 if (dirty_pages < (fs_info->nodesize >> PAGE_SHIFT) + 1) in btrfs_buffered_write()
Ddisk-io.c59 struct extent_io_tree *dirty_pages,
4363 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() argument
4372 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents()
4377 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents()
4528 btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
Dextent-tree.c4455 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
/Linux-v5.4/fs/ceph/
Dsnap.c559 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap()
617 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap()
622 capsnap->dirty_pages); in __ceph_finish_cap_snap()
Dcaps.c1471 if (capsnap->dirty_pages || capsnap->writing) in __ceph_flush_snaps()
2862 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap()
2997 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs()
2998 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs()
3012 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs()
3013 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs()
3505 WARN_ON(capsnap->dirty_pages || capsnap->writing); in handle_cap_flushsnap_ack()
Daddr.c103 capsnap->dirty_pages++; in ceph_set_page_dirty()
500 capsnap->context, capsnap->dirty_pages); in get_oldest_context()
501 if (!capsnap->dirty_pages) in get_oldest_context()
Dsuper.h213 int dirty_pages; /* dirty pages awaiting writeback */ member
/Linux-v5.4/fs/f2fs/
Df2fs.h683 atomic_t dirty_pages; /* # of dirty pages */ member
1880 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages()
1898 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages()
1912 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
Dsuper.c894 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()