• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright 2021 Google LLC
4  */
5 #ifndef _INCFS_SYSFS_H
6 #define _INCFS_SYSFS_H
7 
8 struct incfs_sysfs_node {
9 	struct kobject isn_sysfs_node;
10 
11 	struct completion isn_completion;
12 
13 	struct mount_info *isn_mi;
14 };
15 
16 int incfs_init_sysfs(void);
17 void incfs_cleanup_sysfs(void);
18 struct incfs_sysfs_node *incfs_add_sysfs_node(const char *name,
19 					      struct mount_info *mi);
20 void incfs_free_sysfs_node(struct incfs_sysfs_node *node);
21 
22 #endif
23