]>
Commit | Line | Data |
---|---|---|
2bd0ea18 | 1 | /* |
b74a1f6a | 2 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. |
da23017d | 3 | * All Rights Reserved. |
9440d84d | 4 | * |
da23017d NS |
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 | |
2bd0ea18 | 7 | * published by the Free Software Foundation. |
9440d84d | 8 | * |
da23017d NS |
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. | |
9440d84d | 13 | * |
da23017d NS |
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 | |
2bd0ea18 | 17 | */ |
9440d84d NS |
18 | #ifndef LIBXFS_INIT_H |
19 | #define LIBXFS_INIT_H | |
2bd0ea18 | 20 | |
9440d84d NS |
21 | struct stat64; |
22 | ||
93d9f139 | 23 | extern int platform_check_ismounted (char *path, char *block, |
9440d84d | 24 | struct stat64 *sptr, int verbose); |
93d9f139 | 25 | extern int platform_check_iswritable (char *path, char *block, |
9440d84d | 26 | struct stat64 *sptr, int fatal); |
f02037ce | 27 | extern void platform_findsizes (char *path, int fd, long long *sz, int *bsz); |
76956054 | 28 | extern void platform_set_blocksize (int fd, char *path, dev_t device, int bsz); |
ac419944 | 29 | extern void platform_flush_device (int fd, dev_t device); |
cb5b3ef4 | 30 | extern char *platform_findrawpath(char *path); |
b74a1f6a NS |
31 | extern char *platform_findrawpath (char *path); |
32 | extern char *platform_findblockpath (char *path); | |
33 | extern int platform_direct_blockdev (void); | |
34 | extern int platform_align_blockdev (void); | |
35 | extern int platform_aio_init (int aio_count); | |
36 | ||
9440d84d | 37 | #endif /* LIBXFS_INIT_H */ |