Lines Matching refs:vol
74 struct ntfs_volume *vol = attr_ni->vol; in ntfs_attrlist_repack() local
111 nr_clusters = ntfs_bytes_to_cluster(vol, in ntfs_attrlist_repack()
112 alloc_size + vol->cluster_size - 1); in ntfs_attrlist_repack()
119 new_rl = ntfs_cluster_alloc(vol, 0, nr_clusters, -1, DATA_ZONE, in ntfs_attrlist_repack()
132 ntfs_cluster_free_from_rl(vol, new_rl); in ntfs_attrlist_repack()
145 attr_ni->allocated_size = ntfs_cluster_to_bytes(vol, nr_clusters); in ntfs_attrlist_repack()
162 if (ntfs_cluster_free_from_rl(vol, old_rl)) { in ntfs_attrlist_repack()
163 ntfs_error(vol->sb, in ntfs_attrlist_repack()
166 NVolSetErrors(vol); in ntfs_attrlist_repack()
185 ntfs_error(vol->sb, "Failed to restore ATTRIBUTE_LIST mapping pairs (%d)", in ntfs_attrlist_repack()
187 NVolSetErrors(vol); in ntfs_attrlist_repack()
190 ntfs_cluster_free_from_rl(vol, new_rl); in ntfs_attrlist_repack()
235 ntfs_error(base_ni->vol->sb, "Failed to repack attribute list"); in ntfs_attrlist_update_locked()
244 ntfs_error(base_ni->vol->sb, in ntfs_attrlist_update_locked()
251 ntfs_error(base_ni->vol->sb, in ntfs_attrlist_update_locked()
277 ntfs_error(base_ni->vol->sb, in ntfs_attrlist_update_locked()
294 ntfs_error(base_ni->vol->sb, in ntfs_attrlist_update_locked()
364 ntfs_error(ni->vol->sb, "Failed to get search context"); in ntfs_attrlist_entry_add()