pseudo_files.h 501 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright 2020 Google LLC
  4. */
  5. #ifndef _INCFS_PSEUDO_FILES_H
  6. #define _INCFS_PSEUDO_FILES_H
  7. #include "internal.h"
  8. #define PSEUDO_FILE_COUNT 3
  9. #define INCFS_START_INO_RANGE 10
  10. extern const struct mem_range incfs_pseudo_file_names[PSEUDO_FILE_COUNT];
  11. extern const unsigned long incfs_pseudo_file_inodes[PSEUDO_FILE_COUNT];
  12. int dir_lookup_pseudo_files(struct super_block *sb, struct dentry *dentry);
  13. int emit_pseudo_files(struct dir_context *ctx);
  14. #endif