xprt.c (bd1722d4316e42a12fe6337ebe34d7e1e2c088b2) | xprt.c (e204e621b4160c802315bc2d0fa335337c0d62e8) |
---|---|
1/* 2 * linux/net/sunrpc/xprt.c 3 * 4 * This is a generic RPC call interface supporting congestion avoidance, 5 * and asynchronous calls. 6 * 7 * The interface works like this: 8 * --- 970 unchanged lines hidden (view full) --- 979 980out_free: 981 kfree(xprt); 982out: 983 return NULL; 984} 985EXPORT_SYMBOL_GPL(xprt_alloc); 986 | 1/* 2 * linux/net/sunrpc/xprt.c 3 * 4 * This is a generic RPC call interface supporting congestion avoidance, 5 * and asynchronous calls. 6 * 7 * The interface works like this: 8 * --- 970 unchanged lines hidden (view full) --- 979 980out_free: 981 kfree(xprt); 982out: 983 return NULL; 984} 985EXPORT_SYMBOL_GPL(xprt_alloc); 986 |
987void xprt_free(struct rpc_xprt *xprt) 988{ 989 kfree(xprt->slot); 990 kfree(xprt); 991} 992EXPORT_SYMBOL_GPL(xprt_free); 993 |
|
987/** 988 * xprt_reserve - allocate an RPC request slot 989 * @task: RPC task requesting a slot allocation 990 * 991 * If no more slots are available, place the task on the transport's 992 * backlog queue. 993 */ 994void xprt_reserve(struct rpc_task *task) --- 188 unchanged lines hidden --- | 994/** 995 * xprt_reserve - allocate an RPC request slot 996 * @task: RPC task requesting a slot allocation 997 * 998 * If no more slots are available, place the task on the transport's 999 * backlog queue. 1000 */ 1001void xprt_reserve(struct rpc_task *task) --- 188 unchanged lines hidden --- |