Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dtransaction.h58 struct extent_io_tree dirty_pages; member
186 struct extent_io_tree *dirty_pages, int mark);
188 struct extent_io_tree *dirty_pages, int mark);
Dtransaction.c260 extent_io_tree_init(&cur_trans->dirty_pages, in join_transaction()
863 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument
872 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents()
876 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents()
917 struct extent_io_tree *dirty_pages, int mark) in btrfs_wait_marked_extents() argument
928 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_wait_marked_extents()
938 err = clear_extent_bit(dirty_pages, start, end, in btrfs_wait_marked_extents()
983 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_and_wait_marked_extents() argument
990 ret = btrfs_write_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
992 ret2 = btrfs_wait_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
[all …]
Dfile.c1506 size_t dirty_pages; in __btrfs_buffered_write() local
1592 dirty_pages = 0; in __btrfs_buffered_write()
1595 dirty_pages = DIV_ROUND_UP(copied + offset, in __btrfs_buffered_write()
1606 if (num_pages > dirty_pages) { in __btrfs_buffered_write()
1607 release_bytes = (num_pages - dirty_pages) << in __btrfs_buffered_write()
1622 release_bytes = dirty_pages << PAGE_CACHE_SHIFT; in __btrfs_buffered_write()
1626 dirty_pages, pos, copied, in __btrfs_buffered_write()
1644 (dirty_pages << PAGE_CACHE_SHIFT) - 1; in __btrfs_buffered_write()
1657 if (dirty_pages < (root->nodesize >> PAGE_CACHE_SHIFT) + 1) in __btrfs_buffered_write()
Ddisk-io.c67 struct extent_io_tree *dirty_pages,
4196 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() argument
4205 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents()
4210 clear_extent_bits(dirty_pages, start, end, mark, GFP_NOFS); in btrfs_destroy_marked_extents()
4296 btrfs_destroy_marked_extents(root, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
Dextent-tree.c7504 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
/linux-4.1.27/fs/ceph/
Dsnap.c531 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap()
576 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap()
581 capsnap->dirty_pages); in __ceph_finish_cap_snap()
Dcaps.c1297 if (capsnap->dirty_pages || capsnap->writing) in __ceph_flush_snaps()
2401 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs()
2402 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs()
2412 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs()
2413 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs()
2819 WARN_ON(capsnap->dirty_pages || capsnap->writing); in handle_cap_flushsnap_ack()
Daddr.c448 capsnap->context, capsnap->dirty_pages); in get_oldest_context()
449 if (capsnap->dirty_pages) { in get_oldest_context()
Dsuper.h164 int dirty_pages; /* dirty pages awaiting writeback */ member
/linux-4.1.27/fs/f2fs/
Df2fs.h337 atomic_t dirty_pages; /* # of dirty pages */ member
940 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages()
955 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages()
968 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
Dsuper.c402 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()