Files
rk35xx-android14/external/ltp/include/libswap.h
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

25 lines
549 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved.
* Author: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
*/
/*
* Contains common content for all swapon/swapoff tests
*/
#ifndef __LIBSWAP_H__
#define __LIBSWAP_H__
/*
* Make a swap file
*/
int make_swapfile(const char *swapfile, int safe);
/*
* Check swapon/swapoff support status of filesystems or files
* we are testing on.
*/
void is_swap_supported(const char *filename);
#endif /* __LIBSWAP_H__ */