cache_detail
int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd)
int nfs_cache_register_net(struct net *net, struct cache_detail *cd)
void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd)
void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd)
int nfs_cache_upcall(struct cache_detail *cd, char *entry_name)
extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);
extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
struct cache_detail *cd);
struct cache_detail *cd);
static void nfs_dns_request(struct cache_detail *cd,
static int nfs_dns_upcall(struct cache_detail *cd,
static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd,
static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd,
static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd,
static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen)
static int do_cache_lookup(struct cache_detail *cd,
static int do_cache_lookup_nowait(struct cache_detail *cd,
static int do_cache_lookup_wait(struct cache_detail *cd,
static struct cache_detail nfs_dns_resolve_template = {
struct cache_detail *cd = nn->nfs_dns_resolve;
struct cache_detail *nfs_dns_resolve;
exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path)
struct cache_detail *cd = nn->svc_export_cache;
static struct svc_export *exp_find(struct cache_detail *cd,
struct cache_detail *cd = nn->svc_export_cache;
struct cache_detail *cd = nn->svc_export_cache;
struct cache_detail *cd = m->private;
struct cache_detail *cd,
static const struct cache_detail svc_expkey_cache_template = {
svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item)
svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
static int svc_export_upcall(struct cache_detail *cd, struct cache_head *h)
static void svc_export_request(struct cache_detail *cd,
static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
static int expkey_upcall(struct cache_detail *cd, struct cache_head *h)
static void expkey_request(struct cache_detail *cd,
struct cache_detail *cd,
static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen)
static const struct cache_detail svc_export_cache_template = {
exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type,
exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp,
struct cache_detail *cd;
struct cache_detail *svc_expkey_cache;
struct cache_detail *svc_export_cache;
struct cache_detail *idtoname_cache;
struct cache_detail *nametoid_cache;
idtoname_upcall(struct cache_detail *cd, struct cache_head *h)
idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp,
idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h)
warn_no_idmapd(struct cache_detail *detail, int has_died)
static int idtoname_parse(struct cache_detail *, char *, int);
static struct ent *idtoname_lookup(struct cache_detail *, struct ent *);
static struct ent *idtoname_update(struct cache_detail *, struct ent *,
static const struct cache_detail idtoname_cache_template = {
idtoname_parse(struct cache_detail *cd, char *buf, int buflen)
idtoname_lookup(struct cache_detail *cd, struct ent *item)
idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old)
nametoid_upcall(struct cache_detail *cd, struct cache_head *h)
nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp,
nametoid_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h)
static struct ent *nametoid_lookup(struct cache_detail *, struct ent *);
static struct ent *nametoid_update(struct cache_detail *, struct ent *,
static int nametoid_parse(struct cache_detail *, char *, int);
static const struct cache_detail nametoid_cache_template = {
nametoid_parse(struct cache_detail *cd, char *buf, int buflen)
nametoid_lookup(struct cache_detail *cd, struct ent *item)
nametoid_update(struct cache_detail *cd, struct ent *new, struct ent *old)
struct ent *(*lookup_fn)(struct cache_detail *, struct ent *),
struct ent *key, struct cache_detail *detail, struct ent **item)
struct cache_detail *cd = seq->private;
sunrpc_cache_lookup_rcu(struct cache_detail *detail,
sunrpc_cache_update(struct cache_detail *detail,
sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail,
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)
extern int cache_check_rcu(struct cache_detail *detail,
extern int cache_check(struct cache_detail *detail,
extern void cache_purge(struct cache_detail *detail);
extern int cache_register_net(struct cache_detail *cd, struct net *net);
extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
extern struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net);
extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
extern void sunrpc_init_cache_detail(struct cache_detail *cd);
extern void sunrpc_destroy_cache_detail(struct cache_detail *cd);
umode_t, struct cache_detail *);
extern void sunrpc_cache_unregister_pipefs(struct cache_detail *);
extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);
int (*cache_upcall)(struct cache_detail *,
void (*cache_request)(struct cache_detail *cd,
int (*cache_parse)(struct cache_detail *,
struct cache_detail *cd,
void (*warn_no_listener)(struct cache_detail *cd,
struct cache_detail;
struct cache_detail *);
const struct cache_detail *cd,
const struct cache_detail *cd, \
svcauth_gss_proc_init_verf(struct cache_detail *cd, struct svc_rqst *rqstp,
static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
static int gss_proxy_save_rsc(struct cache_detail *cd,
struct cache_detail *cd;
struct cache_detail *cd = sn->rsi_cache;
struct cache_detail *cd;
struct cache_detail *cd = sn->rsc_cache;
static int rsi_upcall(struct cache_detail *cd, struct cache_head *h)
static void rsi_request(struct cache_detail *cd,
static int rsi_parse(struct cache_detail *cd,
static const struct cache_detail rsi_cache_template = {
static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item)
static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old)
static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old);
static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item);
static int rsc_upcall(struct cache_detail *cd, struct cache_head *h)
static int rsc_parse(struct cache_detail *cd,
static const struct cache_detail rsc_cache_template = {
static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item)
static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old)
gss_svc_searchbyctx(struct cache_detail *cd, struct xdr_netobj *handle)
static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail,
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch)
static void warn_no_listener(struct cache_detail *detail)
static bool cache_listeners_exist(struct cache_detail *detail)
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)
int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail,
struct cache_detail *cd = m->private;
struct cache_detail *cd = m->private;
struct cache_detail *cd = m->private;
struct cache_detail *cd)
struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail,
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd = pde_data(file_inode(filp));
struct cache_detail *cd = pde_data(file_inode(filp));
struct cache_detail *cd = pde_data(file_inode(filp));
struct cache_detail *cd = pde_data(inode);
struct cache_detail *cd = pde_data(inode);
struct cache_detail *cd = pde_data(inode);
static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
struct cache_detail *cd = pde_data(inode);
struct cache_detail *cd = pde_data(inode);
struct cache_detail *detail)
struct cache_detail *cd = pde_data(inode);
struct cache_detail *cd = pde_data(inode);
struct cache_detail *cd = pde_data(file_inode(filp));
struct cache_detail *cd = pde_data(file_inode(filp));
static void remove_cache_proc_entries(struct cache_detail *cd)
static int create_cache_proc_entries(struct cache_detail *cd, struct net *net)
int cache_register_net(struct cache_detail *cd, struct net *net)
void cache_unregister_net(struct cache_detail *cd, struct net *net)
struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net)
struct cache_detail *cd;
cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL);
void cache_destroy_net(struct cache_detail *cd, struct net *net)
struct cache_detail *detail)
struct cache_detail *cd = RPC_I(file_inode(filp))->private;
struct cache_detail *cd = RPC_I(file_inode(filp))->private;
struct cache_detail *cd = RPC_I(file_inode(filp))->private;
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(inode)->private;
static void cache_make_negative(struct cache_detail *detail,
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(inode)->private;
struct cache_detail *cd = RPC_I(file_inode(filp))->private;
struct cache_detail *cd = RPC_I(file_inode(filp))->private;
struct cache_detail *cd)
void sunrpc_cache_unregister_pipefs(struct cache_detail *cd)
void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h)
static void cache_entry_update(struct cache_detail *detail,
struct cache_head *sunrpc_cache_update(struct cache_detail *detail,
static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h)
int cache_check_rcu(struct cache_detail *detail,
int cache_check(struct cache_detail *detail,
static struct cache_detail *current_detail;
void sunrpc_init_cache_detail(struct cache_detail *cd)
void sunrpc_destroy_cache_detail(struct cache_detail *cd)
current_detail = list_entry(next, struct cache_detail, others);
static void cache_init(struct cache_head *h, struct cache_detail *detail)
struct cache_detail *d;
void cache_purge(struct cache_detail *detail)
struct cache_detail *detail);
static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail,
static int cache_request(struct cache_detail *detail,
loff_t *ppos, struct cache_detail *cd)
struct cache_detail *cd)
size_t count, struct cache_detail *cd)
size_t count, struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *cd)
struct cache_detail *ip_map_cache;
struct cache_detail *unix_gid_cache;
struct cache_detail *rsc_cache;
struct cache_detail *rsi_cache;
struct cache_detail;
umode_t umode, struct cache_detail *cd)
static const struct cache_detail ip_map_cache_template = {
struct cache_detail *cd;
struct cache_detail *cd = sn->ip_map_cache;
static int ip_map_upcall(struct cache_detail *cd, struct cache_head *h)
static void ip_map_request(struct cache_detail *cd,
static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr);
static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, time64_t expiry);
static int ip_map_parse(struct cache_detail *cd,
struct cache_detail *cd,
static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class,
static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm,
static int unix_gid_upcall(struct cache_detail *cd, struct cache_head *h)
static void unix_gid_request(struct cache_detail *cd,
static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid);
static int unix_gid_parse(struct cache_detail *cd,
struct cache_detail *cd,
static const struct cache_detail unix_gid_cache_template = {
struct cache_detail *cd;
struct cache_detail *cd = sn->unix_gid_cache;
static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid)