cache_head
static struct cache_head *nfs_dns_ent_alloc(void)
struct cache_head *ch,
struct cache_head *ch)
static int nfs_dns_match(struct cache_head *ca,
struct cache_head *cb)
struct cache_head *h)
struct cache_head *ch;
struct cache_head *ch;
struct cache_head h;
static void nfs_dns_ent_update(struct cache_head *cnew,
struct cache_head *ckey)
static void nfs_dns_ent_init(struct cache_head *cnew,
struct cache_head *ckey)
struct cache_head *cp = p;
struct cache_head *h)
static inline int expkey_match (struct cache_head *a, struct cache_head *b)
static inline void expkey_init(struct cache_head *cnew,
struct cache_head *citem)
static inline void expkey_update(struct cache_head *cnew,
struct cache_head *citem)
static struct cache_head *expkey_alloc(void)
struct cache_head *ch;
struct cache_head *ch;
static int svc_export_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
static int expkey_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
struct cache_head *h)
static int svc_export_match(struct cache_head *a, struct cache_head *b)
static void svc_export_init(struct cache_head *cnew, struct cache_head *citem)
static void export_update(struct cache_head *cnew, struct cache_head *citem)
static struct cache_head *svc_export_alloc(void)
struct cache_head *ch;
struct cache_head *ch;
struct cache_head h;
struct cache_head h;
idtoname_upcall(struct cache_detail *cd, struct cache_head *h)
idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp,
idtoname_match(struct cache_head *ca, struct cache_head *cb)
idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h)
struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h,
struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h,
nametoid_upcall(struct cache_detail *cd, struct cache_head *h)
nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp,
nametoid_match(struct cache_head *ca, struct cache_head *cb)
nametoid_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h)
struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h,
struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h,
struct cache_head h;
ent_init(struct cache_head *cnew, struct cache_head *citm)
static struct cache_head *
struct cache_head *item; /* cache item we wait on */
extern struct cache_head *
struct cache_head *key, int hash);
extern struct cache_head *
struct cache_head *new, struct cache_head *old, int hash);
sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
struct cache_head *h);
static inline struct cache_head *cache_get(struct cache_head *h)
static inline struct cache_head *cache_get_rcu(struct cache_head *h)
static inline void cache_put(struct cache_head *h, struct cache_detail *cd)
static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h)
struct cache_head *h, struct cache_req *rqstp);
struct cache_head *h, struct cache_req *rqstp);
extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);
struct cache_head *);
struct cache_head *ch,
struct cache_head *h);
struct cache_head * (*alloc)(void);
int (*match)(struct cache_head *orig, struct cache_head *new);
void (*init)(struct cache_head *orig, struct cache_head *new);
void (*update)(struct cache_head *orig, struct cache_head *new);
const struct cache_head *h
__field(const struct cache_head *, h)
const struct cache_head *h \
static int rsi_match(struct cache_head *a, struct cache_head *b)
static void rsi_init(struct cache_head *cnew, struct cache_head *citem)
static void update_rsi(struct cache_head *cnew, struct cache_head *citem)
static struct cache_head *rsi_alloc(void)
static int rsi_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
struct cache_head *ch;
struct cache_head *ch;
struct cache_head h;
rsc_match(struct cache_head *a, struct cache_head *b)
rsc_init(struct cache_head *cnew, struct cache_head *ctmp)
update_rsc(struct cache_head *cnew, struct cache_head *ctmp)
static struct cache_head *
static int rsc_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *ch;
struct cache_head *ch;
struct cache_head h;
static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail,
struct cache_head *key,
struct cache_head *new, *tmp, *freeme = NULL;
static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch)
static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h)
int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h)
struct cache_head *h)
struct cache_head *ch;
struct cache_head, cache_list);
struct cache_head *ch = p;
struct cache_head, cache_list);
struct cache_head, cache_list);
struct cache_head *cp = p;
struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail,
struct cache_head *key, int hash)
struct cache_head *ret;
static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
static void cache_fresh_locked(struct cache_head *head, time64_t expiry,
static void cache_fresh_unlocked(struct cache_head *head,
struct cache_head *h)
void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
struct cache_head *new)
struct cache_head *sunrpc_cache_update(struct cache_detail *detail,
struct cache_head *new, struct cache_head *old, int hash)
struct cache_head *tmp;
static inline int cache_is_valid(struct cache_head *h)
static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h)
struct cache_head *h, struct cache_req *rqstp)
struct cache_head *h, struct cache_req *rqstp)
static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
static void cache_revisit_request(struct cache_head *item);
static void cache_init(struct cache_head *h, struct cache_detail *detail)
struct cache_head *ch = NULL;
struct cache_head *ch = NULL;
ch = hlist_entry(head->first, struct cache_head,
static void cache_fresh_unlocked(struct cache_head *head,
static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item)
struct cache_head *item,
static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail,
struct cache_head *key,
static void cache_wait_req(struct cache_req *req, struct cache_head *item)
struct cache_head *tmp;
static bool cache_defer_req(struct cache_req *req, struct cache_head *item)
static void cache_revisit_request(struct cache_head *item)
struct cache_head *item;
static void sunrpc_begin_cache_remove_entry(struct cache_head *ch,
static void sunrpc_end_cache_remove_entry(struct cache_head *ch,
struct cache_head *item = container_of(kref, struct cache_head, ref);
static int ip_map_match(struct cache_head *corig, struct cache_head *cnew)
static void ip_map_init(struct cache_head *cnew, struct cache_head *citem)
static void update(struct cache_head *cnew, struct cache_head *citem)
static struct cache_head *ip_map_alloc(void)
static int ip_map_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
struct cache_head *h)
struct cache_head *ch;
struct cache_head *ch;
struct cache_head h;
struct cache_head *item = &ug->h;
struct cache_head *item = container_of(kref, struct cache_head, ref);
static int unix_gid_match(struct cache_head *corig, struct cache_head *cnew)
static void unix_gid_init(struct cache_head *cnew, struct cache_head *citem)
static void unix_gid_update(struct cache_head *cnew, struct cache_head *citem)
static struct cache_head *unix_gid_alloc(void)
static int unix_gid_upcall(struct cache_detail *cd, struct cache_head *h)
struct cache_head *h,
struct cache_head *ch;
struct cache_head *h)
struct cache_head *ch;
struct cache_head h;
unsigned int cache_head = cache->head;
unsigned int tick = (base_tick + event_offsets[cache_head]) % TICKS_PER_SECOND;
cache_head = (cache_head + 1) % cache_size;
cache->head = cache_head;