hfsplus_fs.h (f0eef25339f92f7cd4aeea23d9ae97987a5a1e82) hfsplus_fs.h (d45bce8faf55511ec7d7ffc301461d864d67f1af)
1/*
2 * linux/include/linux/hfsplus_fs.h
3 *
4 * Copyright (C) 1999
5 * Brad Boyer (flar@pants.nu)
6 * (C) 2003 Ardis Technologies <roman@ardistech.com>
7 *
8 */

--- 136 unchanged lines hidden (view full) ---

145
146 struct hlist_head rsrc_inodes;
147};
148
149#define HFSPLUS_SB_WRITEBACKUP 0x0001
150#define HFSPLUS_SB_NODECOMPOSE 0x0002
151#define HFSPLUS_SB_FORCE 0x0004
152#define HFSPLUS_SB_HFSX 0x0008
1/*
2 * linux/include/linux/hfsplus_fs.h
3 *
4 * Copyright (C) 1999
5 * Brad Boyer (flar@pants.nu)
6 * (C) 2003 Ardis Technologies <roman@ardistech.com>
7 *
8 */

--- 136 unchanged lines hidden (view full) ---

145
146 struct hlist_head rsrc_inodes;
147};
148
149#define HFSPLUS_SB_WRITEBACKUP 0x0001
150#define HFSPLUS_SB_NODECOMPOSE 0x0002
151#define HFSPLUS_SB_FORCE 0x0004
152#define HFSPLUS_SB_HFSX 0x0008
153#define HFSPLUS_SB_CASEFOLD 0x0010
153
154
155struct hfsplus_inode_info {
156 struct semaphore extents_lock;
157 u32 clump_blocks, alloc_blocks;
158 sector_t fs_blocks;
159 /* Allocation extents from catalog record or volume header */
160 hfsplus_extent_rec first_extents;

--- 155 unchanged lines hidden (view full) ---

316int hfsplus_get_block(struct inode *, sector_t, struct buffer_head *, int);
317int hfsplus_free_fork(struct super_block *, u32, struct hfsplus_fork_raw *, int);
318int hfsplus_file_extend(struct inode *);
319void hfsplus_file_truncate(struct inode *);
320
321/* inode.c */
322extern const struct address_space_operations hfsplus_aops;
323extern const struct address_space_operations hfsplus_btree_aops;
154
155
156struct hfsplus_inode_info {
157 struct semaphore extents_lock;
158 u32 clump_blocks, alloc_blocks;
159 sector_t fs_blocks;
160 /* Allocation extents from catalog record or volume header */
161 hfsplus_extent_rec first_extents;

--- 155 unchanged lines hidden (view full) ---

317int hfsplus_get_block(struct inode *, sector_t, struct buffer_head *, int);
318int hfsplus_free_fork(struct super_block *, u32, struct hfsplus_fork_raw *, int);
319int hfsplus_file_extend(struct inode *);
320void hfsplus_file_truncate(struct inode *);
321
322/* inode.c */
323extern const struct address_space_operations hfsplus_aops;
324extern const struct address_space_operations hfsplus_btree_aops;
325extern struct dentry_operations hfsplus_dentry_operations;
324
325void hfsplus_inode_read_fork(struct inode *, struct hfsplus_fork_raw *);
326void hfsplus_inode_write_fork(struct inode *, struct hfsplus_fork_raw *);
327int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *);
328int hfsplus_cat_write_inode(struct inode *);
329struct inode *hfsplus_new_inode(struct super_block *, int);
330void hfsplus_delete_inode(struct inode *);
331

--- 16 unchanged lines hidden (view full) ---

348extern u16 hfsplus_decompose_table[];
349extern u16 hfsplus_compose_table[];
350
351/* unicode.c */
352int hfsplus_strcasecmp(const struct hfsplus_unistr *, const struct hfsplus_unistr *);
353int hfsplus_strcmp(const struct hfsplus_unistr *, const struct hfsplus_unistr *);
354int hfsplus_uni2asc(struct super_block *, const struct hfsplus_unistr *, char *, int *);
355int hfsplus_asc2uni(struct super_block *, struct hfsplus_unistr *, const char *, int);
326
327void hfsplus_inode_read_fork(struct inode *, struct hfsplus_fork_raw *);
328void hfsplus_inode_write_fork(struct inode *, struct hfsplus_fork_raw *);
329int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *);
330int hfsplus_cat_write_inode(struct inode *);
331struct inode *hfsplus_new_inode(struct super_block *, int);
332void hfsplus_delete_inode(struct inode *);
333

--- 16 unchanged lines hidden (view full) ---

350extern u16 hfsplus_decompose_table[];
351extern u16 hfsplus_compose_table[];
352
353/* unicode.c */
354int hfsplus_strcasecmp(const struct hfsplus_unistr *, const struct hfsplus_unistr *);
355int hfsplus_strcmp(const struct hfsplus_unistr *, const struct hfsplus_unistr *);
356int hfsplus_uni2asc(struct super_block *, const struct hfsplus_unistr *, char *, int *);
357int hfsplus_asc2uni(struct super_block *, struct hfsplus_unistr *, const char *, int);
358int hfsplus_hash_dentry(struct dentry *dentry, struct qstr *str);
359int hfsplus_compare_dentry(struct dentry *dentry, struct qstr *s1, struct qstr *s2);
356
357/* wrapper.c */
358int hfsplus_read_wrapper(struct super_block *);
359
360int hfs_part_find(struct super_block *, sector_t *, sector_t *);
361
362/* access macros */
363/*

--- 49 unchanged lines hidden ---
360
361/* wrapper.c */
362int hfsplus_read_wrapper(struct super_block *);
363
364int hfs_part_find(struct super_block *, sector_t *, sector_t *);
365
366/* access macros */
367/*

--- 49 unchanged lines hidden ---