Searched refs:cache_head (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/include/linux/sunrpc/ |
| D | cache.h | 46 struct cache_head { struct 74 struct cache_head *); argument 77 struct cache_head *ch, 85 struct cache_head *h); 89 struct cache_head * (*alloc)(void); 91 int (*match)(struct cache_head *orig, struct cache_head *new); 92 void (*init)(struct cache_head *orig, struct cache_head *new); 93 void (*update)(struct cache_head *orig, struct cache_head *new); 139 struct cache_head *item; /* cache item we wait on */ 169 extern struct cache_head * [all …]
|
| /Linux-v5.4/net/sunrpc/ |
| D | svcauth_unix.c | 97 struct cache_head h; 106 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() 119 static int ip_map_match(struct cache_head *corig, struct cache_head *cnew) in ip_map_match() 126 static void ip_map_init(struct cache_head *cnew, struct cache_head *citem) in ip_map_init() 134 static void update(struct cache_head *cnew, struct cache_head *citem) in update() 142 static struct cache_head *ip_map_alloc(void) in ip_map_alloc() 152 struct cache_head *h, in ip_map_request() 255 struct cache_head *h) in ip_map_show() 287 struct cache_head *ch; in __ip_map_lookup() 314 struct cache_head *ch; in __ip_map_update() [all …]
|
| D | cache.c | 39 static bool cache_defer_req(struct cache_req *req, struct cache_head *item); 40 static void cache_revisit_request(struct cache_head *item); 43 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init() 56 static inline int cache_is_valid(struct cache_head *h); 57 static void cache_fresh_locked(struct cache_head *head, time_t expiry, 59 static void cache_fresh_unlocked(struct cache_head *head, 62 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu() 63 struct cache_head *key, in sunrpc_cache_find_rcu() 67 struct cache_head *tmp; in sunrpc_cache_find_rcu() 83 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry() [all …]
|
| /Linux-v5.4/fs/nfs/ |
| D | dns_resolve.c | 62 struct cache_head h; 73 static void nfs_dns_ent_update(struct cache_head *cnew, in nfs_dns_ent_update() 74 struct cache_head *ckey) in nfs_dns_ent_update() 86 static void nfs_dns_ent_init(struct cache_head *cnew, in nfs_dns_ent_init() 87 struct cache_head *ckey) in nfs_dns_ent_init() 123 static struct cache_head *nfs_dns_ent_alloc(void) in nfs_dns_ent_alloc() 142 struct cache_head *ch, in nfs_dns_request() 152 struct cache_head *ch) in nfs_dns_upcall() 163 static int nfs_dns_match(struct cache_head *ca, in nfs_dns_match() 164 struct cache_head *cb) in nfs_dns_match() [all …]
|
| /Linux-v5.4/fs/nfsd/ |
| D | nfs4idmap.c | 63 struct cache_head h; 77 ent_init(struct cache_head *cnew, struct cache_head *citm) in ent_init() 96 static struct cache_head * 126 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() 141 idtoname_match(struct cache_head *ca, struct cache_head *cb) in idtoname_match() 151 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() 268 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in idtoname_lookup() 279 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update() 299 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in nametoid_request() 312 nametoid_match(struct cache_head *ca, struct cache_head *cb) in nametoid_match() [all …]
|
| D | export.c | 54 struct cache_head *h, in expkey_request() 169 struct cache_head *h) in expkey_show() 192 static inline int expkey_match (struct cache_head *a, struct cache_head *b) in expkey_match() 204 static inline void expkey_init(struct cache_head *cnew, in expkey_init() 205 struct cache_head *citem) in expkey_init() 217 static inline void expkey_update(struct cache_head *cnew, in expkey_update() 218 struct cache_head *citem) in expkey_update() 227 static struct cache_head *expkey_alloc(void) in expkey_alloc() 278 struct cache_head *ch; in svc_expkey_lookup() 292 struct cache_head *ch; in svc_expkey_update() [all …]
|
| D | export.h | 50 struct cache_head h; 72 struct cache_head h;
|
| /Linux-v5.4/Documentation/filesystems/nfs/ |
| D | rpc-cache.txt | 40 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-v5.4/net/sunrpc/auth_gss/ |
| D | svcauth_gss.c | 76 struct cache_head h; 115 static int rsi_match(struct cache_head *a, struct cache_head *b) in rsi_match() 137 static void rsi_init(struct cache_head *cnew, struct cache_head *citem) in rsi_init() 156 static void update_rsi(struct cache_head *cnew, struct cache_head *citem) in update_rsi() 175 static struct cache_head *rsi_alloc(void) in rsi_alloc() 185 struct cache_head *h, in rsi_request() 292 struct cache_head *ch; in rsi_lookup() 304 struct cache_head *ch; in rsi_update() 338 struct cache_head h; 382 rsc_match(struct cache_head *a, struct cache_head *b) in rsc_match() [all …]
|