Searched refs:file (Results 101 - 125 of 179) sorted by relevance

12345678

/net/bridge/netfilter/
H A DKconfig120 <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
/net/dccp/
H A Ddccp.h320 unsigned int dccp_poll(struct file *file, struct socket *sock,
/net/core/
H A Dpktgen.c243 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...]
H A Dsock.c161 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...]
/net/netlink/
H A Daf_netlink.c448 struct file *file = vma->vm_file; local
449 struct socket *sock = file->private_data;
458 struct file *file = vma->vm_file; local
459 struct socket *sock = file->private_data;
471 static int netlink_mmap(struct file *file, struct socket *sock, argument
639 static unsigned int netlink_poll(struct file *file, struc argument
3029 netlink_seq_open(struct inode *inode, struct file *file) argument
[all...]
/net/
H A DKconfig20 of which are given in <file:Documentation/Changes>.
71 If you say Y here and also to "/proc file system support" and
74 /proc/sys/net/ipv4/*; the options are explained in the file
75 <file:Documentation/networking/ip-sysctl.txt>.
170 <file:Documentation/Changes> under "iptables" for the location of
321 at <file:Documentation/networking/pktgen.txt>.
/net/bluetooth/cmtp/
H A Dsock.c34 #include <linux/file.h>
250 BT_ERR("Failed to create CMTP proc file");
/net/bluetooth/hidp/
H A Dsock.c24 #include <linux/file.h>
280 BT_ERR("Failed to create HIDP proc file");
H A Dcore.c26 #include <linux/file.h>
944 get_file(session->intr_sock->file);
945 get_file(session->ctrl_sock->file);
970 fput(session->intr_sock->file);
971 fput(session->ctrl_sock->file);
/net/ceph/
H A Dpagevec.c6 #include <linux/file.h>
/net/irda/irnet/
H A Dirnet_irda.c6 * This file implement the IRDA interface of IrNET.
957 irnet_server.s.file = NULL;
1797 static int irnet_proc_open(struct inode *inode, struct file *file) argument
1799 return single_open(file, irnet_proc_show, NULL);
1846 /* Add a /proc file for irnet infos */
1874 /* Remove our /proc file */
/net/netfilter/
H A Dxt_hashlimit.c851 static int dl_proc_open(struct inode *inode, struct file *file) argument
853 int ret = seq_open(file, &dl_seq_ops);
856 struct seq_file *sf = file->private_data;
H A Dnfnetlink_queue_core.c264 if (sk->sk_socket && sk->sk_socket->file) {
265 cred = sk->sk_socket->file->f_cred;
1260 static int nfqnl_open(struct inode *inode, struct file *file) argument
1262 return seq_open_net(inode, file, &nfqnl_seq_ops,
/net/sched/
H A Dcls_flow.c194 if (skb->sk && skb->sk->sk_socket && skb->sk->sk_socket->file) {
195 kuid_t skuid = skb->sk->sk_socket->file->f_cred->fsuid;
203 if (skb->sk && skb->sk->sk_socket && skb->sk->sk_socket->file) {
204 kgid_t skgid = skb->sk->sk_socket->file->f_cred->fsgid;
/net/sunrpc/
H A Dsvc_xprt.c1318 int svc_pool_stats_open(struct svc_serv *serv, struct file *file) argument
1322 err = seq_open(file, &svc_pool_stats_seq_ops);
1324 ((struct seq_file *) file->private_data)->private = serv;
/net/ipv4/
H A Dfib_trie.c789 * (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 Droute.c229 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 Dudp.c2192 * @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/packet/
H A Daf_packet.c3619 static unsigned int packet_poll(struct file *file, struct socket *sock, argument
3624 unsigned int mask = datagram_poll(file, sock, wait);
3649 struct file *file = vma->vm_file; local
3650 struct socket *sock = file->private_data;
3659 struct file *file = vma->vm_file; local
3660 struct socket *sock = file->private_data;
3891 static int packet_mmap(struct file *fil argument
4059 packet_seq_open(struct inode *inode, struct file *file) argument
[all...]
/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c1295 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/bluetooth/bnep/
H A Dcore.c30 #include <linux/file.h>
502 fput(s->sock->file);
/net/bluetooth/
H A D6lowpan.c1222 static ssize_t lowpan_control_write(struct file *fp,
1308 static int lowpan_control_open(struct inode *inode, struct file *file) argument
1310 return single_open(file, lowpan_control_show, inode->i_private);
/net/appletalk/
H A Daarp.c1043 static int aarp_seq_open(struct inode *inode, struct file *file) argument
1045 return seq_open_private(file, &aarp_seq_ops,
/net/atm/
H A Dbr2684.c824 static int br2684_proc_open(struct inode *inode, struct file *file) argument
826 return seq_open(file, &br2684_seq_ops);
H A Dclip.c864 static int arp_seq_open(struct inode *inode, struct file *file) argument
866 return seq_open_net(inode, file, &arp_seq_ops,

Completed in 318 milliseconds

12345678