Lines Matching refs:cache_detail
54 struct cache_head *sunrpc_cache_lookup(struct cache_detail *detail, in sunrpc_cache_lookup()
120 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
131 struct cache_detail *detail) in cache_fresh_unlocked()
139 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
192 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall()
220 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
250 int cache_check(struct cache_detail *detail, in cache_check()
333 static struct cache_detail *current_detail;
339 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
357 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
407 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
426 struct cache_detail *d; in cache_clean()
493 void cache_purge(struct cache_detail *detail) in cache_purge()
744 static int cache_request(struct cache_detail *detail, in cache_request()
757 loff_t *ppos, struct cache_detail *cd) in cache_read()
839 size_t count, struct cache_detail *cd) in cache_do_downcall()
855 size_t count, struct cache_detail *cd) in cache_slow_downcall()
871 size_t count, struct cache_detail *cd) in cache_downcall()
896 struct cache_detail *cd) in cache_write()
915 struct cache_detail *cd) in cache_poll()
943 struct cache_detail *cd) in cache_ioctl()
971 struct cache_detail *cd) in cache_open()
996 struct cache_detail *cd) in cache_release()
1028 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1117 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1126 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1149 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1274 struct cache_detail *cd;
1283 struct cache_detail *cd = ((struct handle*)m->private)->cd; in c_start()
1311 struct cache_detail *cd = ((struct handle*)m->private)->cd; in c_next()
1337 struct cache_detail *cd = ((struct handle*)m->private)->cd; in c_stop()
1344 struct cache_detail *cd = ((struct handle*)m->private)->cd; in c_show()
1374 struct cache_detail *cd) in content_open()
1391 struct cache_detail *cd) in content_release()
1399 struct cache_detail *cd) in open_flush()
1407 struct cache_detail *cd) in release_flush()
1415 struct cache_detail *cd) in read_flush()
1436 struct cache_detail *cd) in write_flush()
1462 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1470 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1477 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1486 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1493 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1500 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1518 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1525 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1539 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1546 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1554 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1563 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1576 static void remove_cache_proc_entries(struct cache_detail *cd, struct net *net) in remove_cache_proc_entries()
1594 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1635 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1646 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1658 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1665 struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net) in cache_create_net()
1667 struct cache_detail *cd; in cache_create_net()
1669 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1684 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1694 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1702 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1709 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1718 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1725 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1732 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1750 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1757 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1771 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1778 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1786 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1795 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1810 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1820 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()