patch-2.4.7 linux/fs/ntfs/inode.h
Next file: linux/fs/ntfs/macros.h
Previous file: linux/fs/ntfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 61
- Date:
Mon Jul 16 15:14:10 2001
- Orig file:
v2.4.6/linux/fs/ntfs/inode.h
- Orig date:
Wed Apr 18 11:49:13 2001
diff -u --recursive --new-file v2.4.6/linux/fs/ntfs/inode.h linux/fs/ntfs/inode.h
@@ -1,16 +1,18 @@
-/* inode.h - Header file for inode.c
+/*
+ * inode.h - Header file for inode.c
*
- * Copyright (C) 1997 Régis Duchesne
- * Copyright (C) 1998 Martin von Löwis
+ * Copyright (C) 1997 Régis Duchesne
+ * Copyright (C) 1998 Martin von Löwis
+ * Copyright (c) 2001 Anton Altparmakov (AIA)
*/
ntfs_attribute *ntfs_find_attr(ntfs_inode *ino, int type, char *name);
-int ntfs_read_attr(ntfs_inode *ino, int type, char *name, int offset,
- ntfs_io *buf);
+int ntfs_read_attr(ntfs_inode *ino, int type, char *name, __s64 offset,
+ ntfs_io *buf);
-int ntfs_write_attr(ntfs_inode *ino, int type, char *name, int offset,
- ntfs_io *buf);
+int ntfs_write_attr(ntfs_inode *ino, int type, char *name, __s64 offset,
+ ntfs_io *buf);
int ntfs_init_inode(ntfs_inode *ino, ntfs_volume *vol, int inum);
@@ -19,25 +21,28 @@
int ntfs_check_mft_record(ntfs_volume *vol, char *record);
int ntfs_alloc_inode(ntfs_inode *dir, ntfs_inode *result, const char *filename,
- int namelen, ntfs_u32);
+ int namelen, ntfs_u32);
int ntfs_alloc_file(ntfs_inode *dir, ntfs_inode *result, char *filename,
- int namelen);
+ int namelen);
int ntfs_update_inode(ntfs_inode *ino);
int ntfs_vcn_to_lcn(ntfs_inode *ino, int vcn);
-int ntfs_readwrite_attr(ntfs_inode *ino, ntfs_attribute *attr, int offset,
- ntfs_io *dest);
+int ntfs_readwrite_attr(ntfs_inode *ino, ntfs_attribute *attr, __s64 offset,
+ ntfs_io *dest);
int ntfs_allocate_attr_number(ntfs_inode *ino, int *result);
int ntfs_decompress_run(unsigned char **data, int *length,
- ntfs_cluster_t *cluster, int *ctype);
+ ntfs_cluster_t *cluster, int *ctype);
void ntfs_decompress(unsigned char *dest, unsigned char *src, ntfs_size_t l);
void ntfs_fill_mft_header(ntfs_u8 *mft, int recordsize, int blocksize,
- int sequence_number);
+ int sequence_number);
+
+extern __inline__ int ntfs_test_and_set_bit(unsigned char *byte,
+ const int bit);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)