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()
298 int cache_check(struct cache_detail *detail, in cache_check()
379 static struct cache_detail *current_detail;
385 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
403 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
445 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
464 struct cache_detail *d; in cache_clean()
531 void cache_purge(struct cache_detail *detail) in cache_purge()
814 static int cache_request(struct cache_detail *detail, in cache_request()
827 loff_t *ppos, struct cache_detail *cd) in cache_read()
909 size_t count, struct cache_detail *cd) in cache_do_downcall()
926 size_t count, struct cache_detail *cd) in cache_downcall()
948 struct cache_detail *cd) in cache_write()
967 struct cache_detail *cd) in cache_poll()
995 struct cache_detail *cd) in cache_ioctl()
1023 struct cache_detail *cd) in cache_open()
1050 struct cache_detail *cd) in cache_release()
1084 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1173 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1182 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1205 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in cache_pipe_upcall()
1246 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1254 int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail, in sunrpc_cache_pipe_upcall_timeout()
1346 struct cache_detail *cd = m->private; in __cache_seq_start()
1374 struct cache_detail *cd = m->private; in cache_seq_next()
1425 struct cache_detail *cd = m->private; in c_show()
1455 struct cache_detail *cd) in content_open()
1475 struct cache_detail *cd) in content_release()
1483 struct cache_detail *cd) in open_flush()
1491 struct cache_detail *cd) in release_flush()
1499 struct cache_detail *cd) in read_flush()
1511 struct cache_detail *cd) in write_flush()
1555 struct cache_detail *cd = pde_data(file_inode(filp)); in cache_read_procfs()
1563 struct cache_detail *cd = pde_data(file_inode(filp)); in cache_write_procfs()
1570 struct cache_detail *cd = pde_data(file_inode(filp)); in cache_poll_procfs()
1579 struct cache_detail *cd = pde_data(inode); in cache_ioctl_procfs()
1586 struct cache_detail *cd = pde_data(inode); in cache_open_procfs()
1593 struct cache_detail *cd = pde_data(inode); in cache_release_procfs()
1610 struct cache_detail *cd = pde_data(inode); in content_open_procfs()
1617 struct cache_detail *cd = pde_data(inode); in content_release_procfs()
1631 struct cache_detail *cd = pde_data(inode); in open_flush_procfs()
1638 struct cache_detail *cd = pde_data(inode); in release_flush_procfs()
1646 struct cache_detail *cd = pde_data(file_inode(filp)); in read_flush_procfs()
1655 struct cache_detail *cd = pde_data(file_inode(filp)); in write_flush_procfs()
1668 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()
1710 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1721 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1733 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1740 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1742 struct cache_detail *cd; in cache_create_net()
1745 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1763 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1773 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1781 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1788 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1797 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1804 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1811 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1829 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1836 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1850 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1857 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1865 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1874 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1889 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1899 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1908 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()