Home
last modified time | relevance | path

Searched refs:cache_detail (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/linux/sunrpc/
Dcache.h64 struct cache_detail { struct
73 int (*cache_upcall)(struct cache_detail *, argument
76 void (*cache_request)(struct cache_detail *cd, argument
80 int (*cache_parse)(struct cache_detail *, argument
84 struct cache_detail *cd, argument
86 void (*warn_no_listener)(struct cache_detail *cd, argument
170 sunrpc_cache_lookup_rcu(struct cache_detail *detail,
173 sunrpc_cache_update(struct cache_detail *detail,
177 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
195 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
[all …]
Drpc_pipe_fs.h118 struct cache_detail;
122 struct cache_detail *);
/Linux-v5.4/net/sunrpc/
Dcache.c41 static bool cache_listeners_exist(struct cache_detail *detail);
43 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
58 struct cache_detail *detail);
60 struct cache_detail *detail);
62 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
83 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
133 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
146 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
149 struct cache_detail *detail) in cache_fresh_locked()
162 struct cache_detail *detail) in cache_fresh_unlocked()
[all …]
Dnetns.h8 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;
Dsvcauth_unix.c151 static void ip_map_request(struct cache_detail *cd, in ip_map_request()
168 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr);
169 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, t…
171 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse()
254 struct cache_detail *cd, in ip_map_show()
283 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, in __ip_map_lookup()
310 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, in __ip_map_update()
470 static void unix_gid_request(struct cache_detail *cd, in unix_gid_request()
482 static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid);
484 static int unix_gid_parse(struct cache_detail *cd, in unix_gid_parse()
[all …]
Drpc_pipe.c1109 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir()
/Linux-v5.4/fs/nfs/
Dcache_lib.h22 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);
Dcache_lib.c35 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()
Ddns_resolve.c141 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request()
151 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall()
177 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show()
203 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup()
216 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update()
230 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse()
281 static int do_cache_lookup(struct cache_detail *cd, in do_cache_lookup()
297 static int do_cache_lookup_nowait(struct cache_detail *cd, in do_cache_lookup_nowait()
322 static int do_cache_lookup_wait(struct cache_detail *cd, in do_cache_lookup_wait()
367 static struct cache_detail nfs_dns_resolve_template = {
[all …]
Dnetns.h21 struct cache_detail *nfs_dns_resolve;
/Linux-v5.4/fs/nfsd/
Dnfs4idmap.c126 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request()
151 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show()
170 warn_no_idmapd(struct cache_detail *detail, int has_died) in warn_no_idmapd()
177 static int idtoname_parse(struct cache_detail *, char *, int);
178 static struct ent *idtoname_lookup(struct cache_detail *, struct ent *);
179 static struct ent *idtoname_update(struct cache_detail *, struct ent *,
182 static const struct cache_detail idtoname_cache_template = {
198 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse()
266 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup()
277 idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old) in idtoname_update()
[all …]
Dnetns.h35 struct cache_detail *svc_expkey_cache;
36 struct cache_detail *svc_export_cache;
38 struct cache_detail *idtoname_cache;
39 struct cache_detail *nametoid_cache;
Dexport.c53 static void expkey_request(struct cache_detail *cd, in expkey_request()
68 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
70 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
72 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse()
168 struct cache_detail *cd, in expkey_show()
247 static const struct cache_detail svc_expkey_cache_template = {
276 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup()
289 svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, in svc_expkey_update()
333 static void svc_export_request(struct cache_detail *cd, in svc_export_request()
524 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse()
[all …]
Dexport.h63 struct cache_detail *cd;
/Linux-v5.4/net/sunrpc/auth_gss/
Dsvcauth_gss.c83 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
84 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
184 static void rsi_request(struct cache_detail *cd, in rsi_request()
195 static int rsi_parse(struct cache_detail *cd, in rsi_parse()
277 static const struct cache_detail rsi_cache_template = {
290 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) in rsi_lookup()
302 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old) in rsi_update()
346 static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old);
347 static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item);
428 static int rsc_parse(struct cache_detail *cd, in rsc_parse()
[all …]
/Linux-v5.4/Documentation/filesystems/nfs/
Drpc-cache.txt45 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)