]>
Commit | Line | Data |
---|---|---|
e515cca1 DC |
1 | /* |
2 | * Copyright (c) 2000-2005 Silicon Graphics, Inc. | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU General Public License as | |
7 | * published by the Free Software Foundation. | |
8 | * | |
9 | * This program is distributed in the hope that it would be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write the Free Software Foundation, | |
16 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
17 | */ | |
18 | ||
19 | #ifndef __LIBXFS_API_DEFS_H__ | |
20 | #define __LIBXFS_API_DEFS_H__ | |
21 | ||
22 | /* | |
23 | * This file defines all the kernel based functions we expose to userspace | |
24 | * via the libxfs_* namespace. This is kept in a separate header file so | |
25 | * it can be included in both the internal and external libxfs header files | |
26 | * without introducing any depenencies between the two. | |
27 | */ | |
28 | #define xfs_highbit32 libxfs_highbit32 | |
29 | #define xfs_highbit64 libxfs_highbit64 | |
30 | ||
31 | #define xfs_fs_repair_cmn_err libxfs_fs_repair_cmn_err | |
32 | #define xfs_fs_cmn_err libxfs_fs_cmn_err | |
33 | ||
34 | #define xfs_trans_alloc libxfs_trans_alloc | |
35 | #define xfs_trans_add_item libxfs_trans_add_item | |
36 | #define xfs_trans_bhold libxfs_trans_bhold | |
37 | #define xfs_trans_binval libxfs_trans_binval | |
38 | #define xfs_trans_bjoin libxfs_trans_bjoin | |
39 | #define xfs_trans_brelse libxfs_trans_brelse | |
40 | #define xfs_trans_commit libxfs_trans_commit | |
41 | #define xfs_trans_cancel libxfs_trans_cancel | |
42 | #define xfs_trans_del_item libxfs_trans_del_item | |
e515cca1 DC |
43 | #define xfs_trans_get_buf libxfs_trans_get_buf |
44 | #define xfs_trans_getsb libxfs_trans_getsb | |
45 | #define xfs_trans_iget libxfs_trans_iget | |
46 | #define xfs_trans_ichgtime libxfs_trans_ichgtime | |
47 | #define xfs_trans_ijoin libxfs_trans_ijoin | |
48 | #define xfs_trans_ijoin_ref libxfs_trans_ijoin_ref | |
49 | #define xfs_trans_init libxfs_trans_init | |
50 | #define xfs_trans_inode_alloc_buf libxfs_trans_inode_alloc_buf | |
51 | #define xfs_trans_log_buf libxfs_trans_log_buf | |
52 | #define xfs_trans_log_inode libxfs_trans_log_inode | |
53 | #define xfs_trans_mod_sb libxfs_trans_mod_sb | |
54 | #define xfs_trans_read_buf libxfs_trans_read_buf | |
55 | #define xfs_trans_read_buf_map libxfs_trans_read_buf_map | |
56 | #define xfs_trans_roll libxfs_trans_roll | |
57 | #define xfs_trans_get_buf_map libxfs_trans_get_buf_map | |
e515cca1 DC |
58 | #define xfs_trans_resv_calc libxfs_trans_resv_calc |
59 | ||
60 | #define xfs_attr_get libxfs_attr_get | |
61 | #define xfs_attr_set libxfs_attr_set | |
62 | #define xfs_attr_remove libxfs_attr_remove | |
63 | #define xfs_attr_leaf_newentsize libxfs_attr_leaf_newentsize | |
64 | ||
65 | #define xfs_alloc_fix_freelist libxfs_alloc_fix_freelist | |
e515cca1 DC |
66 | #define xfs_bmap_last_offset libxfs_bmap_last_offset |
67 | #define xfs_bmap_search_extents libxfs_bmap_search_extents | |
e515cca1 DC |
68 | #define xfs_bmapi_write libxfs_bmapi_write |
69 | #define xfs_bmapi_read libxfs_bmapi_read | |
70 | #define xfs_bunmapi libxfs_bunmapi | |
71 | #define xfs_bmbt_get_all libxfs_bmbt_get_all | |
72 | #define xfs_rtfree_extent libxfs_rtfree_extent | |
9542ae13 | 73 | #define xfs_zero_extent libxfs_zero_extent |
e515cca1 | 74 | |
6f530e9a DW |
75 | #define xfs_defer_init libxfs_defer_init |
76 | #define xfs_defer_finish libxfs_defer_finish | |
77 | #define xfs_defer_cancel libxfs_defer_cancel | |
78 | ||
e515cca1 DC |
79 | #define xfs_da_brelse libxfs_da_brelse |
80 | #define xfs_da_hashname libxfs_da_hashname | |
81 | #define xfs_da_shrink_inode libxfs_da_shrink_inode | |
82 | #define xfs_da_read_buf libxfs_da_read_buf | |
83 | #define xfs_dir_createname libxfs_dir_createname | |
84 | #define xfs_dir_init libxfs_dir_init | |
85 | #define xfs_dir_lookup libxfs_dir_lookup | |
86 | #define xfs_dir_replace libxfs_dir_replace | |
87 | #define xfs_dir2_isblock libxfs_dir2_isblock | |
88 | #define xfs_dir2_isleaf libxfs_dir2_isleaf | |
89 | #define __xfs_dir2_data_freescan libxfs_dir2_data_freescan | |
90 | #define xfs_dir2_data_log_entry libxfs_dir2_data_log_entry | |
91 | #define xfs_dir2_data_log_header libxfs_dir2_data_log_header | |
92 | #define xfs_dir2_data_make_free libxfs_dir2_data_make_free | |
93 | #define xfs_dir2_data_use_free libxfs_dir2_data_use_free | |
94 | #define xfs_dir2_shrink_inode libxfs_dir2_shrink_inode | |
95 | ||
1bc6cbe3 DC |
96 | #define xfs_inode_from_disk libxfs_inode_from_disk |
97 | #define xfs_inode_to_disk libxfs_inode_to_disk | |
e515cca1 DC |
98 | #define xfs_dinode_calc_crc libxfs_dinode_calc_crc |
99 | #define xfs_idata_realloc libxfs_idata_realloc | |
100 | #define xfs_idestroy_fork libxfs_idestroy_fork | |
101 | ||
86bb49e4 DW |
102 | #define xfs_rmap_query_range libxfs_rmap_query_range |
103 | ||
e515cca1 DC |
104 | #define xfs_log_sb libxfs_log_sb |
105 | #define xfs_sb_from_disk libxfs_sb_from_disk | |
106 | #define xfs_sb_quota_from_disk libxfs_sb_quota_from_disk | |
107 | #define xfs_sb_to_disk libxfs_sb_to_disk | |
108 | ||
109 | #define xfs_symlink_blocks libxfs_symlink_blocks | |
110 | #define xfs_symlink_hdr_ok libxfs_symlink_hdr_ok | |
111 | ||
112 | #define xfs_verify_cksum libxfs_verify_cksum | |
113 | ||
114 | #endif /* __LIBXFS_API_DEFS_H__ */ |