Lines Matching refs:cache_detail

43 static void cache_init(struct cache_head *h, struct cache_detail *detail)  in cache_init()
57 struct cache_detail *detail);
59 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
82 struct cache_detail *cd) in sunrpc_begin_cache_remove_entry()
91 struct cache_detail *cd) in sunrpc_end_cache_remove_entry()
97 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
144 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
157 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
160 struct cache_detail *detail) in cache_fresh_locked()
173 struct cache_detail *detail) in cache_fresh_unlocked()
181 static void cache_make_negative(struct cache_detail *detail, in cache_make_negative()
188 static void cache_entry_update(struct cache_detail *detail, in cache_entry_update()
200 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
265 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
296 int cache_check(struct cache_detail *detail, in cache_check()
377 static struct cache_detail *current_detail;
383 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
401 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
443 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
462 struct cache_detail *d; in cache_clean()
529 void cache_purge(struct cache_detail *detail) in cache_purge()
799 static int cache_request(struct cache_detail *detail, in cache_request()
812 loff_t *ppos, struct cache_detail *cd) in cache_read()
894 size_t count, struct cache_detail *cd) in cache_do_downcall()
910 size_t count, struct cache_detail *cd) in cache_slow_downcall()
926 size_t count, struct cache_detail *cd) in cache_downcall()
951 struct cache_detail *cd) in cache_write()
970 struct cache_detail *cd) in cache_poll()
998 struct cache_detail *cd) in cache_ioctl()
1026 struct cache_detail *cd) in cache_open()
1053 struct cache_detail *cd) in cache_release()
1087 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1176 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1185 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1208 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in cache_pipe_upcall()
1249 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1257 int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail, in sunrpc_cache_pipe_upcall_timeout()
1349 struct cache_detail *cd = m->private; in __cache_seq_start()
1377 struct cache_detail *cd = m->private; in cache_seq_next()
1428 struct cache_detail *cd = m->private; in c_show()
1458 struct cache_detail *cd) in content_open()
1478 struct cache_detail *cd) in content_release()
1486 struct cache_detail *cd) in open_flush()
1494 struct cache_detail *cd) in release_flush()
1502 struct cache_detail *cd) in read_flush()
1514 struct cache_detail *cd) in write_flush()
1558 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1566 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1573 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1582 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1589 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1596 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1613 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1620 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1634 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1641 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1649 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1658 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1671 static void remove_cache_proc_entries(struct cache_detail *cd) in remove_cache_proc_entries()
1680 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1713 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1724 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1736 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1743 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1745 struct cache_detail *cd; in cache_create_net()
1748 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1766 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1776 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1784 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1791 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1800 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1807 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1814 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1832 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1839 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1853 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1860 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1868 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1877 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1892 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1902 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1911 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()