Lines Matching defs:mntinfo4
951 typedef struct mntinfo4 { struct
952 kmutex_t mi_lock; /* protects mntinfo4 fields */ argument
953 struct servinfo4 *mi_servers; /* server list */
954 struct servinfo4 *mi_curr_serv; /* current server */
955 struct nfs4_sharedfh *mi_rootfh; /* root filehandle */
956 struct nfs4_sharedfh *mi_srvparentfh; /* root's parent on server */
957 kcondvar_t mi_failover_cv; /* failover synchronization */
958 struct vfs *mi_vfsp; /* back pointer to vfs */
959 enum vtype mi_type; /* file type of the root vnode */
960 uint_t mi_flags; /* see below */
961 uint_t mi_recovflags; /* if recovery active; see below */
962 kthread_t *mi_recovthread; /* active recov thread or NULL */
963 uint_t mi_error; /* only set/valid when MI4_RECOV_FAIL */
965 int mi_tsize; /* transfer size (bytes) */
967 int mi_stsize; /* server's max transfer size (bytes) */
969 int mi_timeo; /* inital timeout in 10th sec */
970 int mi_retrans; /* times to retry request */
971 hrtime_t mi_acregmin; /* min time to hold cached file attr */
972 hrtime_t mi_acregmax; /* max time to hold cached file attr */
973 hrtime_t mi_acdirmin; /* min time to hold cached dir attr */
974 hrtime_t mi_acdirmax; /* max time to hold cached dir attr */
975 len_t mi_maxfilesize; /* for pathconf _PC_FILESIZEBITS */
976 int mi_curread; /* current read size */
977 int mi_curwrite; /* current write size */
978 uint_t mi_count; /* ref count */
998 struct nfs4_async_reqs *mi_async_reqs[NFS4_ASYNC_TYPES];
999 struct nfs4_async_reqs *mi_async_tail[NFS4_ASYNC_TYPES];
1000 struct nfs4_async_reqs **mi_async_curr[NFS4_MAX_ASYNC_QUEUES];
1002 uint_t mi_async_clusters[NFS4_ASYNC_TYPES];
1003 uint_t mi_async_init_clusters;
1004 uint_t mi_async_req_count; /* # outstanding work requests */
1005 kcondvar_t mi_async_reqs_cv; /* signaled when there's work */
1006 ushort_t mi_threads[NFS4_MAX_ASYNC_QUEUES];
1008 ushort_t mi_max_threads; /* max number of async threads */
1009 kthread_t *mi_manager_thread; /* async manager thread id */
1010 kthread_t *mi_inactive_thread; /* inactive thread id */
1011 kcondvar_t mi_inact_req_cv; /* notify VOP_INACTIVE thread */
1012 kcondvar_t mi_async_work_cv[NFS4_MAX_ASYNC_QUEUES];
1014 kcondvar_t mi_async_cv; /* all pool threads exited */
1015 kmutex_t mi_async_lock;
1019 struct pathcnf *mi_pathconf; /* static pathconf kludge */
1020 rpcprog_t mi_prog; /* RPC program number */
1021 rpcvers_t mi_vers; /* RPC program version number */
1022 char **mi_rfsnames; /* mapping to proc names */
1023 kstat_named_t *mi_reqs; /* count of requests */
1024 clock_t mi_printftime; /* last error printf time */
1025 nfs_rwlock_t mi_recovlock; /* separate ops from recovery (v4) */
1026 time_t mi_grace_wait; /* non-zero represents time to wait */
1028 time_t mi_srvsettime;
1029 nfs_rwlock_t mi_rename_lock; /* atomic volfh rename */
1053 struct mntinfo4 *mi_clientid_next; argument
1054 struct mntinfo4 *mi_clientid_prev; argument
1055 clientid4 mi_clientid; /* redundant info found in nfs4_server */
1056 int mi_open_files; /* count of open files */
1057 int mi_in_recovery; /* count of recovery instances */
1058 kcondvar_t mi_cv_in_recov; /* cv for recovery threads */
1062 struct nfs4_oo_hash_bucket mi_oo_list[NFS4_NUM_OO_BUCKETS];
1063 list_t mi_foo_list;
1064 int mi_foo_num;
1065 int mi_foo_max;
1069 nfs_rwlock_t mi_fh_lock;
1070 avl_tree_t mi_filehandles;
1075 list_t mi_msg_list;
1076 int mi_msg_count;
1077 time_t mi_lease_period;
1103 * List of rnode4_t structures that belongs to this mntinfo4 argument
1107 } mntinfo4_t; argument