/Linux-v4.19/include/linux/sunrpc/ |
D | cache.h | 66 struct cache_detail { struct 75 int (*cache_upcall)(struct cache_detail *, argument 78 void (*cache_request)(struct cache_detail *cd, argument 82 int (*cache_parse)(struct cache_detail *, argument 86 struct cache_detail *cd, argument 88 void (*warn_no_listener)(struct cache_detail *cd, argument 171 sunrpc_cache_lookup(struct cache_detail *detail, 174 sunrpc_cache_update(struct cache_detail *detail, 178 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h); 190 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put() [all …]
|
D | rpc_pipe_fs.h | 118 struct cache_detail; 122 struct cache_detail *);
|
/Linux-v4.19/net/sunrpc/ |
D | cache.c | 44 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init() 57 struct cache_head *sunrpc_cache_lookup(struct cache_detail *detail, in sunrpc_cache_lookup() 120 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch); 123 struct cache_detail *detail) in cache_fresh_locked() 136 struct cache_detail *detail) in cache_fresh_unlocked() 144 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update() 194 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall() 222 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry() 253 int cache_check(struct cache_detail *detail, in cache_check() 336 static struct cache_detail *current_detail; [all …]
|
D | netns.h | 8 struct cache_detail; 12 struct cache_detail *ip_map_cache; 13 struct cache_detail *unix_gid_cache; 14 struct cache_detail *rsc_cache; 15 struct cache_detail *rsi_cache;
|
D | svcauth_unix.c | 143 static void ip_map_request(struct cache_detail *cd, in ip_map_request() 160 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr); 161 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, t… 163 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse() 246 struct cache_detail *cd, in ip_map_show() 275 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, in __ip_map_lookup() 302 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, in __ip_map_update() 461 static void unix_gid_request(struct cache_detail *cd, in unix_gid_request() 473 static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid); 475 static int unix_gid_parse(struct cache_detail *cd, in unix_gid_parse() [all …]
|
D | rpc_pipe.c | 1110 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir()
|
/Linux-v4.19/fs/nfs/ |
D | cache_lib.h | 22 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name); 27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd); 28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd); 30 struct cache_detail *cd); 32 struct cache_detail *cd);
|
D | cache_lib.c | 35 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) in nfs_cache_upcall() 116 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_register_sb() 127 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) in nfs_cache_register_net() 143 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_unregister_sb() 148 void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd) in nfs_cache_unregister_net()
|
D | dns_resolve.c | 131 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request() 141 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall() 167 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show() 193 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup() 206 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update() 220 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse() 271 static int do_cache_lookup(struct cache_detail *cd, in do_cache_lookup() 287 static int do_cache_lookup_nowait(struct cache_detail *cd, in do_cache_lookup_nowait() 312 static int do_cache_lookup_wait(struct cache_detail *cd, in do_cache_lookup_wait() 357 static struct cache_detail nfs_dns_resolve_template = { [all …]
|
D | netns.h | 19 struct cache_detail *nfs_dns_resolve;
|
/Linux-v4.19/fs/nfsd/ |
D | nfs4idmap.c | 125 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() 150 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() 169 warn_no_idmapd(struct cache_detail *detail, int has_died) in warn_no_idmapd() 176 static int idtoname_parse(struct cache_detail *, char *, int); 177 static struct ent *idtoname_lookup(struct cache_detail *, struct ent *); 178 static struct ent *idtoname_update(struct cache_detail *, struct ent *, 181 static const struct cache_detail idtoname_cache_template = { 197 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse() 265 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() 276 idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old) in idtoname_update() [all …]
|
D | netns.h | 48 struct cache_detail *svc_expkey_cache; 49 struct cache_detail *svc_export_cache; 51 struct cache_detail *idtoname_cache; 52 struct cache_detail *nametoid_cache;
|
D | export.c | 52 static void expkey_request(struct cache_detail *cd, in expkey_request() 67 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, 69 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *); 71 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() 167 struct cache_detail *cd, in expkey_show() 235 static const struct cache_detail svc_expkey_cache_template = { 263 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup() 276 svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, in svc_expkey_update() 320 static void svc_export_request(struct cache_detail *cd, in svc_export_request() 511 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() [all …]
|
D | export.h | 63 struct cache_detail *cd;
|
/Linux-v4.19/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 81 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old); 82 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item); 174 static void rsi_request(struct cache_detail *cd, in rsi_request() 185 static int rsi_parse(struct cache_detail *cd, in rsi_parse() 267 static const struct cache_detail rsi_cache_template = { 280 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) in rsi_lookup() 292 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old) in rsi_update() 335 static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old); 336 static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item); 407 static int rsc_parse(struct cache_detail *cd, in rsc_parse() [all …]
|
/Linux-v4.19/Documentation/filesystems/nfs/ |
D | rpc-cache.txt | 45 2/ A cache needs a "cache_detail" structure that 52 a pointer to the cache_detail embedded within the 70 int cache_show(struct seq_file *m, struct cache_detail *cd, 75 int cache_request(struct cache_detail *cd, struct cache_head *h, 83 int cache_parse(struct cache_detail *cd, char *buf, int len)
|