Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/sunrpc/
Dcache.h75 struct cache_detail { struct
86 int (*cache_upcall)(struct cache_detail *, argument
89 void (*cache_request)(struct cache_detail *cd, argument
93 int (*cache_parse)(struct cache_detail *, argument
97 struct cache_detail *cd, argument
99 void (*warn_no_listener)(struct cache_detail *cd, argument
182 sunrpc_cache_lookup(struct cache_detail *detail,
185 sunrpc_cache_update(struct cache_detail *detail,
189 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
201 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
[all …]
Drpc_pipe_fs.h117 struct cache_detail;
121 struct cache_detail *);
/linux-4.4.14/net/sunrpc/
Dcache.c44 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 …]
Dnetns.h7 struct cache_detail;
11 struct cache_detail *ip_map_cache;
12 struct cache_detail *unix_gid_cache;
13 struct cache_detail *rsc_cache;
14 struct cache_detail *rsi_cache;
Dsvcauth_unix.c143 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 …]
Drpc_pipe.c1126 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir()
/linux-4.4.14/fs/nfs/
Dcache_lib.h21 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);
26 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
27 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
29 struct cache_detail *cd);
31 struct cache_detail *cd);
Dcache_lib.c34 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) in nfs_cache_upcall()
115 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_register_sb()
126 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) in nfs_cache_register_net()
142 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.c130 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request()
140 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall()
166 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show()
192 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup()
205 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update()
219 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse()
270 static int do_cache_lookup(struct cache_detail *cd, in do_cache_lookup()
286 static int do_cache_lookup_nowait(struct cache_detail *cd, in do_cache_lookup_nowait()
311 static int do_cache_lookup_wait(struct cache_detail *cd, in do_cache_lookup_wait()
356 static struct cache_detail nfs_dns_resolve_template = {
[all …]
Dnetns.h18 struct cache_detail *nfs_dns_resolve;
/linux-4.4.14/fs/nfsd/
Dnfs4idmap.c125 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 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 …]
Dnetns.h48 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;
Dexport.c51 static void expkey_request(struct cache_detail *cd, in expkey_request()
66 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
68 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
70 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse()
166 struct cache_detail *cd, in expkey_show()
234 static struct cache_detail svc_expkey_cache_template = {
262 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup()
275 svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, in svc_expkey_update()
319 static void svc_export_request(struct cache_detail *cd, in svc_export_request()
509 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse()
[all …]
Dexport.h62 struct cache_detail *cd;
/linux-4.4.14/net/sunrpc/auth_gss/
Dsvcauth_gss.c81 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 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-4.4.14/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)