Searched refs:dirty_sectors (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | alloc_background.h | 43 dst->dirty_sectors = src.dirty_sectors; in alloc_to_bucket() 53 dst->dirty_sectors = src.dirty_sectors; in __bucket_m_to_alloc() 93 return a.stripe_sectors + a.dirty_sectors + a.cached_sectors; in bch2_bucket_sectors_total() 98 return a.stripe_sectors + a.dirty_sectors; in bch2_bucket_sectors_dirty() 118 int d = a.stripe_sectors + a.dirty_sectors; in bch2_gc_bucket_sectors_fragmented() 125 return a.data_type == BCH_DATA_stripe ? a.dirty_sectors : 0; in bch2_bucket_sectors_unstriped()
|
| H A D | alloc_background_format.h | 16 x(dirty_sectors, 16) \ 40 x(dirty_sectors, 32) \ 67 __u32 dirty_sectors; member
|
| H A D | fs-io-pagecache.c | 495 int i, sectors = folio_sectors(folio), dirty_sectors = 0; in bch2_clear_folio_bits() local 507 dirty_sectors -= s->s[i].state == SECTOR_dirty; in bch2_clear_folio_bits() 513 bch2_i_sectors_acct(c, inode, NULL, dirty_sectors); in bch2_clear_folio_bits() 525 unsigned i, dirty_sectors = 0; in bch2_set_folio_dirty() local 549 dirty_sectors += s->s[i].state == SECTOR_unallocated; in bch2_set_folio_dirty() 556 bch2_i_sectors_acct(c, inode, &res->quota, dirty_sectors); in bch2_set_folio_dirty()
|
| H A D | btree_gc.c | 810 l.dirty_sectors != r.dirty_sectors || in bch2_alloc_v4_cmp() 842 gc.dirty_sectors = old->dirty_sectors; in bch2_alloc_write_key() 851 gc.dirty_sectors != old_gc.dirty_sectors) { in bch2_alloc_write_key() 863 gc_m->dirty_sectors = gc.dirty_sectors; in bch2_alloc_write_key() 888 copy_bucket_field(alloc_key_dirty_sectors_wrong, dirty_sectors); in bch2_alloc_write_key()
|
| H A D | buckets_types.h | 44 u32 dirty_sectors; member
|
| H A D | buckets.c | 179 g->dirty_sectors = 0; in bch2_check_fix_ptr() 225 g->dirty_sectors = 0; in bch2_check_fix_ptr() 570 !p->ptr.cached ? &a->dirty_sectors : in __mark_pointer() 982 a->v.dirty_sectors != sectors) { in __bch2_trans_mark_metadata_bucket() 984 a->v.dirty_sectors = sectors; in __bch2_trans_mark_metadata_bucket() 1015 if (bch2_fs_inconsistent_on((u64) g->dirty_sectors + sectors > ca->mi.bucket_size, c, in bch2_mark_metadata_bucket() 1019 g->dirty_sectors, sectors)) in bch2_mark_metadata_bucket() 1023 g->dirty_sectors += sectors; in bch2_mark_metadata_bucket()
|
| H A D | alloc_background.c | 281 a.dirty_sectors || in bch2_alloc_v4_validate() 287 a.dirty_sectors, in bch2_alloc_v4_validate() 296 bkey_fsck_err_on(!a.dirty_sectors && in bch2_alloc_v4_validate() 304 a.dirty_sectors || in bch2_alloc_v4_validate() 329 a->dirty_sectors = swab32(a->dirty_sectors); in bch2_alloc_v4_swab() 354 prt_printf(out, "dirty_sectors %u\n", a->dirty_sectors); in bch2_alloc_to_text() 395 .dirty_sectors = u.dirty_sectors, in __bch2_alloc_to_v4() 2181 BUG_ON(a->dirty_sectors); in invalidate_one_bucket()
|
| H A D | fs-io-buffered.c | 617 unsigned sectors = 0, dirty_sectors = 0, reserved_sectors = 0; in __bch2_writepage() local 630 dirty_sectors += w->tmp[offset + sectors].state == SECTOR_dirty; in __bch2_writepage() 654 w->io->op.i_sectors_delta -= dirty_sectors; in __bch2_writepage()
|
| H A D | ec.c | 212 a->dirty_sectors, in __mark_stripe_bucket() 223 a->dirty_sectors, in __mark_stripe_bucket() 251 (a->dirty_sectors != -sectors || in __mark_stripe_bucket() 255 a->dirty_sectors, in __mark_stripe_bucket() 265 a->gen, a->data_type, &a->dirty_sectors); in __mark_stripe_bucket()
|
| H A D | backpointers.c | 917 if (sectors[ALLOC_dirty] != a->dirty_sectors || in check_bucket_backpointer_mismatch() 926 if (sectors[ALLOC_dirty] > a->dirty_sectors || in check_bucket_backpointer_mismatch()
|
| /linux-6.15/fs/btrfs/ |
| H A D | file.c | 1128 size_t dirty_sectors; in btrfs_buffered_write() local 1241 dirty_sectors = round_up(copied + sector_offset, in btrfs_buffered_write() 1243 dirty_sectors = BTRFS_BYTES_TO_BLKS(fs_info, dirty_sectors); in btrfs_buffered_write() 1247 dirty_sectors = 0; in btrfs_buffered_write() 1252 if (num_sectors > dirty_sectors) { in btrfs_buffered_write() 1254 release_bytes -= dirty_sectors << fs_info->sectorsize_bits; in btrfs_buffered_write()
|