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()
402 current_detail = list_entry(next, struct cache_detail, others); in cache_clean()
421 struct cache_detail *d; in cache_clean()
490 void cache_purge(struct cache_detail *detail) in cache_purge()
763 static int cache_request(struct cache_detail *detail, in cache_request()
776 loff_t *ppos, struct cache_detail *cd) in cache_read()
858 size_t count, struct cache_detail *cd) in cache_do_downcall()
874 size_t count, struct cache_detail *cd) in cache_slow_downcall()
890 size_t count, struct cache_detail *cd) in cache_downcall()
915 struct cache_detail *cd) in cache_write()
934 struct cache_detail *cd) in cache_poll()
962 struct cache_detail *cd) in cache_ioctl()
990 struct cache_detail *cd) in cache_open()
1015 struct cache_detail *cd) in cache_release()
1047 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1136 static void warn_no_listener(struct cache_detail *detail) in warn_no_listener()
1145 static bool cache_listeners_exist(struct cache_detail *detail) in cache_listeners_exist()
1168 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1298 struct cache_detail *cd = m->private; in cache_seq_start()
1327 struct cache_detail *cd = m->private; in cache_seq_next()
1356 struct cache_detail *cd = m->private; in cache_seq_stop()
1364 struct cache_detail *cd = m->private; in c_show()
1394 struct cache_detail *cd) in content_open()
1414 struct cache_detail *cd) in content_release()
1422 struct cache_detail *cd) in open_flush()
1430 struct cache_detail *cd) in release_flush()
1438 struct cache_detail *cd) in read_flush()
1450 struct cache_detail *cd) in write_flush()
1491 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_read_procfs()
1499 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_write_procfs()
1506 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in cache_poll_procfs()
1515 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1522 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1529 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1547 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1554 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1568 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1575 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1583 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in read_flush_procfs()
1592 struct cache_detail *cd = PDE_DATA(file_inode(filp)); in write_flush_procfs()
1605 static void remove_cache_proc_entries(struct cache_detail *cd) in remove_cache_proc_entries()
1614 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1647 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1658 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1670 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1677 struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net) in cache_create_net()
1679 struct cache_detail *cd; in cache_create_net()
1682 cd = kmemdup(tmpl, sizeof(struct cache_detail), GFP_KERNEL); in cache_create_net()
1700 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
1710 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_read_pipefs()
1718 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_write_pipefs()
1725 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in cache_poll_pipefs()
1734 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1741 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1748 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1766 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1773 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1787 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1794 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1802 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in read_flush_pipefs()
1811 struct cache_detail *cd = RPC_I(file_inode(filp))->private; in write_flush_pipefs()
1826 struct cache_detail *cd) in sunrpc_cache_register_pipefs()
1836 void sunrpc_cache_unregister_pipefs(struct cache_detail *cd) in sunrpc_cache_unregister_pipefs()
1845 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()