Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/sunrpc/
A Dcache.h47 struct cache_head { struct
76 struct cache_head *); argument
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);
175 extern struct cache_head *
178 extern struct cache_head *
180 struct cache_head *new, struct cache_head *old, int hash);
186 struct cache_head *h);
191 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get()
[all …]
/linux-6.3-rc2/net/sunrpc/
A 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()
293 struct cache_head *ch; in __ip_map_lookup()
311 struct cache_head *ch; in __ip_map_update()
408 struct cache_head h;
421 struct cache_head *item = container_of(kref, struct cache_head, ref); in unix_gid_put()
429 static int unix_gid_match(struct cache_head *corig, struct cache_head *cnew) in unix_gid_match()
[all …]
A Dcache.c62 struct cache_head *key, in sunrpc_cache_find_rcu()
66 struct cache_head *tmp; in sunrpc_cache_find_rcu()
100 struct cache_head *key, in sunrpc_cache_add_entry()
149 struct cache_head *ret; in sunrpc_cache_lookup_rcu()
184 struct cache_head *h) in cache_make_negative()
203 struct cache_head *new, struct cache_head *old, int hash) in sunrpc_cache_update()
209 struct cache_head *tmp; in sunrpc_cache_update()
804 struct cache_head *item;
1345 struct cache_head *ch; in __cache_seq_start()
1372 struct cache_head *ch = p; in cache_seq_next()
[all …]
/linux-6.3-rc2/fs/nfs/
A Ddns_resolve.c62 struct cache_head h;
74 struct cache_head *ckey) in nfs_dns_ent_update()
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()
179 struct cache_head *h) in nfs_dns_show()
207 struct cache_head *ch; in nfs_dns_lookup()
[all …]
/linux-6.3-rc2/fs/nfsd/
A Dnfs4idmap.c64 struct cache_head h;
78 ent_init(struct cache_head *cnew, struct cache_head *citm) in ent_init()
97 static struct cache_head *
127 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall()
148 idtoname_match(struct cache_head *ca, struct cache_head *cb) in idtoname_match()
276 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in idtoname_lookup()
287 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update()
307 nametoid_upcall(struct cache_detail *cd, struct cache_head *h) in nametoid_upcall()
326 nametoid_match(struct cache_head *ca, struct cache_head *cb) in nametoid_match()
441 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in nametoid_lookup()
[all …]
A Dexport.c60 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()
289 struct cache_head *ch; in svc_expkey_lookup()
303 struct cache_head *ch; in svc_expkey_update()
730 struct cache_head *h) in svc_export_show()
776 static int svc_export_match(struct cache_head *a, struct cache_head *b) in svc_export_match()
784 static void svc_export_init(struct cache_head *cnew, struct cache_head *citem) in svc_export_init()
802 static void export_update(struct cache_head *cnew, struct cache_head *citem) in export_update()
872 struct cache_head *ch; in svc_export_lookup()
[all …]
A Dexport.h64 struct cache_head h;
87 struct cache_head h;
/linux-6.3-rc2/Documentation/filesystems/nfs/
A 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.3-rc2/net/sunrpc/auth_gss/
A Dsvcauth_gss.c99 struct cache_head h;
138 static int rsi_match(struct cache_head *a, struct cache_head *b) in rsi_match()
160 static void rsi_init(struct cache_head *cnew, struct cache_head *citem) in rsi_init()
179 static void update_rsi(struct cache_head *cnew, struct cache_head *citem) in update_rsi()
323 struct cache_head *ch; in rsi_lookup()
335 struct cache_head *ch; in rsi_update()
369 struct cache_head h;
413 rsc_match(struct cache_head *a, struct cache_head *b) in rsc_match()
422 rsc_init(struct cache_head *cnew, struct cache_head *ctmp) in rsc_init()
436 update_rsc(struct cache_head *cnew, struct cache_head *ctmp) in update_rsc()
[all …]
/linux-6.3-rc2/sound/firewire/motu/
A Damdtp-motu.c378 unsigned int cache_head = cache->head; in write_sph() local
383 unsigned int tick = (base_tick + event_offsets[cache_head]) % TICKS_PER_SECOND; in write_sph()
387 cache_head = (cache_head + 1) % cache_size; in write_sph()
391 cache->head = cache_head; in write_sph()
/linux-6.3-rc2/include/trace/events/
A Dsunrpc.h2260 const struct cache_head *h
2266 __field(const struct cache_head *, h)
2281 const struct cache_head *h \

Completed in 24 milliseconds