Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3)  * linux/fs/nfs/callback.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  * Copyright (C) 2004 Trond Myklebust
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7)  * NFSv4 callback definitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) #ifndef __LINUX_FS_NFS_CALLBACK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) #define __LINUX_FS_NFS_CALLBACK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) #include <linux/sunrpc/svc.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) #define NFS4_CALLBACK 0x40000000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) #define NFS4_CALLBACK_XDRSIZE 2048
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) #define NFS4_CALLBACK_BUFSIZE (1024 + NFS4_CALLBACK_XDRSIZE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) enum nfs4_callback_procnum {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	CB_NULL = 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	CB_COMPOUND = 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) enum nfs4_callback_opnum {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	OP_CB_GETATTR = 3,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	OP_CB_RECALL  = 4,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) /* Callback operations new to NFSv4.1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	OP_CB_LAYOUTRECALL  = 5,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	OP_CB_NOTIFY        = 6,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	OP_CB_PUSH_DELEG    = 7,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	OP_CB_RECALL_ANY    = 8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	OP_CB_RECALLABLE_OBJ_AVAIL = 9,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	OP_CB_RECALL_SLOT   = 10,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	OP_CB_SEQUENCE      = 11,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	OP_CB_WANTS_CANCELLED = 12,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	OP_CB_NOTIFY_LOCK   = 13,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	OP_CB_NOTIFY_DEVICEID = 14,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) /* Callback operations new to NFSv4.2 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	OP_CB_OFFLOAD = 15,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	OP_CB_ILLEGAL = 10044,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) struct nfs4_slot;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) struct cb_process_state {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	__be32			drc_status;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	struct nfs_client	*clp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	struct nfs4_slot	*slot;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	u32			minorversion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	struct net		*net;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) struct cb_compound_hdr_arg {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	unsigned int taglen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	const char *tag;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	unsigned int minorversion;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	unsigned int cb_ident; /* v4.0 callback identifier */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	unsigned nops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) struct cb_compound_hdr_res {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	__be32 *status;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	unsigned int taglen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	const char *tag;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 	__be32 *nops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) struct cb_getattrargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	struct nfs_fh fh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	uint32_t bitmap[2];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) struct cb_getattrres {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	__be32 status;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 	uint32_t bitmap[2];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	uint64_t size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	uint64_t change_attr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	struct timespec64 ctime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	struct timespec64 mtime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) struct cb_recallargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	struct nfs_fh fh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	nfs4_stateid stateid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	uint32_t truncate;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) #if defined(CONFIG_NFS_V4_1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) struct referring_call {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	uint32_t			rc_sequenceid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	uint32_t			rc_slotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) struct referring_call_list {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	struct nfs4_sessionid		rcl_sessionid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	uint32_t			rcl_nrefcalls;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	struct referring_call 		*rcl_refcalls;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) struct cb_sequenceargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	struct sockaddr			*csa_addr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	struct nfs4_sessionid		csa_sessionid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	uint32_t			csa_sequenceid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	uint32_t			csa_slotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	uint32_t			csa_highestslotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	uint32_t			csa_cachethis;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	uint32_t			csa_nrclists;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	struct referring_call_list	*csa_rclists;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) struct cb_sequenceres {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	__be32				csr_status;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	struct nfs4_sessionid		csr_sessionid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	uint32_t			csr_sequenceid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	uint32_t			csr_slotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	uint32_t			csr_highestslotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	uint32_t			csr_target_highestslotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) extern __be32 nfs4_callback_sequence(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 				       struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) #define RCA4_TYPE_MASK_RDATA_DLG	0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) #define RCA4_TYPE_MASK_WDATA_DLG	1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) #define RCA4_TYPE_MASK_DIR_DLG         2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) #define RCA4_TYPE_MASK_FILE_LAYOUT     3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) #define RCA4_TYPE_MASK_BLK_LAYOUT      4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) #define RCA4_TYPE_MASK_OBJ_LAYOUT_MIN  8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) #define RCA4_TYPE_MASK_OBJ_LAYOUT_MAX  9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) #define RCA4_TYPE_MASK_OTHER_LAYOUT_MIN 12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) #define RCA4_TYPE_MASK_OTHER_LAYOUT_MAX 15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) #define PNFS_FF_RCA4_TYPE_MASK_READ 16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) #define PNFS_FF_RCA4_TYPE_MASK_RW 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) #define RCA4_TYPE_MASK_ALL 0x3f31f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) struct cb_recallanyargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	uint32_t	craa_objs_to_keep;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	uint32_t	craa_type_mask;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) extern __be32 nfs4_callback_recallany(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 					struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) struct cb_recallslotargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	uint32_t	crsa_target_highest_slotid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) extern __be32 nfs4_callback_recallslot(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 					 struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) struct cb_layoutrecallargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 	uint32_t		cbl_recall_type;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 	uint32_t		cbl_layout_type;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	uint32_t		cbl_layoutchanged;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	union {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 		struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 			struct nfs_fh		cbl_fh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 			struct pnfs_layout_range cbl_range;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 			nfs4_stateid		cbl_stateid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 		struct nfs_fsid		cbl_fsid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) extern __be32 nfs4_callback_layoutrecall(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 		struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) struct cb_devicenotifyitem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	uint32_t		cbd_notify_type;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	uint32_t		cbd_layout_type;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	struct nfs4_deviceid	cbd_dev_id;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	uint32_t		cbd_immediate;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) struct cb_devicenotifyargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	uint32_t			 ndevs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	struct cb_devicenotifyitem	 *devs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) extern __be32 nfs4_callback_devicenotify(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 		struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) struct cb_notify_lock_args {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	struct nfs_fh			cbnl_fh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	struct nfs_lowner		cbnl_owner;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	bool				cbnl_valid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) extern __be32 nfs4_callback_notify_lock(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 					 struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) #endif /* CONFIG_NFS_V4_1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) #ifdef CONFIG_NFS_V4_2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) struct cb_offloadargs {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 	struct nfs_fh		coa_fh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 	nfs4_stateid		coa_stateid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	uint32_t		error;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	uint64_t		wr_count;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	struct nfs_writeverf	wr_writeverf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) extern __be32 nfs4_callback_offload(void *args, void *dummy,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 				    struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) #endif /* CONFIG_NFS_V4_2 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) extern __be32 nfs4_callback_getattr(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 				    struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) extern __be32 nfs4_callback_recall(void *argp, void *resp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 				   struct cb_process_state *cps);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) #if IS_ENABLED(CONFIG_NFS_V4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) extern int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) extern void nfs_callback_down(int minorversion, struct net *net);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) #endif /* CONFIG_NFS_V4 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211)  * nfs41: Callbacks are expected to not cause substantial latency,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)  * so we limit their concurrency to 1 by setting up the maximum number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)  * of slots for the backchannel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) #define NFS41_BC_MIN_CALLBACKS 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) #define NFS41_BC_MAX_CALLBACKS 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) #define NFS4_MIN_NR_CALLBACK_THREADS 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) extern unsigned int nfs_callback_set_tcpport;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) extern unsigned short nfs_callback_nr_threads;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) #endif /* __LINUX_FS_NFS_CALLBACK_H */