Lines Matching refs:cache_detail

41 static bool cache_listeners_exist(struct cache_detail *detail);
43 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
58 struct cache_detail *detail);
60 struct cache_detail *detail);
62 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
83 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
133 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
146 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
149 struct cache_detail *detail) in cache_fresh_locked()
162 struct cache_detail *detail) in cache_fresh_unlocked()
170 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
220 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall()
248 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
279 int cache_check(struct cache_detail *detail, in cache_check()
363 static struct cache_detail *current_detail;
369 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
387 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
429 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
448 struct cache_detail *d; in cache_clean()
517 void cache_purge(struct cache_detail *detail) in cache_purge()
790 static int cache_request(struct cache_detail *detail, in cache_request()
803 loff_t *ppos, struct cache_detail *cd) in cache_read()
885 size_t count, struct cache_detail *cd) in cache_do_downcall()
901 size_t count, struct cache_detail *cd) in cache_slow_downcall()
917 size_t count, struct cache_detail *cd) in cache_downcall()
942 struct cache_detail *cd) in cache_write()
961 struct cache_detail *cd) in cache_poll()
989 struct cache_detail *cd) in cache_ioctl()
1017 struct cache_detail *cd) in cache_open()
1044 struct cache_detail *cd) in cache_release()
1078 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1167 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1176 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1199 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1328 struct cache_detail *cd = m->private; in __cache_seq_start()
1356 struct cache_detail *cd = m->private; in cache_seq_next()
1407 struct cache_detail *cd = m->private; in c_show()
1437 struct cache_detail *cd) in content_open()
1457 struct cache_detail *cd) in content_release()
1465 struct cache_detail *cd) in open_flush()
1473 struct cache_detail *cd) in release_flush()
1481 struct cache_detail *cd) in read_flush()
1493 struct cache_detail *cd) in write_flush()
1537 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1545 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1552 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1561 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1568 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1575 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1593 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1600 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1614 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1621 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1629 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1638 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1651 static void remove_cache_proc_entries(struct cache_detail *cd) in remove_cache_proc_entries()
1660 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1693 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1704 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1716 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1723 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1725 struct cache_detail *cd; in cache_create_net()
1728 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1746 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1756 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1764 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1771 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1780 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1787 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1794 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1812 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1819 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1833 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1840 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1848 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1857 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1872 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1882 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1891 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()