Searched refs:dirty_pages (Results 1 – 11 of 11) sorted by relevance
| /linux-4.4.14/fs/btrfs/ |
| D | transaction.h | 60 struct extent_io_tree dirty_pages; member 219 struct extent_io_tree *dirty_pages, int mark); 221 struct extent_io_tree *dirty_pages, int mark);
|
| D | transaction.c | 279 extent_io_tree_init(&cur_trans->dirty_pages, in join_transaction() 907 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument 916 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents() 920 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents() 961 struct extent_io_tree *dirty_pages, int mark) in btrfs_wait_marked_extents() argument 972 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_wait_marked_extents() 982 err = clear_extent_bit(dirty_pages, start, end, in btrfs_wait_marked_extents() 1027 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_and_wait_marked_extents() argument 1034 ret = btrfs_write_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents() 1036 ret2 = btrfs_wait_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents() [all …]
|
| D | file.c | 1513 size_t dirty_pages; in __btrfs_buffered_write() local 1603 dirty_pages = 0; in __btrfs_buffered_write() 1606 dirty_pages = DIV_ROUND_UP(copied + offset, in __btrfs_buffered_write() 1617 if (num_pages > dirty_pages) { in __btrfs_buffered_write() 1618 release_bytes = (num_pages - dirty_pages) << in __btrfs_buffered_write() 1632 (dirty_pages << PAGE_CACHE_SHIFT); in __btrfs_buffered_write() 1638 release_bytes = dirty_pages << PAGE_CACHE_SHIFT; in __btrfs_buffered_write() 1642 dirty_pages, pos, copied, in __btrfs_buffered_write() 1660 (dirty_pages << PAGE_CACHE_SHIFT) - 1; in __btrfs_buffered_write() 1673 if (dirty_pages < (root->nodesize >> PAGE_CACHE_SHIFT) + 1) in __btrfs_buffered_write()
|
| D | disk-io.c | 67 struct extent_io_tree *dirty_pages, 4298 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() argument 4307 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents() 4312 clear_extent_bits(dirty_pages, start, end, mark, GFP_NOFS); in btrfs_destroy_marked_extents() 4378 btrfs_destroy_marked_extents(root, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction()
|
| D | extent-tree.c | 7856 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
|
| /linux-4.4.14/fs/ceph/ |
| D | snap.c | 552 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap() 600 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap() 605 capsnap->dirty_pages); in __ceph_finish_cap_snap()
|
| D | caps.c | 1257 if (capsnap->dirty_pages || capsnap->writing) in __ceph_flush_snaps() 2556 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap() 2685 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs() 2686 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs() 2693 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs() 2694 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs() 3126 WARN_ON(capsnap->dirty_pages || capsnap->writing); in handle_cap_flushsnap_ack()
|
| D | addr.c | 99 capsnap->dirty_pages++; in ceph_set_page_dirty() 452 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 453 if (capsnap->dirty_pages) { in get_oldest_context()
|
| D | super.h | 175 int dirty_pages; /* dirty pages awaiting writeback */ member
|
| /linux-4.4.14/fs/f2fs/ |
| D | f2fs.h | 432 atomic_t dirty_pages; /* # of dirty pages */ member 1061 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages() 1077 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages() 1090 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
|
| D | super.c | 431 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()
|