]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2bd0ea18 | 2 | /* |
b74a1f6a | 3 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. |
da23017d | 4 | * All Rights Reserved. |
2bd0ea18 | 5 | */ |
9440d84d NS |
6 | #ifndef LIBXFS_INIT_H |
7 | #define LIBXFS_INIT_H | |
2bd0ea18 | 8 | |
f594a0d1 | 9 | struct stat; |
9440d84d | 10 | |
93d9f139 | 11 | extern int platform_check_ismounted (char *path, char *block, |
f594a0d1 FJ |
12 | struct stat *sptr, int verbose); |
13 | extern int platform_check_iswritable (char *path, char *block, struct stat *sptr); | |
edd45774 | 14 | extern int platform_set_blocksize (int fd, char *path, dev_t device, int bsz, int fatal); |
ac419944 | 15 | extern void platform_flush_device (int fd, dev_t device); |
cb5b3ef4 | 16 | extern char *platform_findrawpath(char *path); |
b74a1f6a NS |
17 | extern char *platform_findrawpath (char *path); |
18 | extern char *platform_findblockpath (char *path); | |
19 | extern int platform_direct_blockdev (void); | |
20 | extern int platform_align_blockdev (void); | |
2556c98b | 21 | extern unsigned long platform_physmem(void); /* in kilobytes */ |
e321f629 | 22 | extern int platform_has_uuid; |
b74a1f6a | 23 | |
9440d84d | 24 | #endif /* LIBXFS_INIT_H */ |