Blame view
fs/xfs/xfs_dir2.h
2.15 KB
1da177e4c Linux-2.6.12-rc2 |
1 |
/* |
7b7187698 [XFS] Update lice... |
2 3 |
* Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. * All Rights Reserved. |
1da177e4c Linux-2.6.12-rc2 |
4 |
* |
7b7187698 [XFS] Update lice... |
5 6 |
* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as |
1da177e4c Linux-2.6.12-rc2 |
7 8 |
* published by the Free Software Foundation. * |
7b7187698 [XFS] Update lice... |
9 10 11 12 |
* This program is distributed in the hope that it would be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. |
1da177e4c Linux-2.6.12-rc2 |
13 |
* |
7b7187698 [XFS] Update lice... |
14 15 16 |
* You should have received a copy of the GNU General Public License * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
1da177e4c Linux-2.6.12-rc2 |
17 18 |
*/ #ifndef __XFS_DIR2_H__ |
579266407 xfs: reshuffle di... |
19 |
#define __XFS_DIR2_H__ |
1da177e4c Linux-2.6.12-rc2 |
20 |
|
f6c2d1fa6 [XFS] Remove vers... |
21 |
struct xfs_bmap_free; |
579266407 xfs: reshuffle di... |
22 |
struct xfs_da_args; |
1da177e4c Linux-2.6.12-rc2 |
23 |
struct xfs_inode; |
f6c2d1fa6 [XFS] Remove vers... |
24 |
struct xfs_mount; |
1da177e4c Linux-2.6.12-rc2 |
25 |
struct xfs_trans; |
556b8b166 [XFS] remove bhv_... |
26 |
extern struct xfs_name xfs_name_dotdot; |
1da177e4c Linux-2.6.12-rc2 |
27 |
/* |
f6c2d1fa6 [XFS] Remove vers... |
28 29 30 31 32 33 34 35 |
* Generic directory interface routines */ extern void xfs_dir_startup(void); extern void xfs_dir_mount(struct xfs_mount *mp); extern int xfs_dir_isempty(struct xfs_inode *dp); extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp, struct xfs_inode *pdp); extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp, |
556b8b166 [XFS] remove bhv_... |
36 |
struct xfs_name *name, xfs_ino_t inum, |
f6c2d1fa6 [XFS] Remove vers... |
37 38 39 |
xfs_fsblock_t *first, struct xfs_bmap_free *flist, xfs_extlen_t tot); extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp, |
384f3ced0 [XFS] Return case... |
40 41 |
struct xfs_name *name, xfs_ino_t *inum, struct xfs_name *ci_name); |
f6c2d1fa6 [XFS] Remove vers... |
42 |
extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp, |
556b8b166 [XFS] remove bhv_... |
43 |
struct xfs_name *name, xfs_ino_t ino, |
f6c2d1fa6 [XFS] Remove vers... |
44 45 |
xfs_fsblock_t *first, struct xfs_bmap_free *flist, xfs_extlen_t tot); |
f6c2d1fa6 [XFS] Remove vers... |
46 |
extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp, |
556b8b166 [XFS] remove bhv_... |
47 |
struct xfs_name *name, xfs_ino_t inum, |
f6c2d1fa6 [XFS] Remove vers... |
48 49 50 |
xfs_fsblock_t *first, struct xfs_bmap_free *flist, xfs_extlen_t tot); extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp, |
556b8b166 [XFS] remove bhv_... |
51 |
struct xfs_name *name, uint resblks); |
f6c2d1fa6 [XFS] Remove vers... |
52 53 |
/* |
579266407 xfs: reshuffle di... |
54 |
* Direct call from the bmap code, bypassing the generic directory layer. |
1da177e4c Linux-2.6.12-rc2 |
55 |
*/ |
579266407 xfs: reshuffle di... |
56 |
extern int xfs_dir2_sf_to_block(struct xfs_da_args *args); |
384f3ced0 [XFS] Return case... |
57 |
|
1da177e4c Linux-2.6.12-rc2 |
58 |
#endif /* __XFS_DIR2_H__ */ |