Home
last modified time | relevance | path

Searched refs:trimmed (Results 1 – 12 of 12) sorted by relevance

/fs/jfs/
Djfs_discard.c72 u64 trimmed = 0; in jfs_ioc_trim() local
100 trimmed += dbDiscardAG(ip, agno, minlen); in jfs_ioc_trim()
103 range->len = trimmed << sb->s_blocksize_bits; in jfs_ioc_trim()
Djfs_dmap.c1581 u64 trimmed = 0; in dbDiscardAG() local
1649 trimmed += tt->nblocks; in dbDiscardAG()
1653 return trimmed; in dbDiscardAG()
/fs/btrfs/
Ddiscard.c464 u64 trimmed = 0; in btrfs_discard_workfn() local
494 btrfs_trim_block_group_bitmaps(block_group, &trimmed, in btrfs_discard_workfn()
498 discard_ctl->discard_bitmap_bytes += trimmed; in btrfs_discard_workfn()
500 btrfs_trim_block_group_extents(block_group, &trimmed, in btrfs_discard_workfn()
504 discard_ctl->discard_extent_bytes += trimmed; in btrfs_discard_workfn()
524 discard_ctl->prev_discard = trimmed; in btrfs_discard_workfn()
Dfree-space-cache.h134 u64 *trimmed, u64 start, u64 end, u64 minlen);
136 u64 *trimmed, u64 start, u64 end, u64 minlen,
139 u64 *trimmed, u64 start, u64 end, u64 minlen,
Dfree-space-cache.c3640 u64 trimmed = 0; in do_trimming() local
3652 ret = btrfs_discard_extent(fs_info, start, bytes, &trimmed); in do_trimming()
3654 *total_trimmed += trimmed; in do_trimming()
3998 u64 *trimmed, u64 start, u64 end, u64 minlen) in btrfs_trim_block_group() argument
4006 *trimmed = 0; in btrfs_trim_block_group()
4016 ret = trim_no_bitmap(block_group, trimmed, start, end, minlen, false); in btrfs_trim_block_group()
4020 ret = trim_bitmaps(block_group, trimmed, start, end, minlen, 0, false); in btrfs_trim_block_group()
4031 u64 *trimmed, u64 start, u64 end, u64 minlen, in btrfs_trim_block_group_extents() argument
4036 *trimmed = 0; in btrfs_trim_block_group_extents()
4046 ret = trim_no_bitmap(block_group, trimmed, start, end, minlen, async); in btrfs_trim_block_group_extents()
[all …]
Dextent-tree.c2811 u64 trimmed = 0; in btrfs_finish_extent_commit() local
2818 &trimmed); in btrfs_finish_extent_commit()
6075 static int btrfs_trim_free_extents(struct btrfs_device *device, u64 *trimmed) in btrfs_trim_free_extents() argument
6080 *trimmed = 0; in btrfs_trim_free_extents()
6152 *trimmed += bytes; in btrfs_trim_free_extents()
6183 u64 trimmed = 0; in btrfs_trim_fs() local
6226 trimmed += group_trimmed; in btrfs_trim_fs()
6252 trimmed += group_trimmed; in btrfs_trim_fs()
6260 range->len = trimmed; in btrfs_trim_fs()
/fs/fat/
Dfatent.c769 u64 ent_start, ent_end, minlen, trimmed = 0; in fat_trim_fs() local
810 trimmed += free; in fat_trim_fs()
837 trimmed += free; in fat_trim_fs()
845 range->len = trimmed << sbi->cluster_bits; in fat_trim_fs()
/fs/gfs2/
Drgrp.c1319 u32 trimmed = 0; in gfs2_rgrp_send_discards() local
1347 trimmed += nr_blks; in gfs2_rgrp_send_discards()
1363 trimmed += nr_blks; in gfs2_rgrp_send_discards()
1366 *ptrimmed = trimmed; in gfs2_rgrp_send_discards()
1396 u64 trimmed = 0; in gfs2_fitrim() local
1452 trimmed += amt; in gfs2_fitrim()
1476 r.len = trimmed << bs_shift; in gfs2_fitrim()
/fs/f2fs/
Dsegment.c1670 unsigned int trimmed = 0; in __wait_discard_cmd_range() local
1685 trimmed += iter->di.len; in __wait_discard_cmd_range()
1696 trimmed += __wait_one_discard_bio(sbi, dc); in __wait_discard_cmd_range()
1700 return trimmed; in __wait_discard_cmd_range()
3057 unsigned int trimmed = 0; in __issue_discard_cmd_range() local
3095 trimmed += __wait_all_discard_cmd(sbi, NULL); in __issue_discard_cmd_range()
3112 return trimmed; in __issue_discard_cmd_range()
3123 unsigned long long trimmed = 0; in f2fs_trim_fs() local
3174 trimmed = __issue_discard_cmd_range(sbi, &dpolicy, in f2fs_trim_fs()
3177 trimmed += __wait_discard_cmd_range(sbi, &dpolicy, in f2fs_trim_fs()
[all …]
/fs/ceph/
Dcaps.c209 bool trimmed = false; in ceph_reserve_caps() local
237 if (!trimmed) { in ceph_reserve_caps()
252 trimmed = true; in ceph_reserve_caps()
/fs/ext4/
Dmballoc.c6589 uint64_t start, end, minlen, trimmed = 0; in ext4_trim_fs() local
6655 trimmed += cnt; in ext4_trim_fs()
6669 range->len = EXT4_C2B(EXT4_SB(sb), trimmed) << sb->s_blocksize_bits; in ext4_trim_fs()
/fs/ocfs2/
Dalloc.c7529 u64 start, len, trimmed = 0, first_group, last_group = 0, group = 0; in ocfs2_trim_mainbm() local
7618 trimmed += cnt; in ocfs2_trim_mainbm()
7645 range->len = trimmed * sb->s_blocksize; in ocfs2_trim_mainbm()