Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dtransaction.c380 extent_io_tree_init(fs_info, &cur_trans->dirty_pages, in join_transaction()
1008 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument
1018 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents()
1022 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents()
1064 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents() argument
1073 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in __btrfs_wait_marked_extents()
1083 err = clear_extent_bit(dirty_pages, start, end, in __btrfs_wait_marked_extents()
1102 struct extent_io_tree *dirty_pages) in btrfs_wait_extents() argument
1107 err = __btrfs_wait_marked_extents(fs_info, dirty_pages); in btrfs_wait_extents()
1119 struct extent_io_tree *dirty_pages = &log_root->dirty_log_pages; in btrfs_wait_tree_log_extents() local
[all …]
H A Dtransaction.h48 struct extent_io_tree dirty_pages; member
227 struct extent_io_tree *dirty_pages, int mark);
H A Dfile.c1596 size_t dirty_pages; in btrfs_buffered_write() local
1703 dirty_pages = 0; in btrfs_buffered_write()
1706 dirty_pages = DIV_ROUND_UP(copied + offset, in btrfs_buffered_write()
1722 (dirty_pages << PAGE_SHIFT); in btrfs_buffered_write()
1734 dirty_pages, pos, copied, in btrfs_buffered_write()
H A Ddisk-io.c59 struct extent_io_tree *dirty_pages,
4554 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() argument
4563 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents()
4568 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents()
4706 btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
H A Dextent-tree.c4624 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dsnap.c576 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap()
634 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap()
639 capsnap->dirty_pages); in __ceph_finish_cap_snap()
H A Dcaps.c1556 if (capsnap->dirty_pages || capsnap->writing) in __ceph_flush_snaps()
3093 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap()
3253 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs()
3254 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs()
3268 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs()
3269 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs()
3773 WARN_ON_ONCE(capsnap->dirty_pages || capsnap->writing); in ceph_remove_capsnap()
H A Daddr.c101 capsnap->dirty_pages++; in ceph_set_page_dirty()
512 capsnap->context, capsnap->dirty_pages); in get_oldest_context()
513 if (!capsnap->dirty_pages) in get_oldest_context()
H A Dsuper.h220 int dirty_pages; /* dirty pages awaiting writeback */ member
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Df2fs.h799 atomic_t dirty_pages; /* # of dirty pages */ member
2387 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages()
2405 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages()
2419 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
H A Dsuper.c1273 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()