Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/sunrpc/
Dcache.h66 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
176 sunrpc_cache_lookup_rcu(struct cache_detail *detail,
179 sunrpc_cache_update(struct cache_detail *detail,
183 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
185 sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail,
[all …]
Drpc_pipe_fs.h121 struct cache_detail;
125 struct cache_detail *);
/linux-6.1.9/net/sunrpc/
Dcache.c45 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
59 struct cache_detail *detail);
61 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
84 struct cache_detail *cd) in sunrpc_begin_cache_remove_entry()
93 struct cache_detail *cd) in sunrpc_end_cache_remove_entry()
99 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
146 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
159 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
162 struct cache_detail *detail) in cache_fresh_locked()
175 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.c152 static int ip_map_upcall(struct cache_detail *cd, struct cache_head *h) in ip_map_upcall()
157 static void ip_map_request(struct cache_detail *cd, in ip_map_request()
174 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr);
175 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, t…
177 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse()
260 struct cache_detail *cd, in ip_map_show()
289 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, in __ip_map_lookup()
307 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, in __ip_map_update()
458 static int unix_gid_upcall(struct cache_detail *cd, struct cache_head *h) in unix_gid_upcall()
463 static void unix_gid_request(struct cache_detail *cd, in unix_gid_request()
[all …]
Drpc_pipe.c1111 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir()
/linux-6.1.9/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()
178 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show()
204 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup()
217 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update()
231 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse()
282 static int do_cache_lookup(struct cache_detail *cd, in do_cache_lookup()
298 static int do_cache_lookup_nowait(struct cache_detail *cd, in do_cache_lookup_nowait()
323 static int do_cache_lookup_wait(struct cache_detail *cd, in do_cache_lookup_wait()
368 static struct cache_detail nfs_dns_resolve_template = {
[all …]
Dnetns.h21 struct cache_detail *nfs_dns_resolve;
/linux-6.1.9/fs/nfsd/
Dnfs4idmap.c126 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall()
132 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request()
157 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show()
176 warn_no_idmapd(struct cache_detail *detail, int has_died) in warn_no_idmapd()
183 static int idtoname_parse(struct cache_detail *, char *, int);
184 static struct ent *idtoname_lookup(struct cache_detail *, struct ent *);
185 static struct ent *idtoname_update(struct cache_detail *, struct ent *,
188 static const struct cache_detail idtoname_cache_template = {
205 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse()
273 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup()
[all …]
Dnetns.h45 struct cache_detail *svc_expkey_cache;
46 struct cache_detail *svc_export_cache;
48 struct cache_detail *idtoname_cache;
49 struct cache_detail *nametoid_cache;
Dexport.c54 static int expkey_upcall(struct cache_detail *cd, struct cache_head *h) in expkey_upcall()
59 static void expkey_request(struct cache_detail *cd, in expkey_request()
74 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
76 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse()
178 struct cache_detail *cd, in expkey_show()
257 static const struct cache_detail svc_expkey_cache_template = {
287 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup()
300 svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, in svc_expkey_update()
361 static int svc_export_upcall(struct cache_detail *cd, struct cache_head *h) in svc_export_upcall()
[all …]
Dexport.h77 struct cache_detail *cd;
/linux-6.1.9/net/sunrpc/auth_gss/
Dsvcauth_gss.c82 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
83 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
183 static int rsi_upcall(struct cache_detail *cd, struct cache_head *h) in rsi_upcall()
188 static void rsi_request(struct cache_detail *cd, in rsi_request()
201 static int rsi_parse(struct cache_detail *cd, in rsi_parse()
283 static const struct cache_detail rsi_cache_template = {
297 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) in rsi_lookup()
309 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old) in rsi_update()
353 static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old);
354 static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item);
[all …]
/linux-6.1.9/Documentation/filesystems/nfs/
Drpc-cache.rst51 - A cache needs a "cache_detail" structure that
60 a pointer to the cache_detail embedded within the
83 int cache_show(struct seq_file \*m, struct cache_detail \*cd, struct cache_head \*h)
88 int cache_request(struct cache_detail \*cd, struct cache_head \*h, char \*\*bpp, int \*blen)
96 int cache_parse(struct cache_detail \*cd, char \*buf, int len)
/linux-6.1.9/include/trace/events/
Dsunrpc.h2257 const struct cache_detail *cd,
2278 const struct cache_detail *cd, \