aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sunrpc_syms.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /net/sunrpc/sunrpc_syms.c
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r--net/sunrpc/sunrpc_syms.c185
1 files changed, 185 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
new file mode 100644
index 00000000000..d4f26bf9e73
--- /dev/null
+++ b/net/sunrpc/sunrpc_syms.c
@@ -0,0 +1,185 @@
1/*
2 * linux/net/sunrpc/sunrpc_syms.c
3 *
4 * Symbols exported by the sunrpc module.
5 *
6 * Copyright (C) 1997 Olaf Kirch <okir@monad.swb.de>
7 */
8
9#include <linux/config.h>
10#include <linux/module.h>
11
12#include <linux/types.h>
13#include <linux/socket.h>
14#include <linux/sched.h>
15#include <linux/uio.h>
16#include <linux/unistd.h>
17#include <linux/init.h>
18
19#include <linux/sunrpc/sched.h>
20#include <linux/sunrpc/clnt.h>
21#include <linux/sunrpc/svc.h>
22#include <linux/sunrpc/svcsock.h>
23#include <linux/sunrpc/auth.h>
24#include <linux/workqueue.h>
25#include <linux/sunrpc/rpc_pipe_fs.h>
26
27
28/* RPC scheduler */
29EXPORT_SYMBOL(rpc_execute);
30EXPORT_SYMBOL(rpc_init_task);
31EXPORT_SYMBOL(rpc_sleep_on);
32EXPORT_SYMBOL(rpc_wake_up_next);
33EXPORT_SYMBOL(rpc_wake_up_task);
34EXPORT_SYMBOL(rpc_new_child);
35EXPORT_SYMBOL(rpc_run_child);
36EXPORT_SYMBOL(rpciod_down);
37EXPORT_SYMBOL(rpciod_up);
38EXPORT_SYMBOL(rpc_new_task);
39EXPORT_SYMBOL(rpc_wake_up_status);
40EXPORT_SYMBOL(rpc_release_task);
41
42/* RPC client functions */
43EXPORT_SYMBOL(rpc_create_client);
44EXPORT_SYMBOL(rpc_clone_client);
45EXPORT_SYMBOL(rpc_destroy_client);
46EXPORT_SYMBOL(rpc_shutdown_client);
47EXPORT_SYMBOL(rpc_release_client);
48EXPORT_SYMBOL(rpc_killall_tasks);
49EXPORT_SYMBOL(rpc_call_sync);
50EXPORT_SYMBOL(rpc_call_async);
51EXPORT_SYMBOL(rpc_call_setup);
52EXPORT_SYMBOL(rpc_clnt_sigmask);
53EXPORT_SYMBOL(rpc_clnt_sigunmask);
54EXPORT_SYMBOL(rpc_delay);
55EXPORT_SYMBOL(rpc_restart_call);
56EXPORT_SYMBOL(rpc_setbufsize);
57EXPORT_SYMBOL(rpc_unlink);
58EXPORT_SYMBOL(rpc_wake_up);
59EXPORT_SYMBOL(rpc_queue_upcall);
60EXPORT_SYMBOL(rpc_mkpipe);
61
62/* Client transport */
63EXPORT_SYMBOL(xprt_create_proto);
64EXPORT_SYMBOL(xprt_destroy);
65EXPORT_SYMBOL(xprt_set_timeout);
66EXPORT_SYMBOL(xprt_udp_slot_table_entries);
67EXPORT_SYMBOL(xprt_tcp_slot_table_entries);
68
69/* Client credential cache */
70EXPORT_SYMBOL(rpcauth_register);
71EXPORT_SYMBOL(rpcauth_unregister);
72EXPORT_SYMBOL(rpcauth_create);
73EXPORT_SYMBOL(rpcauth_lookupcred);
74EXPORT_SYMBOL(rpcauth_lookup_credcache);
75EXPORT_SYMBOL(rpcauth_free_credcache);
76EXPORT_SYMBOL(rpcauth_init_credcache);
77EXPORT_SYMBOL(put_rpccred);
78
79/* RPC server stuff */
80EXPORT_SYMBOL(svc_create);
81EXPORT_SYMBOL(svc_create_thread);
82EXPORT_SYMBOL(svc_exit_thread);
83EXPORT_SYMBOL(svc_destroy);
84EXPORT_SYMBOL(svc_drop);
85EXPORT_SYMBOL(svc_process);
86EXPORT_SYMBOL(svc_recv);
87EXPORT_SYMBOL(svc_wake_up);
88EXPORT_SYMBOL(svc_makesock);
89EXPORT_SYMBOL(svc_reserve);
90EXPORT_SYMBOL(svc_auth_register);
91EXPORT_SYMBOL(auth_domain_lookup);
92EXPORT_SYMBOL(svc_authenticate);
93EXPORT_SYMBOL(svc_set_client);
94
95/* RPC statistics */
96#ifdef CONFIG_PROC_FS
97EXPORT_SYMBOL(rpc_proc_register);
98EXPORT_SYMBOL(rpc_proc_unregister);
99EXPORT_SYMBOL(svc_proc_register);
100EXPORT_SYMBOL(svc_proc_unregister);
101EXPORT_SYMBOL(svc_seq_show);
102#endif
103
104/* caching... */
105EXPORT_SYMBOL(auth_domain_find);
106EXPORT_SYMBOL(auth_domain_put);
107EXPORT_SYMBOL(auth_unix_add_addr);
108EXPORT_SYMBOL(auth_unix_forget_old);
109EXPORT_SYMBOL(auth_unix_lookup);
110EXPORT_SYMBOL(cache_check);
111EXPORT_SYMBOL(cache_flush);
112EXPORT_SYMBOL(cache_purge);
113EXPORT_SYMBOL(cache_fresh);
114EXPORT_SYMBOL(cache_init);
115EXPORT_SYMBOL(cache_register);
116EXPORT_SYMBOL(cache_unregister);
117EXPORT_SYMBOL(qword_add);
118EXPORT_SYMBOL(qword_addhex);
119EXPORT_SYMBOL(qword_get);
120EXPORT_SYMBOL(svcauth_unix_purge);
121EXPORT_SYMBOL(unix_domain_find);
122
123/* Generic XDR */
124EXPORT_SYMBOL(xdr_encode_string);
125EXPORT_SYMBOL(xdr_decode_string);
126EXPORT_SYMBOL(xdr_decode_string_inplace);
127EXPORT_SYMBOL(xdr_decode_netobj);
128EXPORT_SYMBOL(xdr_encode_netobj);
129EXPORT_SYMBOL(xdr_encode_pages);
130EXPORT_SYMBOL(xdr_inline_pages);
131EXPORT_SYMBOL(xdr_shift_buf);
132EXPORT_SYMBOL(xdr_buf_from_iov);
133EXPORT_SYMBOL(xdr_buf_subsegment);
134EXPORT_SYMBOL(xdr_buf_read_netobj);
135EXPORT_SYMBOL(read_bytes_from_xdr_buf);
136
137/* Debugging symbols */
138#ifdef RPC_DEBUG
139EXPORT_SYMBOL(rpc_debug);
140EXPORT_SYMBOL(nfs_debug);
141EXPORT_SYMBOL(nfsd_debug);
142EXPORT_SYMBOL(nlm_debug);
143#endif
144
145extern int register_rpc_pipefs(void);
146extern void unregister_rpc_pipefs(void);
147
148static int __init
149init_sunrpc(void)
150{
151 int err = register_rpc_pipefs();
152 if (err)
153 goto out;
154 err = rpc_init_mempool() != 0;
155 if (err)
156 goto out;
157#ifdef RPC_DEBUG
158 rpc_register_sysctl();
159#endif
160#ifdef CONFIG_PROC_FS
161 rpc_proc_init();
162#endif
163 cache_register(&auth_domain_cache);
164 cache_register(&ip_map_cache);
165out:
166 return err;
167}
168
169static void __exit
170cleanup_sunrpc(void)
171{
172 unregister_rpc_pipefs();
173 rpc_destroy_mempool();
174 cache_unregister(&auth_domain_cache);
175 cache_unregister(&ip_map_cache);
176#ifdef RPC_DEBUG
177 rpc_unregister_sysctl();
178#endif
179#ifdef CONFIG_PROC_FS
180 rpc_proc_exit();
181#endif
182}
183MODULE_LICENSE("GPL");
184module_init(init_sunrpc);
185module_exit(cleanup_sunrpc);