Home
last modified time | relevance | path

Searched refs:cache_head (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/include/linux/sunrpc/
Dcache.h48 struct cache_head { struct
76 struct cache_head *); argument
79 struct cache_head *ch,
87 struct cache_head *h);
91 struct cache_head * (*alloc)(void);
92 int (*match)(struct cache_head *orig, struct cache_head *new);
93 void (*init)(struct cache_head *orig, struct cache_head *new);
94 void (*update)(struct cache_head *orig, struct cache_head *new);
140 struct cache_head *item; /* cache item we wait on */
170 extern struct cache_head *
[all …]
/Linux-v4.19/net/sunrpc/
Dsvcauth_unix.c90 struct cache_head h;
98 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put()
111 static int ip_map_match(struct cache_head *corig, struct cache_head *cnew) in ip_map_match()
118 static void ip_map_init(struct cache_head *cnew, struct cache_head *citem) in ip_map_init()
126 static void update(struct cache_head *cnew, struct cache_head *citem) in update()
134 static struct cache_head *ip_map_alloc(void) in ip_map_alloc()
144 struct cache_head *h, in ip_map_request()
247 struct cache_head *h) in ip_map_show()
279 struct cache_head *ch; in __ip_map_lookup()
306 struct cache_head *ch; in __ip_map_update()
[all …]
Dcache.c41 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
42 static void cache_revisit_request(struct cache_head *item);
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()
58 struct cache_head *key, int hash) in sunrpc_cache_lookup()
60 struct cache_head *new = NULL, *freeme = NULL, *tmp = NULL; in sunrpc_cache_lookup()
120 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
122 static void cache_fresh_locked(struct cache_head *head, time_t expiry, in cache_fresh_locked()
135 static void cache_fresh_unlocked(struct cache_head *head, in cache_fresh_unlocked()
144 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
[all …]
/Linux-v4.19/fs/nfs/
Ddns_resolve.c61 struct cache_head h;
71 static void nfs_dns_ent_update(struct cache_head *cnew, in nfs_dns_ent_update()
72 struct cache_head *ckey) in nfs_dns_ent_update()
84 static void nfs_dns_ent_init(struct cache_head *cnew, in nfs_dns_ent_init()
85 struct cache_head *ckey) in nfs_dns_ent_init()
113 static struct cache_head *nfs_dns_ent_alloc(void) in nfs_dns_ent_alloc()
132 struct cache_head *ch, in nfs_dns_request()
142 struct cache_head *ch) in nfs_dns_upcall()
153 static int nfs_dns_match(struct cache_head *ca, in nfs_dns_match()
154 struct cache_head *cb) in nfs_dns_match()
[all …]
/Linux-v4.19/fs/nfsd/
Dnfs4idmap.c63 struct cache_head h;
76 ent_init(struct cache_head *cnew, struct cache_head *citm) in ent_init()
95 static struct cache_head *
125 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request()
140 idtoname_match(struct cache_head *ca, struct cache_head *cb) in idtoname_match()
150 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show()
267 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in idtoname_lookup()
278 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update()
298 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in nametoid_request()
311 nametoid_match(struct cache_head *ca, struct cache_head *cb) in nametoid_match()
[all …]
Dexport.c53 struct cache_head *h, in expkey_request()
168 struct cache_head *h) in expkey_show()
191 static inline int expkey_match (struct cache_head *a, struct cache_head *b) in expkey_match()
203 static inline void expkey_init(struct cache_head *cnew, in expkey_init()
204 struct cache_head *citem) in expkey_init()
216 static inline void expkey_update(struct cache_head *cnew, in expkey_update()
217 struct cache_head *citem) in expkey_update()
226 static struct cache_head *expkey_alloc(void) in expkey_alloc()
265 struct cache_head *ch; in svc_expkey_lookup()
279 struct cache_head *ch; in svc_expkey_update()
[all …]
Dexport.h50 struct cache_head h;
71 struct cache_head h;
/Linux-v4.19/Documentation/filesystems/nfs/
Drpc-cache.txt40 struct cache_head
50 struct cache_head *alloc(void)
57 in the cache_head. cache_put should release any
62 int match(struct cache_head *orig, struct cache_head *new)
65 void init(struct cache_head *orig, struct cache_head *new)
68 void update(struct cache_head *orig, struct cache_head *new)
71 struct cache_head *h)
75 int cache_request(struct cache_detail *cd, struct cache_head *h,
99 to the cache_head in a sample item with the 'key' fields filled in.
/Linux-v4.19/net/sunrpc/auth_gss/
Dsvcauth_gss.c75 struct cache_head h;
105 static int rsi_match(struct cache_head *a, struct cache_head *b) in rsi_match()
127 static void rsi_init(struct cache_head *cnew, struct cache_head *citem) in rsi_init()
146 static void update_rsi(struct cache_head *cnew, struct cache_head *citem) in update_rsi()
165 static struct cache_head *rsi_alloc(void) in rsi_alloc()
175 struct cache_head *h, in rsi_request()
282 struct cache_head *ch; in rsi_lookup()
294 struct cache_head *ch; in rsi_update()
328 struct cache_head h;
361 rsc_match(struct cache_head *a, struct cache_head *b) in rsc_match()
[all …]