Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/sunrpc/
Dcache.h48 struct cache_head { struct
87 struct cache_head *);
90 struct cache_head *ch,
98 struct cache_head *h);
102 struct cache_head * (*alloc)(void);
103 int (*match)(struct cache_head *orig, struct cache_head *new);
104 void (*init)(struct cache_head *orig, struct cache_head *new);
105 void (*update)(struct cache_head *orig, struct cache_head *new);
151 struct cache_head *item; /* cache item we wait on */
181 extern struct cache_head *
[all …]
/linux-4.4.14/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-4.4.14/fs/nfs/
Ddns_resolve.c60 struct cache_head h;
70 static void nfs_dns_ent_update(struct cache_head *cnew, in nfs_dns_ent_update()
71 struct cache_head *ckey) in nfs_dns_ent_update()
83 static void nfs_dns_ent_init(struct cache_head *cnew, in nfs_dns_ent_init()
84 struct cache_head *ckey) in nfs_dns_ent_init()
112 static struct cache_head *nfs_dns_ent_alloc(void) in nfs_dns_ent_alloc()
131 struct cache_head *ch, in nfs_dns_request()
141 struct cache_head *ch) in nfs_dns_upcall()
152 static int nfs_dns_match(struct cache_head *ca, in nfs_dns_match()
153 struct cache_head *cb) in nfs_dns_match()
[all …]
/linux-4.4.14/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.c52 struct cache_head *h, in expkey_request()
167 struct cache_head *h) in expkey_show()
190 static inline int expkey_match (struct cache_head *a, struct cache_head *b) in expkey_match()
202 static inline void expkey_init(struct cache_head *cnew, in expkey_init()
203 struct cache_head *citem) in expkey_init()
215 static inline void expkey_update(struct cache_head *cnew, in expkey_update()
216 struct cache_head *citem) in expkey_update()
225 static struct cache_head *expkey_alloc(void) in expkey_alloc()
264 struct cache_head *ch; in svc_expkey_lookup()
278 struct cache_head *ch; in svc_expkey_update()
[all …]
Dexport.h49 struct cache_head h;
70 struct cache_head h;
/linux-4.4.14/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-4.4.14/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 …]