Linux 4.19.133
[linux/fpc-iii.git] / fs / nfs / nfs42.h
blob19ec38f85ce0724fb11e8d879c9688a12b3929d4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2014 Anna Schumaker <Anna.Schumaker@Netapp.com>
4 */
6 #ifndef __LINUX_FS_NFS_NFS4_2_H
7 #define __LINUX_FS_NFS_NFS4_2_H
9 /*
10 * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support
11 * more? Need to consider not to pre-alloc too much for a compound.
13 #define PNFS_LAYOUTSTATS_MAXDEV (4)
15 /* nfs4.2proc.c */
16 int nfs42_proc_allocate(struct file *, loff_t, loff_t);
17 ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t);
18 int nfs42_proc_deallocate(struct file *, loff_t, loff_t);
19 loff_t nfs42_proc_llseek(struct file *, loff_t, int);
20 int nfs42_proc_layoutstats_generic(struct nfs_server *,
21 struct nfs42_layoutstat_data *);
22 int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
24 #endif /* __LINUX_FS_NFS_NFS4_2_H */