Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/sunrpc/
Dcache.h47 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);
93 int (*match)(struct cache_head *orig, struct cache_head *new);
94 void (*init)(struct cache_head *orig, struct cache_head *new);
95 void (*update)(struct cache_head *orig, struct cache_head *new);
141 struct cache_head *item; /* cache item we wait on */
175 extern struct cache_head *
[all …]
/linux-6.1.9/net/sunrpc/
Dsvcauth_unix.c98 struct cache_head h;
107 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put()
120 static int ip_map_match(struct cache_head *corig, struct cache_head *cnew) in ip_map_match()
127 static void ip_map_init(struct cache_head *cnew, struct cache_head *citem) in ip_map_init()
135 static void update(struct cache_head *cnew, struct cache_head *citem) in update()
143 static struct cache_head *ip_map_alloc(void) in ip_map_alloc()
152 static int ip_map_upcall(struct cache_detail *cd, struct cache_head *h) in ip_map_upcall()
158 struct cache_head *h, in ip_map_request()
261 struct cache_head *h) in ip_map_show()
293 struct cache_head *ch; in __ip_map_lookup()
[all …]
Dcache.c42 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
43 static void cache_revisit_request(struct cache_head *item);
45 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
58 static void cache_fresh_unlocked(struct cache_head *head,
61 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
62 struct cache_head *key, in sunrpc_cache_find_rcu()
66 struct cache_head *tmp; in sunrpc_cache_find_rcu()
83 static void sunrpc_begin_cache_remove_entry(struct cache_head *ch, in sunrpc_begin_cache_remove_entry()
92 static void sunrpc_end_cache_remove_entry(struct cache_head *ch, in sunrpc_end_cache_remove_entry()
99 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
[all …]
/linux-6.1.9/fs/nfs/
Ddns_resolve.c62 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()
164 static int nfs_dns_match(struct cache_head *ca, in nfs_dns_match()
165 struct cache_head *cb) in nfs_dns_match()
[all …]
/linux-6.1.9/fs/nfsd/
Dnfs4idmap.c63 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_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall()
132 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request()
147 idtoname_match(struct cache_head *ca, struct cache_head *cb) in idtoname_match()
157 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show()
275 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in idtoname_lookup()
286 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update()
306 nametoid_upcall(struct cache_detail *cd, struct cache_head *h) in nametoid_upcall()
[all …]
Dexport.c54 static int expkey_upcall(struct cache_detail *cd, struct cache_head *h) in expkey_upcall()
60 struct cache_head *h, in expkey_request()
179 struct cache_head *h) in expkey_show()
202 static inline int expkey_match (struct cache_head *a, struct cache_head *b) in expkey_match()
214 static inline void expkey_init(struct cache_head *cnew, in expkey_init()
215 struct cache_head *citem) in expkey_init()
227 static inline void expkey_update(struct cache_head *cnew, in expkey_update()
228 struct cache_head *citem) in expkey_update()
237 static struct cache_head *expkey_alloc(void) in expkey_alloc()
289 struct cache_head *ch; in svc_expkey_lookup()
[all …]
Dexport.h64 struct cache_head h;
87 struct cache_head h;
/linux-6.1.9/Documentation/filesystems/nfs/
Drpc-cache.rst46 structure definition that must contain a struct cache_head
58 struct cache_head \*alloc(void)
66 in the cache_head. cache_put should release any
72 int match(struct cache_head \*orig, struct cache_head \*new)
76 void init(struct cache_head \*orig, struct cache_head \*new)
80 void update(struct cache_head \*orig, struct cache_head \*new)
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)
112 to the cache_head in a sample item with the 'key' fields filled in.
/linux-6.1.9/net/sunrpc/auth_gss/
Dsvcauth_gss.c75 struct cache_head h;
114 static int rsi_match(struct cache_head *a, struct cache_head *b) in rsi_match()
136 static void rsi_init(struct cache_head *cnew, struct cache_head *citem) in rsi_init()
155 static void update_rsi(struct cache_head *cnew, struct cache_head *citem) in update_rsi()
174 static struct cache_head *rsi_alloc(void) in rsi_alloc()
183 static int rsi_upcall(struct cache_detail *cd, struct cache_head *h) in rsi_upcall()
189 struct cache_head *h, in rsi_request()
299 struct cache_head *ch; in rsi_lookup()
311 struct cache_head *ch; in rsi_update()
345 struct cache_head h;
[all …]
/linux-6.1.9/sound/firewire/motu/
Damdtp-motu.c382 unsigned int cache_head = cache->head; in write_sph() local
387 unsigned int tick = (base_tick + event_offsets[cache_head]) % TICKS_PER_SECOND; in write_sph()
391 cache_head = (cache_head + 1) % cache_size; in write_sph()
395 cache->head = cache_head; in write_sph()
/linux-6.1.9/sound/firewire/
Damdtp-stream.c555 unsigned int cache_head = s->ctx_data.rx.cache_head; in pool_replayed_seq() local
562 descs[seq_tail] = cache[cache_head]; in pool_replayed_seq()
564 cache_head = (cache_head + 1) % cache_size; in pool_replayed_seq()
568 s->ctx_data.rx.cache_head = cache_head; in pool_replayed_seq()
583 const unsigned int cache_head = s->ctx_data.rx.cache_head; in pool_seq_descs() local
584 unsigned int cached_cycles = calculate_cached_cycle_count(tx, cache_head); in pool_seq_descs()
1920 rx->ctx_data.rx.cache_head = 0; in make_association()
Damdtp-stream.h171 unsigned int cache_head; member
/linux-6.1.9/include/trace/events/
Dsunrpc.h2258 const struct cache_head *h
2264 __field(const struct cache_head *, h)
2279 const struct cache_head *h \