Searched refs:new_rl (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/ntfs/ |
| H A D | runlist.c | 77 struct runlist_element *new_rl; in ntfs_rl_realloc_gfp() local 89 new_rl = kvzalloc(new_bytes, gfp); in ntfs_rl_realloc_gfp() 90 if (unlikely(!new_rl)) in ntfs_rl_realloc_gfp() 97 kvfree(new_rl); in ntfs_rl_realloc_gfp() 102 memcpy(new_rl, rl, old_bytes); in ntfs_rl_realloc_gfp() 105 return new_rl; in ntfs_rl_realloc_gfp() 742 struct runlist_element *rl, *new_rl; /* The output runlist. */ in ntfs_mapping_pairs_decompress() local 1018 new_rl = ntfs_runlists_merge(old_runlist, rl, rlpos + 1, new_rl_count); in ntfs_mapping_pairs_decompress() 1019 if (!IS_ERR(new_rl)) in ntfs_mapping_pairs_decompress() 1020 return new_rl; in ntfs_mapping_pairs_decompress() [all …]
|
| H A D | attrlist.c | 75 struct runlist_element *old_rl, *new_rl; in ntfs_attrlist_repack() local 119 new_rl = ntfs_cluster_alloc(vol, 0, nr_clusters, -1, DATA_ZONE, in ntfs_attrlist_repack() 121 if (IS_ERR(new_rl)) { in ntfs_attrlist_repack() 122 err = PTR_ERR(new_rl); in ntfs_attrlist_repack() 127 if (new_rl->vcn == 0 && new_rl->length == nr_clusters && in ntfs_attrlist_repack() 128 !new_rl[1].length) in ntfs_attrlist_repack() 132 ntfs_cluster_free_from_rl(vol, new_rl); in ntfs_attrlist_repack() 133 kvfree(new_rl); in ntfs_attrlist_repack() 140 attr_ni->runlist.rl = new_rl; in ntfs_attrlist_repack() 190 ntfs_cluster_free_from_rl(vol, new_rl); in ntfs_attrlist_repack() [all …]
|