summaryrefslogtreecommitdiff
path: root/fs/incfs/pseudo_files.h
blob: 188721837253ffea1ebed5ccd8795c7a05e7c468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright 2020 Google LLC
 */

#ifndef _INCFS_PSEUDO_FILES_H
#define _INCFS_PSEUDO_FILES_H

#include "internal.h"

#define PSEUDO_FILE_COUNT 3
#define INCFS_START_INO_RANGE 10

extern const struct mem_range incfs_pseudo_file_names[PSEUDO_FILE_COUNT];
extern const unsigned long incfs_pseudo_file_inodes[PSEUDO_FILE_COUNT];

int dir_lookup_pseudo_files(struct super_block *sb, struct dentry *dentry);
int emit_pseudo_files(struct dir_context *ctx);

#endif