Changeset View
Changeset View
Standalone View
Standalone View
sys/rpc/svc.h
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | |||||
struct __rpc_svcthread; | struct __rpc_svcthread; | ||||
#endif | #endif | ||||
/* | /* | ||||
* Server side transport handle. In the kernel, transports have a | * Server side transport handle. In the kernel, transports have a | ||||
* reference count which tracks the number of currently assigned | * reference count which tracks the number of currently assigned | ||||
* worker threads plus one for the service pool's reference. | * worker threads plus one for the service pool's reference. | ||||
* For NFSv4.1 sessions, a reference is also held for a backchannel. | * For NFSv4.1 sessions, a reference is also held for a backchannel. | ||||
* xp_p2 - Points to the CLIENT structure for the RPC server end | |||||
* (the client end for callbacks). | |||||
* Points to the private structure (cl_private) for the | |||||
* CLIENT structure for the RPC client end (the server | |||||
* end for callbacks). | |||||
*/ | */ | ||||
typedef struct __rpc_svcxprt { | typedef struct __rpc_svcxprt { | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
volatile u_int xp_refs; | volatile u_int xp_refs; | ||||
struct sx xp_lock; | struct sx xp_lock; | ||||
struct __rpc_svcpool *xp_pool; /* owning pool (see below) */ | struct __rpc_svcpool *xp_pool; /* owning pool (see below) */ | ||||
struct __rpc_svcgroup *xp_group; /* owning group (see below) */ | struct __rpc_svcgroup *xp_group; /* owning group (see below) */ | ||||
TAILQ_ENTRY(__rpc_svcxprt) xp_link; | TAILQ_ENTRY(__rpc_svcxprt) xp_link; | ||||
▲ Show 20 Lines • Show All 761 Lines • Show Last 20 Lines |