• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * fs/hmdfs/stash.h
4  *
5  * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
6  */
7 
8 #ifndef HMDFS_STASH_H
9 #define HMDFS_STASH_H
10 
11 #include "hmdfs.h"
12 #include "hmdfs_client.h"
13 
14 extern void hmdfs_stash_add_node_evt_cb(void);
15 
16 extern void hmdfs_exit_stash(struct hmdfs_sb_info *sbi);
17 extern int hmdfs_init_stash(struct hmdfs_sb_info *sbi);
18 
19 extern int hmdfs_stash_writepage(struct hmdfs_peer *conn,
20 				 struct hmdfs_writepage_context *ctx);
21 
22 extern void hmdfs_remote_init_stash_status(struct hmdfs_peer *conn,
23 					   struct inode *inode, umode_t mode);
24 
25 #endif
26