/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | server_writeback.c | 24 int dirty_pages; in hmdfs_srv_wb_handler() local 30 dirty_pages = hswb->dirty_nr_pages_to_wb; in hmdfs_srv_wb_handler() 31 writeback_inodes_sb_nr(lower_sb, dirty_pages, WB_REASON_FS_FREE_SPACE); in hmdfs_srv_wb_handler() 34 trace_hmdfs_start_srv_wb(hswb->sbi, dirty_pages, hswb->dirty_thresh_pg); in hmdfs_srv_wb_handler()
|
H A D | hmdfs_trace.h | 383 TP_PROTO(struct hmdfs_sb_info *sbi, int dirty_pages, 386 TP_ARGS(sbi, dirty_pages, dirty_thresh_pg), 390 __field(int, dirty_pages) 396 __entry->dirty_pages = dirty_pages; 401 __entry->src, __entry->dirty_pages, __entry->dirty_thresh_pg)
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | server_writeback.c | 24 int dirty_pages; in hmdfs_srv_wb_handler() local 30 dirty_pages = hswb->dirty_nr_pages_to_wb; in hmdfs_srv_wb_handler() 31 writeback_inodes_sb_nr(lower_sb, dirty_pages, WB_REASON_FS_FREE_SPACE); in hmdfs_srv_wb_handler() 34 trace_hmdfs_start_srv_wb(hswb->sbi, dirty_pages, hswb->dirty_thresh_pg); in hmdfs_srv_wb_handler()
|
H A D | hmdfs_trace.h | 383 TP_PROTO(struct hmdfs_sb_info *sbi, int dirty_pages, 386 TP_ARGS(sbi, dirty_pages, dirty_thresh_pg), 390 __field(int, dirty_pages) 396 __entry->dirty_pages = dirty_pages; 401 __entry->src, __entry->dirty_pages, __entry->dirty_thresh_pg)
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | transaction.c | 381 extent_io_tree_init(fs_info, &cur_trans->dirty_pages, in join_transaction() 1015 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() 1025 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents() 1029 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents() 1071 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents() 1080 while (!find_first_extent_bit(dirty_pages, start, &start, &end, in __btrfs_wait_marked_extents() 1090 err = clear_extent_bit(dirty_pages, start, end, in __btrfs_wait_marked_extents() 1109 struct extent_io_tree *dirty_pages) in btrfs_wait_extents() 1114 err = __btrfs_wait_marked_extents(fs_info, dirty_pages); in btrfs_wait_extents() 1126 struct extent_io_tree *dirty_pages in btrfs_wait_tree_log_extents() local 1014 btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages, int mark) btrfs_write_marked_extents() argument 1070 __btrfs_wait_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages) __btrfs_wait_marked_extents() argument 1108 btrfs_wait_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages) btrfs_wait_extents() argument 1157 struct extent_io_tree *dirty_pages = &trans->transaction->dirty_pages; btrfs_write_and_wait_transaction() local [all...] |
H A D | transaction.h | 48 struct extent_io_tree dirty_pages; member 227 struct extent_io_tree *dirty_pages, int mark);
|
H A D | file.c | 1596 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 D | disk-io.c | 59 struct extent_io_tree *dirty_pages, 4584 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() 4593 ret = find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents() 4598 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents() 4741 btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction() 4583 btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages, int mark) btrfs_destroy_marked_extents() argument
|
H A D | extent-tree.c | 4636 set_extent_dirty(&trans->transaction->dirty_pages, buf->start, in btrfs_init_new_buffer()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | transaction.c | 383 extent_io_tree_init(fs_info, &cur_trans->dirty_pages, in join_transaction() 1075 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() 1084 while (find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_write_marked_extents() 1088 err = convert_extent_bit(dirty_pages, start, end, in btrfs_write_marked_extents() 1129 struct extent_io_tree *dirty_pages) in __btrfs_wait_marked_extents() 1138 while (find_first_extent_bit(dirty_pages, start, &start, &end, in __btrfs_wait_marked_extents() 1148 err = clear_extent_bit(dirty_pages, start, end, in __btrfs_wait_marked_extents() 1167 struct extent_io_tree *dirty_pages) in btrfs_wait_extents() 1172 err = __btrfs_wait_marked_extents(fs_info, dirty_pages); in btrfs_wait_extents() 1184 struct extent_io_tree *dirty_pages in btrfs_wait_tree_log_extents() local 1074 btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages, int mark) btrfs_write_marked_extents() argument 1128 __btrfs_wait_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages) __btrfs_wait_marked_extents() argument 1166 btrfs_wait_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages) btrfs_wait_extents() argument 1215 struct extent_io_tree *dirty_pages = &trans->transaction->dirty_pages; btrfs_write_and_wait_transaction() local [all...] |
H A D | transaction.h | 54 struct extent_io_tree dirty_pages; member 260 struct extent_io_tree *dirty_pages, int mark);
|
H A D | file.c | 1232 size_t dirty_pages; in btrfs_buffered_write() local 1351 dirty_pages = 0; in btrfs_buffered_write() 1354 dirty_pages = DIV_ROUND_UP(copied + offset, in btrfs_buffered_write() 1369 (dirty_pages << PAGE_SHIFT); in btrfs_buffered_write() 1380 dirty_pages, pos, copied, in btrfs_buffered_write()
|
H A D | disk-io.c | 4237 while (find_first_extent_bit(&trans->dirty_pages, cur, in warn_about_uncommitted_trans() 4725 struct extent_io_tree *dirty_pages, in btrfs_destroy_marked_extents() 4732 while (find_first_extent_bit(dirty_pages, start, &start, &end, in btrfs_destroy_marked_extents() 4734 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents() 4898 btrfs_destroy_marked_extents(fs_info, &cur_trans->dirty_pages, in btrfs_cleanup_one_transaction() 4724 btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, struct extent_io_tree *dirty_pages, int mark) btrfs_destroy_marked_extents() argument
|
H A D | zoned.c | 1611 set_extent_bit(&trans->dirty_pages, eb->start, eb->start + eb->len - 1, in btrfs_redirty_list_add()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | snap.c | 576 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 D | addr.c | 101 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 D | caps.c | 1557 if (capsnap->dirty_pages || capsnap->writing) 3100 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap() 3260 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs() 3261 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs() 3275 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs() 3276 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs() 3789 WARN_ON_ONCE(capsnap->dirty_pages || capsnap->writing); in ceph_remove_capsnap()
|
H A D | super.h | 220 int dirty_pages; /* dirty pages awaiting writeback */ member
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | snap.c | 612 capsnap->dirty_pages = ci->i_wrbuffer_ref_head; in ceph_queue_cap_snap() 669 if (capsnap->dirty_pages) { in __ceph_finish_cap_snap() 674 capsnap->size, capsnap->dirty_pages); in __ceph_finish_cap_snap()
|
H A D | addr.c | 105 capsnap->dirty_pages++; in ceph_dirty_folio() 572 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 573 if (!capsnap->dirty_pages) in get_oldest_context()
|
H A D | caps.c | 1607 if (capsnap->dirty_pages || capsnap->writing) 3120 !capsnap->writing && !capsnap->dirty_pages) { in ceph_try_drop_cap_snap() 3313 capsnap->dirty_pages -= nr; in ceph_put_wrbuffer_cap_refs() 3314 if (capsnap->dirty_pages == 0) { in ceph_put_wrbuffer_cap_refs() 3328 ci->i_wrbuffer_ref+nr, capsnap->dirty_pages + nr, in ceph_put_wrbuffer_cap_refs() 3329 ci->i_wrbuffer_ref, capsnap->dirty_pages, in ceph_put_wrbuffer_cap_refs() 3866 WARN_ON_ONCE(capsnap->dirty_pages || capsnap->writing); in ceph_remove_capsnap()
|
H A D | super.h | 244 int dirty_pages; /* dirty pages awaiting writeback */ member
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | f2fs.h | 725 atomic_t dirty_pages; /* # of dirty pages */ member 2129 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages() 2147 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages() 2161 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
|
H A D | super.c | 1115 atomic_set(&fi->dirty_pages, 0); in f2fs_alloc_inode()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | f2fs.h | 819 atomic_t dirty_pages; /* # of dirty pages */ member 2451 atomic_inc(&F2FS_I(inode)->dirty_pages); in inode_inc_dirty_pages() 2469 atomic_dec(&F2FS_I(inode)->dirty_pages); in inode_dec_dirty_pages() 2505 return atomic_read(&F2FS_I(inode)->dirty_pages); in get_dirty_pages()
|