Linux 2.2.0
[davej-history.git] / fs / ntfs / super.h
blobf9049013659066f303646e4213a19233f65c0bef
1 /*
2 * super.h
3 * Header file for super.c
5 * Copyright (C) 1995-1997 Martin von Löwis
6 * Copyright (C) 1996-1997 Régis Duchesne
7 */
9 #define ALLOC_REQUIRE_LOCATION 1
10 #define ALLOC_REQUIRE_SIZE 2
12 int ntfs_get_free_cluster_count(ntfs_inode *bitmap);
13 int ntfs_get_volumesize(ntfs_volume *vol);
14 int ntfs_init_volume(ntfs_volume *vol,char *boot);
15 int ntfs_load_special_files(ntfs_volume *vol);
16 int ntfs_release_volume(ntfs_volume *vol);
17 void ntfs_insert_fixups(unsigned char *rec, int secsize);
18 int ntfs_fixup_record(ntfs_volume *vol, char *record, char *magic, int size);
19 int ntfs_allocate_clusters(ntfs_volume *vol, ntfs_cluster_t *location, int *count,
20 int flags);
21 int ntfs_deallocate_clusters(ntfs_volume *vol, ntfs_cluster_t location, int count);