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()
798 static int cache_request(struct cache_detail *detail, in cache_request()
811 loff_t *ppos, struct cache_detail *cd) in cache_read()
893 size_t count, struct cache_detail *cd) in cache_do_downcall()
910 size_t count, struct cache_detail *cd) in cache_downcall()
932 struct cache_detail *cd) in cache_write()
951 struct cache_detail *cd) in cache_poll()
979 struct cache_detail *cd) in cache_ioctl()
1007 struct cache_detail *cd) in cache_open()
1034 struct cache_detail *cd) in cache_release()
1068 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1157 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1166 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1189 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in cache_pipe_upcall()
1230 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1238 int sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail, in sunrpc_cache_pipe_upcall_timeout()
1330 struct cache_detail *cd = m->private; in __cache_seq_start()
1358 struct cache_detail *cd = m->private; in cache_seq_next()
1409 struct cache_detail *cd = m->private; in c_show()
1439 struct cache_detail *cd) in content_open()
1459 struct cache_detail *cd) in content_release()
1467 struct cache_detail *cd) in open_flush()
1475 struct cache_detail *cd) in release_flush()
1483 struct cache_detail *cd) in read_flush()
1495 struct cache_detail *cd) in write_flush()
1539 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1547 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1554 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1563 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1570 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1577 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1594 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1601 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1615 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1622 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1630 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1639 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1652 static void remove_cache_proc_entries(struct cache_detail *cd) in remove_cache_proc_entries()
1661 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1694 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1705 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1717 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1724 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1726 struct cache_detail *cd; in cache_create_net()
1729 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1747 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1757 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1765 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1772 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1781 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1788 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1795 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1813 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1820 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1834 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1841 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1849 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1858 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1873 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1883 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1892 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()