Lines Matching refs:cache_detail

45 static void cache_init(struct cache_head *h, struct cache_detail *detail)
59 struct cache_detail *detail);
61 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail,
84 struct cache_detail *cd)
93 struct cache_detail *cd)
99 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail,
146 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail,
159 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
162 struct cache_detail *detail)
175 struct cache_detail *detail)
183 static void cache_make_negative(struct cache_detail *detail,
190 static void cache_entry_update(struct cache_detail *detail,
202 struct cache_head *sunrpc_cache_update(struct cache_detail *detail,
267 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h)
298 int cache_check(struct cache_detail *detail,
347 * For this we maintain a list of cache_detail and
364 * cache_detail.
379 static struct cache_detail *current_detail;
385 void sunrpc_init_cache_detail(struct cache_detail *cd)
403 void sunrpc_destroy_cache_detail(struct cache_detail *cd)
445 current_detail = list_entry(next, struct cache_detail, others);
464 struct cache_detail *d;
531 void cache_purge(struct cache_detail *detail)
814 static int cache_request(struct cache_detail *detail,
827 loff_t *ppos, struct cache_detail *cd)
909 size_t count, struct cache_detail *cd)
926 size_t count, struct cache_detail *cd)
948 struct cache_detail *cd)
967 struct cache_detail *cd)
995 struct cache_detail *cd)
1023 struct cache_detail *cd)
1050 struct cache_detail *cd)
1084 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch)
1173 static void warn_no_listener(struct cache_detail *detail)
1182 static bool cache_listeners_exist(struct cache_detail *detail)
1205 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h)
1246 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h)
1254 int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail,
1346 struct cache_detail *cd = m->private;
1374 struct cache_detail *cd = m->private;
1425 struct cache_detail *cd = m->private;
1455 struct cache_detail *cd)
1475 struct cache_detail *cd)
1483 struct cache_detail *cd)
1491 struct cache_detail *cd)
1499 struct cache_detail *cd)
1511 struct cache_detail *cd)
1555 struct cache_detail *cd = pde_data(file_inode(filp));
1563 struct cache_detail *cd = pde_data(file_inode(filp));
1570 struct cache_detail *cd = pde_data(file_inode(filp));
1579 struct cache_detail *cd = pde_data(inode);
1586 struct cache_detail *cd = pde_data(inode);
1593 struct cache_detail *cd = pde_data(inode);
1610 struct cache_detail *cd = pde_data(inode);
1617 struct cache_detail *cd = pde_data(inode);
1631 struct cache_detail *cd = pde_data(inode);
1638 struct cache_detail *cd = pde_data(inode);
1646 struct cache_detail *cd = pde_data(file_inode(filp));
1655 struct cache_detail *cd = pde_data(file_inode(filp));
1668 static void remove_cache_proc_entries(struct cache_detail *cd)
1677 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net)
1710 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net)
1721 int cache_register_net(struct cache_detail *cd, struct net *net)
1733 void cache_unregister_net(struct cache_detail *cd, struct net *net)
1740 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net)
1742 struct cache_detail *cd;
1745 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL);
1763 void cache_destroy_net(struct cache_detail *cd, struct net *net)
1773 struct cache_detail *cd = RPC_I(file_inode(filp))->private;
1781 struct cache_detail *cd = RPC_I(file_inode(filp))->private;
1788 struct cache_detail *cd = RPC_I(file_inode(filp))->private;
1797 struct cache_detail *cd = RPC_I(inode)->private;
1804 struct cache_detail *cd = RPC_I(inode)->private;
1811 struct cache_detail *cd = RPC_I(inode)->private;
1829 struct cache_detail *cd = RPC_I(inode)->private;
1836 struct cache_detail *cd = RPC_I(inode)->private;
1850 struct cache_detail *cd = RPC_I(inode)->private;
1857 struct cache_detail *cd = RPC_I(inode)->private;
1865 struct cache_detail *cd = RPC_I(file_inode(filp))->private;
1874 struct cache_detail *cd = RPC_I(file_inode(filp))->private;
1889 struct cache_detail *cd)
1899 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd)
1908 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h)