/fs/ntfs/ |
D | lcnalloc.c | 838 s64 delta, to_free, total_freed, real_freed; in __ntfs_cluster_free() local 886 to_free = rl->length - delta; in __ntfs_cluster_free() 887 if (count >= 0 && to_free > count) in __ntfs_cluster_free() 888 to_free = count; in __ntfs_cluster_free() 893 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free() 901 real_freed = to_free; in __ntfs_cluster_free() 906 count -= to_free; in __ntfs_cluster_free() 909 total_freed = to_free; in __ntfs_cluster_free() 943 to_free = rl->length; in __ntfs_cluster_free() 944 if (count >= 0 && to_free > count) in __ntfs_cluster_free() [all …]
|
/fs/ |
D | eventpoll.c | 297 struct epitems_head *to_free = head; in unlist_file() local 303 to_free = NULL; in unlist_file() 307 free_ephead(to_free); in unlist_file() 726 struct epitems_head *to_free; in __ep_remove() local 743 to_free = NULL; in __ep_remove() 751 to_free = v; in __ep_remove() 756 free_ephead(to_free); in __ep_remove() 1458 struct epitems_head *to_free = NULL; in attach_epitem() local 1469 to_free = kmem_cache_zalloc(ephead_cache, GFP_KERNEL); in attach_epitem() 1470 if (!to_free) in attach_epitem() [all …]
|
/fs/ceph/ |
D | snap.c | 1270 LIST_HEAD(to_free); in ceph_trim_snapid_map() 1282 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map() 1286 while (!list_empty(&to_free)) { in ceph_trim_snapid_map() 1287 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map() 1299 LIST_HEAD(to_free); in ceph_cleanup_snapid_map() 1306 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map() 1310 while (!list_empty(&to_free)) { in ceph_cleanup_snapid_map() 1311 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
|
/fs/btrfs/ |
D | delayed-ref.c | 153 u64 to_free = 0; in btrfs_migrate_to_delayed_refs_rsv() local 160 to_free = num_bytes - delta; in btrfs_migrate_to_delayed_refs_rsv() 164 to_free = num_bytes; in btrfs_migrate_to_delayed_refs_rsv() 177 if (to_free) in btrfs_migrate_to_delayed_refs_rsv() 179 delayed_refs_rsv->space_info, to_free); in btrfs_migrate_to_delayed_refs_rsv()
|
D | free-space-cache.c | 2677 u64 to_free, to_unusable; in __btrfs_add_free_space_zoned() local 2689 to_free = size; in __btrfs_add_free_space_zoned() 2691 to_free = block_group->zone_capacity; in __btrfs_add_free_space_zoned() 2693 to_free = size; in __btrfs_add_free_space_zoned() 2695 to_free = 0; in __btrfs_add_free_space_zoned() 2697 to_free = offset + size - block_group->alloc_offset; in __btrfs_add_free_space_zoned() 2698 to_unusable = size - to_free; in __btrfs_add_free_space_zoned() 2700 ctl->free_space += to_free; in __btrfs_add_free_space_zoned() 2833 u64 to_free = min(bytes, info->bytes); in btrfs_remove_free_space() local 2835 info->bytes -= to_free; in btrfs_remove_free_space() [all …]
|
/fs/notify/ |
D | mark.c | 790 LIST_HEAD(to_free); in fsnotify_clear_marks_by_group() 791 struct list_head *head = &to_free; in fsnotify_clear_marks_by_group() 810 list_move(&mark->g_list, &to_free); in fsnotify_clear_marks_by_group()
|
/fs/ufs/ |
D | inode.c | 871 struct to_free { struct 877 static inline void free_data(struct to_free *ctx, u64 from, unsigned count) in free_data() argument 896 struct to_free ctx = {.inode = inode}; in ufs_trunc_direct() 995 struct to_free ctx = {.inode = inode}; in free_full_branch() 1029 struct to_free ctx = {.inode = inode}; in free_branch_tail()
|
/fs/ntfs3/ |
D | frecord.c | 804 u32 free_b, nb, to_free, rs; in ni_create_attr_list() local 860 to_free = le32_to_cpu(rec->used) + lsize + SIZEOF_RESIDENT; in ni_create_attr_list() 861 if (to_free <= rs) { in ni_create_attr_list() 862 to_free = 0; in ni_create_attr_list() 864 to_free -= rs; in ni_create_attr_list() 866 if (to_free > free_b) { in ni_create_attr_list() 879 while (to_free > 0) { in ni_create_attr_list() 900 if (to_free <= asize) in ni_create_attr_list() 902 to_free -= asize; in ni_create_attr_list()
|
D | inode.c | 1782 void *to_free = NULL; in ntfs_readlink_hlp() local 1816 to_free = rp; in ntfs_readlink_hlp() 1917 kfree(to_free); in ntfs_readlink_hlp()
|
D | fslog.c | 1127 void *to_free = NULL; in read_log_page() local 1137 to_free = kmalloc(log->page_size, GFP_NOFS); in read_log_page() 1138 if (!to_free) in read_log_page() 1140 *buffer = to_free; in read_log_page() 1166 if (err && to_free) { in read_log_page() 1167 kfree(to_free); in read_log_page()
|
/fs/ext4/ |
D | inode.c | 1516 void ext4_da_release_space(struct inode *inode, int to_free) in ext4_da_release_space() argument 1521 if (!to_free) in ext4_da_release_space() 1526 trace_ext4_da_release_space(inode, to_free); in ext4_da_release_space() 1527 if (unlikely(to_free > ei->i_reserved_data_blocks)) { in ext4_da_release_space() 1536 "data blocks", inode->i_ino, to_free, in ext4_da_release_space() 1539 to_free = ei->i_reserved_data_blocks; in ext4_da_release_space() 1541 ei->i_reserved_data_blocks -= to_free; in ext4_da_release_space() 1544 percpu_counter_sub(&sbi->s_dirtyclusters_counter, to_free); in ext4_da_release_space() 1548 dquot_release_reservation_block(inode, EXT4_C2B(sbi, to_free)); in ext4_da_release_space()
|
D | resize.c | 35 void ext4_kvfree_array_rcu(void *to_free) in ext4_kvfree_array_rcu() argument 40 ptr->ptr = to_free; in ext4_kvfree_array_rcu() 45 kvfree(to_free); in ext4_kvfree_array_rcu()
|
D | ext4.h | 3015 extern void ext4_da_release_space(struct inode *inode, int to_free); 3065 extern void ext4_kvfree_array_rcu(void *to_free);
|
D | super.c | 6337 char *to_free[EXT4_MAXQUOTAS]; in __ext4_remount() local 6605 to_free[i] = get_qf_name(sb, sbi, i); in __ext4_remount() 6610 kfree(to_free[i]); in __ext4_remount()
|
/fs/nfsd/ |
D | xdr4.h | 717 struct svcxdr_tmpbuf *to_free; member
|
D | nfs4xdr.c | 128 tb->next = argp->to_free; in svcxdr_tmpalloc() 129 argp->to_free = tb; in svcxdr_tmpalloc() 5445 while (args->to_free) { in nfsd4_release_compoundargs() 5446 struct svcxdr_tmpbuf *tb = args->to_free; in nfsd4_release_compoundargs() 5447 args->to_free = tb->next; in nfsd4_release_compoundargs() 5458 args->to_free = NULL; in nfs4svc_decode_compoundargs()
|