internal.h (bd0d10498826ed150da5e4c45baf8b9c7088fb71) | internal.h (6296556f0b31eaff29f2a3aee2c17b7eae895b98) |
---|---|
1/* 2 * NFS internal definitions 3 */ 4 5#include "nfs4_fs.h" 6#include <linux/mount.h> 7#include <linux/security.h> 8 --- 87 unchanged lines hidden (view full) --- 96 struct net *net; 97}; 98 99/* 100 * In-kernel mount arguments 101 */ 102struct nfs_parsed_mount_data { 103 int flags; | 1/* 2 * NFS internal definitions 3 */ 4 5#include "nfs4_fs.h" 6#include <linux/mount.h> 7#include <linux/security.h> 8 --- 87 unchanged lines hidden (view full) --- 96 struct net *net; 97}; 98 99/* 100 * In-kernel mount arguments 101 */ 102struct nfs_parsed_mount_data { 103 int flags; |
104 int rsize, wsize; 105 int timeo, retrans; 106 int acregmin, acregmax, | 104 unsigned int rsize, wsize; 105 unsigned int timeo, retrans; 106 unsigned int acregmin, acregmax, |
107 acdirmin, acdirmax; | 107 acdirmin, acdirmax; |
108 int namlen; | 108 unsigned int namlen; |
109 unsigned int options; 110 unsigned int bsize; 111 unsigned int auth_flavor_len; 112 rpc_authflavor_t auth_flavors[1]; 113 char *client_address; 114 unsigned int version; 115 unsigned int minorversion; 116 char *fscache_uniq; --- 342 unchanged lines hidden (view full) --- 459 460/* direct.c */ 461void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, 462 struct nfs_direct_req *dreq); 463static inline void nfs_inode_dio_wait(struct inode *inode) 464{ 465 inode_dio_wait(inode); 466} | 109 unsigned int options; 110 unsigned int bsize; 111 unsigned int auth_flavor_len; 112 rpc_authflavor_t auth_flavors[1]; 113 char *client_address; 114 unsigned int version; 115 unsigned int minorversion; 116 char *fscache_uniq; --- 342 unchanged lines hidden (view full) --- 459 460/* direct.c */ 461void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, 462 struct nfs_direct_req *dreq); 463static inline void nfs_inode_dio_wait(struct inode *inode) 464{ 465 inode_dio_wait(inode); 466} |
467extern ssize_t nfs_dreq_bytes_left(struct nfs_direct_req *dreq); |
|
467 468/* nfs4proc.c */ 469extern void __nfs4_read_done_cb(struct nfs_read_data *); 470extern struct nfs_client *nfs4_init_client(struct nfs_client *clp, 471 const struct rpc_timeout *timeparms, 472 const char *ip_addr, 473 rpc_authflavor_t authflavour); 474extern int _nfs4_call_sync(struct rpc_clnt *clnt, 475 struct nfs_server *server, 476 struct rpc_message *msg, 477 struct nfs4_sequence_args *args, 478 struct nfs4_sequence_res *res, 479 int cache_reply); 480extern int _nfs4_call_sync_session(struct rpc_clnt *clnt, 481 struct nfs_server *server, 482 struct rpc_message *msg, 483 struct nfs4_sequence_args *args, 484 struct nfs4_sequence_res *res, 485 int cache_reply); | 468 469/* nfs4proc.c */ 470extern void __nfs4_read_done_cb(struct nfs_read_data *); 471extern struct nfs_client *nfs4_init_client(struct nfs_client *clp, 472 const struct rpc_timeout *timeparms, 473 const char *ip_addr, 474 rpc_authflavor_t authflavour); 475extern int _nfs4_call_sync(struct rpc_clnt *clnt, 476 struct nfs_server *server, 477 struct rpc_message *msg, 478 struct nfs4_sequence_args *args, 479 struct nfs4_sequence_res *res, 480 int cache_reply); 481extern int _nfs4_call_sync_session(struct rpc_clnt *clnt, 482 struct nfs_server *server, 483 struct rpc_message *msg, 484 struct nfs4_sequence_args *args, 485 struct nfs4_sequence_res *res, 486 int cache_reply); |
487extern int nfs40_walk_client_list(struct nfs_client *clp, 488 struct nfs_client **result, 489 struct rpc_cred *cred); 490extern int nfs41_walk_client_list(struct nfs_client *clp, 491 struct nfs_client **result, 492 struct rpc_cred *cred); |
|
486 487/* 488 * Determine the device name as a string 489 */ 490static inline char *nfs_devname(struct dentry *dentry, 491 char *buffer, ssize_t buflen) 492{ 493 char *dummy; --- 108 unchanged lines hidden --- | 493 494/* 495 * Determine the device name as a string 496 */ 497static inline char *nfs_devname(struct dentry *dentry, 498 char *buffer, ssize_t buflen) 499{ 500 char *dummy; --- 108 unchanged lines hidden --- |