Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.16-rc2 185 lines 4.7 kB view raw
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/sched.h> 14#include <linux/uio.h> 15#include <linux/unistd.h> 16#include <linux/init.h> 17 18#include <linux/sunrpc/sched.h> 19#include <linux/sunrpc/clnt.h> 20#include <linux/sunrpc/svc.h> 21#include <linux/sunrpc/svcsock.h> 22#include <linux/sunrpc/auth.h> 23#include <linux/workqueue.h> 24#include <linux/sunrpc/rpc_pipe_fs.h> 25 26 27/* RPC scheduler */ 28EXPORT_SYMBOL(rpc_execute); 29EXPORT_SYMBOL(rpc_init_task); 30EXPORT_SYMBOL(rpc_sleep_on); 31EXPORT_SYMBOL(rpc_wake_up_next); 32EXPORT_SYMBOL(rpc_wake_up_task); 33EXPORT_SYMBOL(rpciod_down); 34EXPORT_SYMBOL(rpciod_up); 35EXPORT_SYMBOL(rpc_new_task); 36EXPORT_SYMBOL(rpc_wake_up_status); 37EXPORT_SYMBOL(rpc_release_task); 38 39/* RPC client functions */ 40EXPORT_SYMBOL(rpc_create_client); 41EXPORT_SYMBOL(rpc_new_client); 42EXPORT_SYMBOL(rpc_clone_client); 43EXPORT_SYMBOL(rpc_bind_new_program); 44EXPORT_SYMBOL(rpc_destroy_client); 45EXPORT_SYMBOL(rpc_shutdown_client); 46EXPORT_SYMBOL(rpc_killall_tasks); 47EXPORT_SYMBOL(rpc_call_sync); 48EXPORT_SYMBOL(rpc_call_async); 49EXPORT_SYMBOL(rpc_call_setup); 50EXPORT_SYMBOL(rpc_clnt_sigmask); 51EXPORT_SYMBOL(rpc_clnt_sigunmask); 52EXPORT_SYMBOL(rpc_delay); 53EXPORT_SYMBOL(rpc_restart_call); 54EXPORT_SYMBOL(rpc_setbufsize); 55EXPORT_SYMBOL(rpc_unlink); 56EXPORT_SYMBOL(rpc_wake_up); 57EXPORT_SYMBOL(rpc_queue_upcall); 58EXPORT_SYMBOL(rpc_mkpipe); 59 60/* Client transport */ 61EXPORT_SYMBOL(xprt_create_proto); 62EXPORT_SYMBOL(xprt_set_timeout); 63 64/* Client credential cache */ 65EXPORT_SYMBOL(rpcauth_register); 66EXPORT_SYMBOL(rpcauth_unregister); 67EXPORT_SYMBOL(rpcauth_create); 68EXPORT_SYMBOL(rpcauth_lookupcred); 69EXPORT_SYMBOL(rpcauth_lookup_credcache); 70EXPORT_SYMBOL(rpcauth_free_credcache); 71EXPORT_SYMBOL(rpcauth_init_credcache); 72EXPORT_SYMBOL(put_rpccred); 73 74/* RPC server stuff */ 75EXPORT_SYMBOL(svc_create); 76EXPORT_SYMBOL(svc_create_thread); 77EXPORT_SYMBOL(svc_exit_thread); 78EXPORT_SYMBOL(svc_destroy); 79EXPORT_SYMBOL(svc_drop); 80EXPORT_SYMBOL(svc_process); 81EXPORT_SYMBOL(svc_recv); 82EXPORT_SYMBOL(svc_wake_up); 83EXPORT_SYMBOL(svc_makesock); 84EXPORT_SYMBOL(svc_reserve); 85EXPORT_SYMBOL(svc_auth_register); 86EXPORT_SYMBOL(auth_domain_lookup); 87EXPORT_SYMBOL(svc_authenticate); 88EXPORT_SYMBOL(svc_set_client); 89 90/* RPC statistics */ 91#ifdef CONFIG_PROC_FS 92EXPORT_SYMBOL(rpc_proc_register); 93EXPORT_SYMBOL(rpc_proc_unregister); 94EXPORT_SYMBOL(svc_proc_register); 95EXPORT_SYMBOL(svc_proc_unregister); 96EXPORT_SYMBOL(svc_seq_show); 97#endif 98 99/* caching... */ 100EXPORT_SYMBOL(auth_domain_find); 101EXPORT_SYMBOL(auth_domain_put); 102EXPORT_SYMBOL(auth_unix_add_addr); 103EXPORT_SYMBOL(auth_unix_forget_old); 104EXPORT_SYMBOL(auth_unix_lookup); 105EXPORT_SYMBOL(cache_check); 106EXPORT_SYMBOL(cache_flush); 107EXPORT_SYMBOL(cache_purge); 108EXPORT_SYMBOL(cache_fresh); 109EXPORT_SYMBOL(cache_init); 110EXPORT_SYMBOL(cache_register); 111EXPORT_SYMBOL(cache_unregister); 112EXPORT_SYMBOL(qword_add); 113EXPORT_SYMBOL(qword_addhex); 114EXPORT_SYMBOL(qword_get); 115EXPORT_SYMBOL(svcauth_unix_purge); 116EXPORT_SYMBOL(unix_domain_find); 117 118/* Generic XDR */ 119EXPORT_SYMBOL(xdr_encode_string); 120EXPORT_SYMBOL(xdr_decode_string_inplace); 121EXPORT_SYMBOL(xdr_decode_netobj); 122EXPORT_SYMBOL(xdr_encode_netobj); 123EXPORT_SYMBOL(xdr_encode_pages); 124EXPORT_SYMBOL(xdr_inline_pages); 125EXPORT_SYMBOL(xdr_shift_buf); 126EXPORT_SYMBOL(xdr_encode_word); 127EXPORT_SYMBOL(xdr_decode_word); 128EXPORT_SYMBOL(xdr_encode_array2); 129EXPORT_SYMBOL(xdr_decode_array2); 130EXPORT_SYMBOL(xdr_buf_from_iov); 131EXPORT_SYMBOL(xdr_buf_subsegment); 132EXPORT_SYMBOL(xdr_buf_read_netobj); 133EXPORT_SYMBOL(read_bytes_from_xdr_buf); 134 135/* Debugging symbols */ 136#ifdef RPC_DEBUG 137EXPORT_SYMBOL(rpc_debug); 138EXPORT_SYMBOL(nfs_debug); 139EXPORT_SYMBOL(nfsd_debug); 140EXPORT_SYMBOL(nlm_debug); 141#endif 142 143extern int register_rpc_pipefs(void); 144extern void unregister_rpc_pipefs(void); 145 146static int __init 147init_sunrpc(void) 148{ 149 int err = register_rpc_pipefs(); 150 if (err) 151 goto out; 152 err = rpc_init_mempool() != 0; 153 if (err) 154 goto out; 155#ifdef RPC_DEBUG 156 rpc_register_sysctl(); 157#endif 158#ifdef CONFIG_PROC_FS 159 rpc_proc_init(); 160#endif 161 cache_register(&auth_domain_cache); 162 cache_register(&ip_map_cache); 163out: 164 return err; 165} 166 167static void __exit 168cleanup_sunrpc(void) 169{ 170 unregister_rpc_pipefs(); 171 rpc_destroy_mempool(); 172 if (cache_unregister(&auth_domain_cache)) 173 printk(KERN_ERR "sunrpc: failed to unregister auth_domain cache\n"); 174 if (cache_unregister(&ip_map_cache)) 175 printk(KERN_ERR "sunrpc: failed to unregister ip_map cache\n"); 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);