Searched refs:to_free (Results 1 – 8 of 8) sorted by relevance
/fs/ntfs/ |
D | lcnalloc.c | 852 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/notify/ |
D | mark.c | 454 LIST_HEAD(to_free); in fsnotify_clear_marks_by_group_flags() 468 list_move(&mark->g_list, &to_free); in fsnotify_clear_marks_by_group_flags() 474 if (list_empty(&to_free)) { in fsnotify_clear_marks_by_group_flags() 478 mark = list_first_entry(&to_free, struct fsnotify_mark, g_list); in fsnotify_clear_marks_by_group_flags()
|
/fs/ufs/ |
D | inode.c | 858 struct to_free { struct 864 static inline void free_data(struct to_free *ctx, u64 from, unsigned count) in free_data() argument 884 struct to_free ctx = {.inode = inode}; in ufs_trunc_direct() 983 struct to_free ctx = {.inode = inode}; in free_full_branch() 1017 struct to_free ctx = {.inode = inode}; in free_branch_tail()
|
/fs/ext4/ |
D | inode.c | 1539 static void ext4_da_release_space(struct inode *inode, int to_free) in ext4_da_release_space() argument 1544 if (!to_free) in ext4_da_release_space() 1549 trace_ext4_da_release_space(inode, to_free); in ext4_da_release_space() 1550 if (unlikely(to_free > ei->i_reserved_data_blocks)) { in ext4_da_release_space() 1559 "data blocks", inode->i_ino, to_free, in ext4_da_release_space() 1562 to_free = ei->i_reserved_data_blocks; in ext4_da_release_space() 1564 ei->i_reserved_data_blocks -= to_free; in ext4_da_release_space() 1567 percpu_counter_sub(&sbi->s_dirtyclusters_counter, to_free); in ext4_da_release_space() 1571 dquot_release_reservation_block(inode, EXT4_C2B(sbi, to_free)); in ext4_da_release_space()
|
/fs/btrfs/ |
D | extent-tree.c | 5932 u64 to_free = 0; in btrfs_delalloc_reserve_metadata() local 6036 to_free = calc_csum_metadata_size(inode, bytes, 0); in btrfs_delalloc_reserve_metadata() 6057 if (bytes > to_free) in btrfs_delalloc_reserve_metadata() 6058 to_free = bytes - to_free; in btrfs_delalloc_reserve_metadata() 6060 to_free = 0; in btrfs_delalloc_reserve_metadata() 6064 to_free += btrfs_calc_trans_metadata_size(root, dropped); in btrfs_delalloc_reserve_metadata() 6066 if (to_free) { in btrfs_delalloc_reserve_metadata() 6067 btrfs_block_rsv_release(root, block_rsv, to_free); in btrfs_delalloc_reserve_metadata() 6069 btrfs_ino(inode), to_free, 0); in btrfs_delalloc_reserve_metadata() 6088 u64 to_free = 0; in btrfs_delalloc_release_metadata() local [all …]
|
D | free-space-cache.c | 2396 u64 to_free = min(bytes, info->bytes); in btrfs_remove_free_space() local 2398 info->bytes -= to_free; in btrfs_remove_free_space() 2399 info->offset += to_free; in btrfs_remove_free_space() 2407 offset += to_free; in btrfs_remove_free_space() 2408 bytes -= to_free; in btrfs_remove_free_space()
|
/fs/nfsd/ |
D | nfs4xdr.c | 194 tb->next = argp->to_free; in svcxdr_tmpalloc() 195 argp->to_free = tb; in svcxdr_tmpalloc() 4519 while (args->to_free) { in nfsd4_release_compoundargs() 4520 struct svcxdr_tmpbuf *tb = args->to_free; in nfsd4_release_compoundargs() 4521 args->to_free = tb->next; in nfsd4_release_compoundargs() 4541 args->to_free = NULL; in nfs4svc_decode_compoundargs()
|
D | xdr4.h | 617 struct svcxdr_tmpbuf *to_free; member
|