]> Git Repo - linux.git/blame - fs/proc/fd.h
page_alloc: use vmalloc_huge for large system hash
[linux.git] / fs / proc / fd.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
faf60af1
CG
2#ifndef __PROCFS_FD_H__
3#define __PROCFS_FD_H__
4
5#include <linux/fs.h>
6
7extern const struct file_operations proc_fd_operations;
8extern const struct inode_operations proc_fd_inode_operations;
9
10extern const struct file_operations proc_fdinfo_operations;
11extern const struct inode_operations proc_fdinfo_inode_operations;
12
549c7297
CB
13extern int proc_fd_permission(struct user_namespace *mnt_userns,
14 struct inode *inode, int mask);
faf60af1 15
771187d6 16static inline unsigned int proc_fd(struct inode *inode)
c3bef7bc
DH
17{
18 return PROC_I(inode)->fd;
19}
20
faf60af1 21#endif /* __PROCFS_FD_H__ */
This page took 0.587116 seconds and 4 git commands to generate.