blob: 188721837253ffea1ebed5ccd8795c7a05e7c468 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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
14extern const struct mem_range incfs_pseudo_file_names[PSEUDO_FILE_COUNT];
15extern const unsigned long incfs_pseudo_file_inodes[PSEUDO_FILE_COUNT];
16
17int dir_lookup_pseudo_files(struct super_block *sb, struct dentry *dentry);
18int emit_pseudo_files(struct dir_context *ctx);
19
20#endif