Lines Matching refs:cache_detail

44 static void cache_init(struct cache_head *h, struct cache_detail *detail)  in cache_init()
57 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);
123 struct cache_detail *detail) in cache_fresh_locked()
136 struct cache_detail *detail) in cache_fresh_unlocked()
144 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
194 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall()
222 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
253 int cache_check(struct cache_detail *detail, in cache_check()
336 static struct cache_detail *current_detail;
342 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail()
360 void sunrpc_destroy_cache_detail(struct cache_detail *cd) in sunrpc_destroy_cache_detail()
410 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
429 struct cache_detail *d; in cache_clean()
497 void cache_purge(struct cache_detail *detail) in cache_purge()
751 static int cache_request(struct cache_detail *detail, in cache_request()
764 loff_t *ppos, struct cache_detail *cd) in cache_read()
846 size_t count, struct cache_detail *cd) in cache_do_downcall()
862 size_t count, struct cache_detail *cd) in cache_slow_downcall()
878 size_t count, struct cache_detail *cd) in cache_downcall()
903 struct cache_detail *cd) in cache_write()
922 struct cache_detail *cd) in cache_poll()
950 struct cache_detail *cd) in cache_ioctl()
978 struct cache_detail *cd) in cache_open()
1003 struct cache_detail *cd) in cache_release()
1035 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1124 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1133 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1156 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1286 struct cache_detail *cd = m->private; in cache_seq_start()
1315 struct cache_detail *cd = m->private; in cache_seq_next()
1344 struct cache_detail *cd = m->private; in cache_seq_stop()
1352 struct cache_detail *cd = m->private; in c_show()
1382 struct cache_detail *cd) in content_open()
1402 struct cache_detail *cd) in content_release()
1410 struct cache_detail *cd) in open_flush()
1418 struct cache_detail *cd) in release_flush()
1426 struct cache_detail *cd) in read_flush()
1447 struct cache_detail *cd) in write_flush()
1488 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1496 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1503 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1512 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1519 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1526 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1544 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1551 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1565 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1572 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1580 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1589 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1602 static void remove_cache_proc_entries(struct cache_detail *cd, struct net *net) in remove_cache_proc_entries()
1620 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1661 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1672 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1684 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1691 struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net) in cache_create_net()
1693 struct cache_detail *cd; in cache_create_net()
1696 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1714 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1724 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1732 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1739 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1748 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1755 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1762 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1780 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1787 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1801 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1808 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1816 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1825 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1840 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1850 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()