import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / fs / ntfs / super.h
1 /*
2  * super.h - Header file for super.c
3  *
4  * Copyright (C) 1995-1997 Martin von Löwis
5  * Copyright (C) 1996-1997 Régis Duchesne
6  * Copyright (c) 2001 Anton Altaparmakov
7  */
8
9 int ntfs_get_free_cluster_count(ntfs_inode *bitmap);
10
11 int ntfs_get_volumesize(ntfs_volume *vol, __s64 *vol_size);
12
13 int ntfs_init_volume(ntfs_volume *vol, char *boot);
14
15 int ntfs_load_special_files(ntfs_volume *vol);
16
17 int ntfs_release_volume(ntfs_volume *vol);
18
19 int ntfs_insert_fixups(unsigned char *rec, int rec_size);
20
21 int ntfs_fixup_record(char *record, char *magic, int size);
22
23 int ntfs_allocate_clusters(ntfs_volume *vol, ntfs_cluster_t *location,
24                 ntfs_cluster_t *count, ntfs_runlist **rl, int *rl_len,
25                 const NTFS_CLUSTER_ALLOCATION_ZONES zone);
26
27 int ntfs_deallocate_cluster_run(const ntfs_volume *vol,
28                 const ntfs_cluster_t lcn, const ntfs_cluster_t len);
29
30 int ntfs_deallocate_clusters(const ntfs_volume *vol, const ntfs_runlist *rl,
31                 const int rl_len);
32