Home
last modified time | relevance | path

Searched refs:to_free (Results 1 – 6 of 6) sorted by relevance

/fs/ntfs/
Dlcnalloc.c852 s64 delta, to_free, total_freed, real_freed; in __ntfs_cluster_free() local
900 to_free = rl->length - delta; in __ntfs_cluster_free()
901 if (count >= 0 && to_free > count) in __ntfs_cluster_free()
902 to_free = count; in __ntfs_cluster_free()
907 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free()
915 real_freed = to_free; in __ntfs_cluster_free()
920 count -= to_free; in __ntfs_cluster_free()
923 total_freed = to_free; in __ntfs_cluster_free()
957 to_free = rl->length; in __ntfs_cluster_free()
958 if (count >= 0 && to_free > count) in __ntfs_cluster_free()
[all …]
/fs/ext4/
Dinode.c1294 static void ext4_da_release_space(struct inode *inode, int to_free) in ext4_da_release_space() argument
1299 if (!to_free) in ext4_da_release_space()
1304 trace_ext4_da_release_space(inode, to_free); in ext4_da_release_space()
1305 if (unlikely(to_free > ei->i_reserved_data_blocks)) { in ext4_da_release_space()
1314 "data blocks", inode->i_ino, to_free, in ext4_da_release_space()
1317 to_free = ei->i_reserved_data_blocks; in ext4_da_release_space()
1319 ei->i_reserved_data_blocks -= to_free; in ext4_da_release_space()
1322 percpu_counter_sub(&sbi->s_dirtyclusters_counter, to_free); in ext4_da_release_space()
1326 dquot_release_reservation_block(inode, EXT4_C2B(sbi, to_free)); in ext4_da_release_space()
/fs/btrfs/
Dextent-tree.c4792 u64 to_free = 0; in btrfs_delalloc_reserve_metadata() local
4895 to_free = calc_csum_metadata_size(inode, bytes, 0); in btrfs_delalloc_reserve_metadata()
4916 if (bytes > to_free) in btrfs_delalloc_reserve_metadata()
4917 to_free = bytes - to_free; in btrfs_delalloc_reserve_metadata()
4919 to_free = 0; in btrfs_delalloc_reserve_metadata()
4923 to_free += btrfs_calc_trans_metadata_size(root, dropped); in btrfs_delalloc_reserve_metadata()
4925 if (to_free) { in btrfs_delalloc_reserve_metadata()
4926 btrfs_block_rsv_release(root, block_rsv, to_free); in btrfs_delalloc_reserve_metadata()
4928 btrfs_ino(inode), to_free, 0); in btrfs_delalloc_reserve_metadata()
4947 u64 to_free = 0; in btrfs_delalloc_release_metadata() local
[all …]
Dfree-space-cache.c1929 u64 to_free = min(bytes, info->bytes); in btrfs_remove_free_space() local
1931 info->bytes -= to_free; in btrfs_remove_free_space()
1932 info->offset += to_free; in btrfs_remove_free_space()
1940 offset += to_free; in btrfs_remove_free_space()
1941 bytes -= to_free; in btrfs_remove_free_space()
/fs/nfsd/
Dnfs4xdr.c195 tb->next = argp->to_free; in defer_free()
196 argp->to_free = tb; in defer_free()
3593 while (args->to_free) { in nfsd4_release_compoundargs()
3594 struct tmpbuf *tb = args->to_free; in nfsd4_release_compoundargs()
3595 args->to_free = tb->next; in nfsd4_release_compoundargs()
3610 args->to_free = NULL; in nfs4svc_decode_compoundargs()
Dxdr4.h492 } *to_free; member