Searched refs:i_sectors_delta (Results 1 – 9 of 9) sorted by relevance
/linux/fs/bcachefs/ |
H A D | io_misc.c | 28 s64 *i_sectors_delta, in bch2_extent_fallocate() argument 112 0, i_sectors_delta, true); in bch2_extent_fallocate() 142 s64 *i_sectors_delta) in bch2_fpunch_at() argument 187 &disk_res, 0, i_sectors_delta, false); in bch2_fpunch_at() 195 s64 *i_sectors_delta) in bch2_fpunch() argument 205 ret = bch2_fpunch_at(trans, &iter, inum, end, i_sectors_delta); in bch2_fpunch() 246 u64 *i_sectors_delta) in __bch2_resume_logged_op_truncate() argument 253 bool warn_errors = i_sectors_delta != NULL; in __bch2_resume_logged_op_truncate() 257 truncate_set_isize(trans, inum, new_i_size, i_sectors_delta != NULL)); in __bch2_resume_logged_op_truncate() 264 ret = bch2_fpunch_at(trans, &fpunch_iter, inum, U64_MAX, i_sectors_delta); in __bch2_resume_logged_op_truncate() [all …]
|
H A D | fs-io.c | 270 s64 i_sectors_delta = 0; in __bch2_truncate_folio() local 328 i_sectors_delta -= s->s[i].state == SECTOR_dirty; in __bch2_truncate_folio() 332 bch2_i_sectors_acct(c, inode, NULL, i_sectors_delta); in __bch2_truncate_folio() 422 s64 i_sectors_delta = 0; in bchfs_truncate() local 494 ret = bch2_truncate(c, inode_inum(inode), iattr->ia_size, &i_sectors_delta); in bchfs_truncate() 495 bch2_i_sectors_acct(c, inode, NULL, i_sectors_delta); in bchfs_truncate() 547 s64 i_sectors_delta = 0; in bchfs_fpunch() local 551 &i_sectors_delta); in bchfs_fpunch() 552 bch2_i_sectors_acct(c, inode, NULL, i_sectors_delta); in bchfs_fpunch() 574 s64 i_sectors_delta = 0; in bchfs_fcollapse_finsert() local [all …]
|
H A D | io_write.c | 151 s64 *i_sectors_delta, in bch2_sum_sector_overwrites() argument 162 *i_sectors_delta = 0; in bch2_sum_sector_overwrites() 173 *i_sectors_delta += sectors * in bch2_sum_sector_overwrites() 199 s64 i_sectors_delta) in bch2_extent_update_i_size_sectors() argument 251 if (i_sectors_delta) { in bch2_extent_update_i_size_sectors() 252 le64_add_cpu(&inode->v.bi_sectors, i_sectors_delta); in bch2_extent_update_i_size_sectors() 280 s64 i_sectors_delta = 0, disk_sectors_delta = 0; in bch2_extent_update() local 301 &i_sectors_delta, in bch2_extent_update() 324 i_sectors_delta) ?: in bch2_extent_update() 333 *i_sectors_delta_total += i_sectors_delta; in bch2_extent_update() [all …]
|
H A D | io_write.h | 91 op->i_sectors_delta = 0; in bch2_write_op_init()
|
H A D | fs-io-pagecache.c | 300 s64 i_sectors_delta = 0; in bch2_mark_pagecache_reserved() local 335 i_sectors_delta -= s->s[j].state == SECTOR_dirty; in bch2_mark_pagecache_reserved() 348 bch2_i_sectors_acct(c, inode, NULL, i_sectors_delta); in bch2_mark_pagecache_reserved()
|
H A D | reflink.c | 585 u64 new_i_size, s64 *i_sectors_delta, in bch2_remap_range() argument 671 i_sectors_delta); in bch2_remap_range() 717 new_i_size, i_sectors_delta, in bch2_remap_range()
|
H A D | fs-io-buffered.c | 439 WARN_ON_ONCE(io->op.i_sectors_delta > 0); in bch2_writepage_io_done() 452 bch2_i_sectors_acct(c, io->inode, NULL, io->op.i_sectors_delta); in bch2_writepage_io_done() 629 w->io->op.i_sectors_delta -= dirty_sectors; in __bch2_writepage()
|
H A D | fs-io-direct.c | 428 if (dio->op.i_sectors_delta || dio->quota_res.sectors) { in bch2_dio_write_end() 430 __bch2_i_sectors_acct(c, inode, &dio->quota_res, dio->op.i_sectors_delta); in bch2_dio_write_end()
|
H A D | data_update.c | 204 s64 i_sectors_delta = 0, disk_sectors_delta = 0; in __bch2_data_update_index_update() local 312 &i_sectors_delta, in __bch2_data_update_index_update()
|