/net/core/ |
H A D | neighbour.c | 2759 static int neigh_stat_seq_open(struct inode *inode, struct file *file) argument 2761 int ret = seq_open(file, &neigh_stat_seq_ops); 2764 struct seq_file *sf = file->private_data;
|
H A D | sock.c | 161 return file_ns_capable(sk->sk_socket->file, user_ns, cap) && 2091 unsigned int sock_no_poll(struct file *file, struct socket *sock, poll_table *pt) argument 2143 int sock_no_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) argument 2234 if (sk->sk_socket && sk->sk_socket->file) 2235 if (send_sigurg(&sk->sk_socket->file->f_owner)) 2883 static int proto_seq_open(struct inode *inode, struct file *file) argument 2885 return seq_open_net(inode, file, [all...] |
H A D | pktgen.c | 243 struct proc_dir_entry *entry; /* proc file */ 480 static ssize_t pgctrl_write(struct file *file, const char __user *buf, argument 515 static int pgctrl_open(struct inode *inode, struct file *file) argument 517 return single_open(file, pgctrl_show, PDE_DATA(inode)); 852 static ssize_t pktgen_if_write(struct file *file, argument 856 struct seq_file *seq = file->private_data; 1740 static int pktgen_if_open(struct inode *inode, struct file *fil argument 1784 pktgen_thread_write(struct file *file, const char __user * user_buffer, size_t count, loff_t * offset) argument 1878 pktgen_thread_open(struct inode *inode, struct file *file) argument [all...] |
/net/decnet/ |
H A D | af_decnet.c | 1208 static unsigned int dn_poll(struct file *file, struct socket *sock, poll_table *wait) argument 1212 int mask = datagram_poll(file, sock, wait); 2313 static int dn_socket_seq_open(struct inode *inode, struct file *file) argument 2315 return seq_open_private(file, &dn_socket_seq_ops,
|
H A D | dn_route.c | 1861 static int dn_rt_cache_seq_open(struct inode *inode, struct file *file) argument 1863 return seq_open_private(file, &dn_rt_cache_seq_ops,
|
/net/ipv4/ |
H A D | fib_trie.c | 789 * (see the discussion near the top of this file) 2201 static int fib_triestat_seq_open(struct inode *inode, struct file *file) argument 2203 return single_open_net(inode, file, fib_triestat_seq_show); 2392 static int fib_trie_seq_open(struct inode *inode, struct file *file) argument 2394 return seq_open_net(inode, file, &fib_trie_seq_ops, 2500 * The format of the file is not supposed to be changed 2567 static int fib_route_seq_open(struct inode *inode, struct file *file) argument [all...] |
H A D | igmp.c | 2563 static int igmp_mc_seq_open(struct inode *inode, struct file *file) argument 2565 return seq_open_net(inode, file, &igmp_mc_seq_ops, 2714 static int igmp_mcf_seq_open(struct inode *inode, struct file *file) argument 2716 return seq_open_net(inode, file, &igmp_mcf_seq_ops,
|
H A D | ipconfig.c | 631 u8 boot_file[128]; /* Name of boot file */ 1321 static int pnp_seq_open(struct inode *indoe, struct file *file) argument 1323 return single_open(file, pnp_seq_show, NULL);
|
H A D | ipmr.c | 2508 static int ipmr_vif_open(struct inode *inode, struct file *file) argument 2510 return seq_open_net(inode, file, &ipmr_vif_seq_ops, 2676 static int ipmr_mfc_open(struct inode *inode, struct file *file) argument 2678 return seq_open_net(inode, file, &ipmr_mfc_seq_ops,
|
H A D | route.c | 229 static int rt_cache_seq_open(struct inode *inode, struct file *file) argument 231 return seq_open(file, &rt_cache_seq_ops); 320 static int rt_cpu_seq_open(struct inode *inode, struct file *file) argument 322 return seq_open(file, &rt_cpu_seq_ops); 358 static int rt_acct_proc_open(struct inode *inode, struct file *file) argument 360 return single_open(file, rt_acct_proc_show, NULL);
|
H A D | tcp.c | 450 unsigned int tcp_poll(struct file *file, struct socket *sock, poll_table *wait) argument 458 sock_poll_wait(file, sk_sleep(sk), wait); 753 timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK);
|
H A D | tcp_ipv4.c | 2160 int tcp_seq_open(struct inode *inode, struct file *file) argument 2166 err = seq_open_net(inode, file, &afinfo->seq_ops, 2171 s = ((struct seq_file *)file->private_data)->private;
|
H A D | udp.c | 2192 * @file - file struct 2203 unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait) argument 2205 unsigned int mask = datagram_poll(file, sock, wait); 2211 if ((mask & POLLRDNORM) && !(file->f_flags & O_NONBLOCK) && 2341 int udp_seq_open(struct inode *inode, struct file *file) argument 2347 err = seq_open_net(inode, file, &afinfo->seq_ops, 2352 s = ((struct seq_file *)file [all...] |
/net/ipv6/ |
H A D | ip6_fib.c | 2011 int ipv6_route_open(struct inode *inode, struct file *file) argument 2013 return seq_open_net(inode, file, &ipv6_route_seq_ops,
|
H A D | ip6mr.c | 476 static int ip6mr_vif_open(struct inode *inode, struct file *file) argument 478 return seq_open_net(inode, file, &ip6mr_vif_seq_ops, 608 static int ipmr_mfc_open(struct inode *inode, struct file *file) argument 610 return seq_open_net(inode, file, &ipmr_mfc_seq_ops,
|
H A D | mcast.c | 2692 static int igmp6_mc_seq_open(struct inode *inode, struct file *file) argument 2694 return seq_open_net(inode, file, &igmp6_mc_seq_ops, 2851 static int igmp6_mcf_seq_open(struct inode *inode, struct file *file) argument 2853 return seq_open_net(inode, file, &igmp6_mcf_seq_ops,
|
H A D | route.c | 2853 static int rt6_stats_seq_open(struct inode *inode, struct file *file) argument 2855 return single_open_net(inode, file, rt6_stats_seq_show);
|
/net/iucv/ |
H A D | af_iucv.c | 1457 unsigned int iucv_sock_poll(struct file *file, struct socket *sock, argument 1463 sock_poll_wait(file, sk_sleep(sk), wait);
|
/net/netfilter/ |
H A D | x_tables.c | 963 static int xt_table_open(struct inode *inode, struct file *file) argument 968 ret = seq_open_net(inode, file, &xt_table_seq_ops, 971 priv = ((struct seq_file *)file->private_data)->private; 1102 static int xt_match_open(struct inode *inode, struct file *file) argument 1105 trav = __seq_open_private(file, &xt_match_seq_ops, sizeof(*trav)); 1155 static int xt_target_open(struct inode *inode, struct file *file) argument 1158 trav = __seq_open_private(file, [all...] |
/net/sched/ |
H A D | sch_api.c | 50 This file consists of two interrelated parts: 68 The goal of the routines in this file is to translate 1893 static int psched_open(struct inode *inode, struct file *file) argument 1895 return single_open(file, psched_show, NULL);
|
/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 1295 static ssize_t write_gssp(struct file *file, const char __user *buf, argument 1298 struct net *net = PDE_DATA(file_inode(file)); 1323 static ssize_t read_gssp(struct file *file, char __user *buf, argument 1326 struct net *net = PDE_DATA(file_inode(file));
|
/net/sunrpc/ |
H A D | cache.c | 15 #include <linux/file.h> 711 * We have a magic /proc file - /proc/sunrpc/<cachename>/channel. 716 * Implemented by linked list of requests. Each open file has 755 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, 767 * readers on this file */ 893 static ssize_t cache_write(struct file *filp, const char __user *buf, 913 static unsigned int cache_poll(struct file *filp, poll_table *wait, 940 static int cache_ioctl(struct inode *ino, struct file *filp, 969 static int cache_open(struct inode *inode, struct file *filp, 994 static int cache_release(struct inode *inode, struct file *fil 1385 content_open(struct inode *inode, struct file *file, struct cache_detail *cd) argument 1402 content_release(struct inode *inode, struct file *file, struct cache_detail *cd) argument 1410 open_flush(struct inode *inode, struct file *file, struct cache_detail *cd) argument 1418 release_flush(struct inode *inode, struct file *file, struct cache_detail *cd) argument 1425 read_flush(struct file *file, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument 1446 write_flush(struct file *file, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument [all...] |
H A D | rpc_pipe.c | 102 ssize_t rpc_pipe_generic_upcall(struct file *filp, struct rpc_pipe_msg *msg, 129 * read on an open file for this inode. It is up to the caller to 218 rpc_pipe_open(struct inode *inode, struct file *filp) 245 rpc_pipe_release(struct inode *inode, struct file *filp) 286 rpc_pipe_read(struct file *filp, char __user *buf, size_t len, loff_t *offset) 330 rpc_pipe_write(struct file *filp, const char __user *buf, size_t len, loff_t *offset) 344 rpc_pipe_poll(struct file *filp, struct poll_table_struct *wait) 362 rpc_pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) 420 rpc_info_open(struct inode *inode, struct file *file) argument 444 rpc_info_release(struct inode *inode, struct file *file) argument 1296 rpc_dummy_info_open(struct inode *inode, struct file *file) argument [all...] |
/net/tipc/ |
H A D | socket.c | 621 * @file: file structure associated with the socket 659 static unsigned int tipc_poll(struct file *file, struct socket *sock, argument 666 sock_poll_wait(file, sk_sleep(sk), wait); 1829 * @flags: file-related flags associated with socket 1970 * @flags: file-related flags associated with socket
|
/net/unix/ |
H A D | af_unix.c | 20 * file descriptor passing hacked up from 514 static unsigned int unix_poll(struct file *, struct socket *, poll_table *); 515 static unsigned int unix_dgram_poll(struct file *, struct socket *, 1393 * Need to duplicate file references for the sake of garbage 2186 static unsigned int unix_poll(struct file *file, struct socket *sock, poll_table *wait) argument 2191 sock_poll_wait(file, sk_sleep(sk), wait); 2221 static unsigned int unix_dgram_poll(struct file *file, struct socket *sock, argument 2227 sock_poll_wait(file, sk_slee 2405 unix_seq_open(struct inode *inode, struct file *file) argument [all...] |