Lines Matching refs:cache_detail

45 static void cache_init(struct cache_head *h, struct cache_detail *detail)  in cache_init()
59 struct cache_detail *detail);
61 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
84 struct cache_detail *cd) in sunrpc_begin_cache_remove_entry()
93 struct cache_detail *cd) in sunrpc_end_cache_remove_entry()
99 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
146 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
159 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
162 struct cache_detail *detail) in cache_fresh_locked()
175 struct cache_detail *detail) in cache_fresh_unlocked()
183 static void cache_make_negative(struct cache_detail *detail, in cache_make_negative()
190 static void cache_entry_update(struct cache_detail *detail, in cache_entry_update()
202 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
267 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
284 int cache_check_rcu(struct cache_detail *detail, in cache_check_rcu()
344 int cache_check(struct cache_detail *detail, in cache_check()
390 static struct cache_detail *current_detail;
396 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
414 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
456 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
475 struct cache_detail *d; in cache_clean()
542 void cache_purge(struct cache_detail *detail) in cache_purge()
822 static int cache_request(struct cache_detail *detail, in cache_request()
835 loff_t *ppos, struct cache_detail *cd) in cache_read()
917 size_t count, struct cache_detail *cd) in cache_do_downcall()
934 size_t count, struct cache_detail *cd) in cache_downcall()
956 struct cache_detail *cd) in cache_write()
975 struct cache_detail *cd) in cache_poll()
1003 struct cache_detail *cd) in cache_ioctl()
1031 struct cache_detail *cd) in cache_open()
1058 struct cache_detail *cd) in cache_release()
1092 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1180 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1189 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1212 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in cache_pipe_upcall()
1253 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1261 int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail, in sunrpc_cache_pipe_upcall_timeout()
1353 struct cache_detail *cd = m->private; in __cache_seq_start()
1381 struct cache_detail *cd = m->private; in cache_seq_next()
1432 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()
1612 struct cache_detail *cd = pde_data(inode); in content_open_procfs()
1619 struct cache_detail *cd = pde_data(inode); in content_release_procfs()
1633 struct cache_detail *cd = pde_data(inode); in open_flush_procfs()
1640 struct cache_detail *cd = pde_data(inode); in release_flush_procfs()
1648 struct cache_detail *cd = pde_data(file_inode(filp)); in read_flush_procfs()
1657 struct cache_detail *cd = pde_data(file_inode(filp)); in write_flush_procfs()
1669 static void remove_cache_proc_entries(struct cache_detail *cd) in remove_cache_proc_entries()
1677 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1718 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1730 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1737 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1739 struct cache_detail *cd; in cache_create_net()
1742 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1760 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1770 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1778 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1785 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1794 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1801 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1808 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1825 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1832 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1846 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1853 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1861 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1870 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1884 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1894 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1903 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()