jfs_imap.h (95d465fd750897ab32462a6702fbfe1b122cbbc0) jfs_imap.h (4d81715fc5dfa1680ad47d7edf3ac4a74c5bf104)
1/*
2 * Copyright (c) International Business Machines Corp., 2000-2002
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

154#define im_l2nbperiext im_imap.in_l2nbperiext
155
156/* for standalone testdriver
157 */
158#define im_diskblock im_imap.in_diskblock
159#define im_maxag im_imap.in_maxag
160
161extern int diFree(struct inode *);
1/*
2 * Copyright (c) International Business Machines Corp., 2000-2002
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

154#define im_l2nbperiext im_imap.in_l2nbperiext
155
156/* for standalone testdriver
157 */
158#define im_diskblock im_imap.in_diskblock
159#define im_maxag im_imap.in_maxag
160
161extern int diFree(struct inode *);
162extern int diAlloc(struct inode *, boolean_t, struct inode *);
162extern int diAlloc(struct inode *, bool, struct inode *);
163extern int diSync(struct inode *);
164/* external references */
165extern int diUpdatePMap(struct inode *ipimap, unsigned long inum,
163extern int diSync(struct inode *);
164/* external references */
165extern int diUpdatePMap(struct inode *ipimap, unsigned long inum,
166 boolean_t is_free, struct tblock * tblk);
166 bool is_free, struct tblock * tblk);
167extern int diExtendFS(struct inode *ipimap, struct inode *ipbmap);
168extern int diMount(struct inode *);
169extern int diUnmount(struct inode *, int);
170extern int diRead(struct inode *);
171extern struct inode *diReadSpecial(struct super_block *, ino_t, int);
172extern void diWriteSpecial(struct inode *, int);
173extern void diFreeSpecial(struct inode *);
174extern int diWrite(tid_t tid, struct inode *);
175#endif /* _H_JFS_IMAP */
167extern int diExtendFS(struct inode *ipimap, struct inode *ipbmap);
168extern int diMount(struct inode *);
169extern int diUnmount(struct inode *, int);
170extern int diRead(struct inode *);
171extern struct inode *diReadSpecial(struct super_block *, ino_t, int);
172extern void diWriteSpecial(struct inode *, int);
173extern void diFreeSpecial(struct inode *);
174extern int diWrite(tid_t tid, struct inode *);
175#endif /* _H_JFS_IMAP */