Searched refs:dirty_pages (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
D | transaction.h | 58 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);
|
D | transaction.c | 260 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 …]
|
D | file.c | 1506 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()
|
D | disk-io.c | 67 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()
|
D | extent-tree.c | 7504 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
|
/linux-4.1.27/fs/ceph/ |
D | snap.c | 531 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()
|
D | caps.c | 1297 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()
|
D | addr.c | 448 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 449 if (capsnap->dirty_pages) { in get_oldest_context()
|
D | super.h | 164 int dirty_pages; /* dirty pages awaiting writeback */ member
|
/linux-4.1.27/fs/f2fs/ |
D | f2fs.h | 337 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()
|
D | super.c | 402 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()
|