Searched refs:cache_head (Results 1 – 9 of 9) sorted by relevance
| /linux/net/sunrpc/ |
| H A D | cache.c | 45 static bool cache_defer_req(struct cache_req *req, struct cache_head *item); 46 static void cache_revisit_request(struct cache_head *item); 48 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init() 61 static void cache_fresh_unlocked(struct cache_head *head, 64 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu() 65 struct cache_head *key, in sunrpc_cache_find_rcu() 69 struct cache_head *tmp; in sunrpc_cache_find_rcu() 86 static void sunrpc_begin_cache_remove_entry(struct cache_head *ch, in sunrpc_begin_cache_remove_entry() 95 static void sunrpc_end_cache_remove_entry(struct cache_head *ch, in sunrpc_end_cache_remove_entry() 102 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry() [all …]
|
| H A D | svcauth_unix.c | 102 struct cache_head h; 111 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() 124 static int ip_map_match(struct cache_head *corig, struct cache_head *cnew) in ip_map_match() 131 static void ip_map_init(struct cache_head *cnew, struct cache_head *citem) in ip_map_init() 139 static void update(struct cache_head *cnew, struct cache_head *citem) in update() 147 static struct cache_head *ip_map_allo in update() [all...] |
| /linux/fs/nfsd/ |
| H A D | nfs4idmap.c | 66 struct cache_head h; 80 ent_init(struct cache_head *cnew, struct cache_head *citm) in ent_init() 99 static struct cache_head * in ent_alloc() 129 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall() 135 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() 150 idtoname_match(struct cache_head *ca, struct cache_head *cb) in idtoname_match() 160 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() 280 struct cache_head *c in idtoname_lookup() [all...] |
| H A D | export.c | 59 static int expkey_upcall(struct cache_detail *cd, struct cache_head *h) in expkey_upcall() 65 struct cache_head *h, in expkey_request() 182 struct cache_head *h) in expkey_show() 205 static inline int expkey_match (struct cache_head *a, struct cache_head *b) in expkey_match() 217 static inline void expkey_init(struct cache_head *cnew, in expkey_init() 218 struct cache_head *citem) in expkey_init() 230 static inline void expkey_update(struct cache_head *cnew, in expkey_update() 231 struct cache_head *citem) in expkey_update() 240 static struct cache_head *expkey_allo in expkey_alloc() [all...] |
| H A D | nfsd.h | 97 int nfsd_cache_notify(struct cache_detail *cd, struct cache_head *h, u32 cache_type);
|
| H A D | nfsctl.c | 2858 int nfsd_cache_notify(struct cache_detail *cd, struct cache_head *h, u32 cache_type)
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | rpc-cache.rst | 46 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/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 99 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() 198 static struct cache_head *rsi_alloc(void) in rsi_alloc() 207 static int rsi_upcall(struct cache_detail *cd, struct cache_head *h) in rsi_upcall() 213 struct cache_head * in rsi_request() [all...] |
| /linux/sound/firewire/motu/ |
| H A D | amdtp-motu.c | 378 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()
|