Home
last modified time | relevance | path

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

/linux-6.15/include/linux/sunrpc/
H A Dcache.h70 struct cache_detail { struct
79 int (*cache_upcall)(struct cache_detail *, argument
82 void (*cache_request)(struct cache_detail *cd, argument
86 int (*cache_parse)(struct cache_detail *, argument
90 struct cache_detail *cd, argument
92 void (*warn_no_listener)(struct cache_detail *cd, argument
180 sunrpc_cache_lookup_rcu(struct cache_detail *detail,
183 sunrpc_cache_update(struct cache_detail *detail,
227 extern int cache_check(struct cache_detail *detail,
236 extern struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net);
[all …]
H A Drpc_pipe_fs.h121 struct cache_detail;
125 struct cache_detail *);
/linux-6.15/net/sunrpc/
H A Dcache.c59 struct cache_detail *detail);
84 struct cache_detail *cd) in sunrpc_begin_cache_remove_entry()
93 struct cache_detail *cd) in sunrpc_end_cache_remove_entry()
475 struct cache_detail *d; in cache_clean()
1058 struct cache_detail *cd) in cache_release()
1458 struct cache_detail *cd) in content_open()
1478 struct cache_detail *cd) in content_release()
1486 struct cache_detail *cd) in open_flush()
1494 struct cache_detail *cd) in release_flush()
1737 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
[all …]
H A 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;
H A Dsvcauth_unix.c158 static void ip_map_request(struct cache_detail *cd, in ip_map_request()
178 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse()
261 struct cache_detail *cd, in ip_map_show()
473 static void unix_gid_request(struct cache_detail *cd, in unix_gid_request()
487 static int unix_gid_parse(struct cache_detail *cd, in unix_gid_parse()
559 struct cache_detail *cd, in unix_gid_show()
603 struct cache_detail *cd; in unix_gid_cache_create()
621 struct cache_detail *cd = sn->unix_gid_cache; in unix_gid_cache_destroy()
1020 static const struct cache_detail ip_map_cache_template = {
1038 struct cache_detail *cd; in ip_map_cache_create()
[all …]
H A Drpc_pipe.c1110 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir()
/linux-6.15/fs/nfs/
H A 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);
H A 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()
H A Ddns_resolve.c139 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request()
149 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall()
176 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show()
202 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup()
215 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update()
229 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse()
280 static int do_cache_lookup(struct cache_detail *cd, in do_cache_lookup()
296 static int do_cache_lookup_nowait(struct cache_detail *cd, in do_cache_lookup_nowait()
321 static int do_cache_lookup_wait(struct cache_detail *cd, in do_cache_lookup_wait()
366 static struct cache_detail nfs_dns_resolve_template = {
[all …]
H A Dnetns.h22 struct cache_detail *nfs_dns_resolve;
/linux-6.15/fs/nfsd/
H A Dnfs4idmap.c127 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall()
177 warn_no_idmapd(struct cache_detail *detail, int has_died) in warn_no_idmapd()
189 static const struct cache_detail idtoname_cache_template = {
206 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse()
274 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup()
307 nametoid_upcall(struct cache_detail *cd, struct cache_head *h) in nametoid_upcall()
359 static const struct cache_detail nametoid_cache_template = {
376 nametoid_parse(struct cache_detail *cd, char *buf, int buflen) in nametoid_parse()
439 nametoid_lookup(struct cache_detail *cd, struct ent *item) in nametoid_lookup()
508 struct ent *(*lookup_fn)(struct cache_detail *, struct ent *), in idmap_lookup() argument
[all …]
H A Dnetns.h61 struct cache_detail *svc_expkey_cache;
62 struct cache_detail *svc_export_cache;
64 struct cache_detail *idtoname_cache;
65 struct cache_detail *nametoid_cache;
H A Dexport.c59 static void expkey_request(struct cache_detail *cd, in expkey_request()
178 struct cache_detail *cd, in expkey_show()
257 static const struct cache_detail svc_expkey_cache_template = {
384 static void svc_export_request(struct cache_detail *cd, in svc_export_request()
769 struct cache_detail *cd, in svc_export_show()
893 static const struct cache_detail svc_export_cache_template = {
1033 struct cache_detail *cd = nn->svc_export_cache; in exp_rootfh()
1068 static struct svc_export *exp_find(struct cache_detail *cd, in exp_find()
1189 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_get_by_name()
1237 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_find()
[all …]
H A Dexport.h77 struct cache_detail *cd;
/linux-6.15/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c207 static int rsi_upcall(struct cache_detail *cd, struct cache_head *h) in rsi_upcall()
212 static void rsi_request(struct cache_detail *cd, in rsi_request()
225 static int rsi_parse(struct cache_detail *cd, in rsi_parse()
307 static const struct cache_detail rsi_cache_template = {
464 static int rsc_parse(struct cache_detail *cd, in rsc_parse()
585 static const struct cache_detail rsc_cache_template = {
1218 static int gss_proxy_save_rsc(struct cache_detail *cd, in gss_proxy_save_rsc()
2020 struct cache_detail *cd; in rsi_cache_create_net()
2038 struct cache_detail *cd = sn->rsi_cache; in rsi_cache_destroy_net()
2049 struct cache_detail *cd; in rsc_cache_create_net()
[all …]
/linux-6.15/Documentation/filesystems/nfs/
H A 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.15/include/trace/events/
H A Dsunrpc.h2405 const struct cache_detail *cd,
2426 const struct cache_detail *cd, \