| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
 | 2 | /* | 
 | 3 |  * Copyright 2020 Google LLC | 
 | 4 |  */ | 
 | 5 |  | 
 | 6 | #ifndef _INCFS_PSEUDO_FILES_H | 
 | 7 | #define _INCFS_PSEUDO_FILES_H | 
 | 8 |  | 
 | 9 | #include "internal.h" | 
 | 10 |  | 
 | 11 | #define PSEUDO_FILE_COUNT 3 | 
 | 12 | #define INCFS_START_INO_RANGE 10 | 
 | 13 |  | 
 | 14 | extern const struct mem_range incfs_pseudo_file_names[PSEUDO_FILE_COUNT]; | 
 | 15 | extern const unsigned long incfs_pseudo_file_inodes[PSEUDO_FILE_COUNT]; | 
 | 16 |  | 
 | 17 | int dir_lookup_pseudo_files(struct super_block *sb, struct dentry *dentry); | 
 | 18 | int emit_pseudo_files(struct dir_context *ctx); | 
 | 19 |  | 
 | 20 | #endif |