computing-offload/qtfs/include/qtfs_check.h
Yikun Jiang a68570b5d9 Add computing offloading code
1. Add computing offloading code
2. Add script.md
3. Add virsh_demo.xml

Change-Id: Id9ef883e2f0eb727eb5448b9d1c47767f46b1021
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
2023-10-23 19:29:57 +08:00

60 lines
1.8 KiB
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2023. Huawei Technologies Co., Ltd. All rights reserved.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will 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.
*/
#ifndef __QTFS_CHECK_H__
#define __QTFS_CHECK_H__
#include "req.h"
enum {
QTFS_CHECK_OK,
QTFS_CHECK_ERR,
};
int req_check_none(void *in);
int req_check_mount(void *in);
int req_check_open(void *in);
int req_check_close(void *in);
int req_check_readiter(void *in);
int req_check_write(void *in);
int req_check_lookup(void *in);
int req_check_readdir(void *in);
int req_check_mkdir(void *in);
int req_check_rmdir(void *in);
int req_check_getattr(void *in);
int req_check_setattr(void *in);
int req_check_icreate(void *in);
int req_check_mknod(void *in);
int req_check_unlink(void *in);
int req_check_symlink(void *in);
int req_check_link(void *in);
int req_check_getlink(void *in);
int req_check_readlink(void *in);
int req_check_rename(void *in);
int req_check_xattrlist(void *in);
int req_check_xattrget(void *in);
int req_check_xattrset(void *in);
int req_check_sysmount(void *in);
int req_check_sysumount(void *in);
int req_check_fifopoll(void *in);
int req_check_statfs(void *in);
int req_check_ioctl(void *in);
int req_check_epoll_ctl(void *in);
int req_check_llseek(void *in);
int req_check_sc_kill(void *in);
int req_check_sc_sched_getaffinity(void *in);
int req_check_sc_sched_setaffinity(void *in);
#endif