/net/xfrm/ |
H A D | xfrm_proc.c | 62 static int xfrm_statistics_seq_open(struct inode *inode, struct file *file) argument 64 return single_open_net(inode, file, xfrm_statistics_seq_show);
|
/net/wireless/ |
H A D | wext-proc.c | 2 * This file implement the Wireless Extensions proc API. 7 * (As all part of the Linux kernel, this file is GPL) 11 * The /proc/net/wireless file is a human readable user-space interface 16 * The content of the file is basically the content of "struct iw_statistics". 129 static int seq_open_wireless(struct inode *inode, struct file *file) argument 131 return seq_open_net(inode, file, &wireless_seq_ops,
|
H A D | debugfs.c | 17 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 20 struct wiphy *wiphy= file->private_data; \ 65 static ssize_t ht40allow_map_read(struct file *file, argument 69 struct wiphy *wiphy = file->private_data;
|
/net/ |
H A D | activity_stats.c | 95 static int activity_stats_open(struct inode *inode, struct file *file) argument 97 return single_open(file, activity_stats_show, PDE_DATA(inode));
|
/net/ax25/ |
H A D | ax25_uid.c | 192 static int ax25_uid_info_open(struct inode *inode, struct file *file) argument 194 return seq_open(file, &ax25_uid_seqops);
|
H A D | ax25_route.c | 333 static int ax25_rt_info_open(struct inode *inode, struct file *file) argument 335 return seq_open(file, &ax25_rt_seqops);
|
/net/core/ |
H A D | netclassid_cgroup.c | 58 static int update_classid(const void *v, struct file *file, unsigned n) argument 61 struct socket *sock = sock_from_file(file, &err);
|
H A D | scm.c | 21 #include <linux/file.h> 71 struct file **fpp; 103 struct file *file; local 105 if (fd < 0 || !(file = fget_raw(fd))) 107 *fpp++ = file; 256 struct file **fp = scm->fp->fp; 290 /* Bump the usage count and install the file. */
|
/net/mac80211/ |
H A D | rc80211_minstrel_debugfs.c | 58 minstrel_stats_open(struct inode *inode, struct file *file) argument 69 file->private_data = ms; 111 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 115 ms = file->private_data; 120 minstrel_stats_release(struct inode *inode, struct file *file) argument 122 kfree(file->private_data);
|
H A D | rc80211_minstrel_ht_debugfs.c | 82 minstrel_ht_stats_open(struct inode *inode, struct file *file) argument 94 ret = minstrel_stats_open(inode, file); 103 file->private_data = ms; 124 return nonseekable_open(inode, file);
|
/net/rxrpc/ |
H A D | ar-proc.c | 96 static int rxrpc_call_seq_open(struct inode *inode, struct file *file) argument 98 return seq_open(file, &rxrpc_call_seq_ops); 181 static int rxrpc_connection_seq_open(struct inode *inode, struct file *file) argument 183 return seq_open(file, &rxrpc_connection_seq_ops);
|
/net/8021q/ |
H A D | vlanproc.c | 66 * Generic /proc/net/vlan/<file> file and inode operations 76 static int vlan_seq_open(struct inode *inode, struct file *file) argument 78 return seq_open_net(inode, file, &vlan_seq_ops, 91 * /proc/net/vlan/<device> file and inode operations 94 static int vlandev_seq_open(struct inode *inode, struct file *file) argument 96 return single_open(file, vlandev_seq_show, PDE_DATA(inode));
|
/net/appletalk/ |
H A D | atalk_proc.c | 213 static int atalk_seq_interface_open(struct inode *inode, struct file *file) argument 215 return seq_open(file, &atalk_seq_interface_ops); 218 static int atalk_seq_route_open(struct inode *inode, struct file *file) argument 220 return seq_open(file, &atalk_seq_route_ops); 223 static int atalk_seq_socket_open(struct inode *inode, struct file *file) argument 225 return seq_open(file, &atalk_seq_socket_ops);
|
/net/batman-adv/ |
H A D | icmp_socket.c | 38 static int batadv_socket_open(struct inode *inode, struct file *file) argument 46 nonseekable_open(inode, file); 75 file->private_data = socket_client; 80 static int batadv_socket_release(struct inode *inode, struct file *file) argument 82 struct batadv_socket_client *socket_client = file->private_data; 106 static ssize_t batadv_socket_read(struct file *file, char __user *buf, argument 109 struct batadv_socket_client *socket_client = file 149 batadv_socket_write(struct file *file, const char __user *buff, size_t len, loff_t *off) argument 274 batadv_socket_poll(struct file *file, poll_table *wait) argument [all...] |
H A D | debugfs.c | 100 static int batadv_log_open(struct inode *inode, struct file *file) argument 105 nonseekable_open(inode, file); 106 file->private_data = inode->i_private; 110 static int batadv_log_release(struct inode *inode, struct file *file) argument 121 static ssize_t batadv_log_read(struct file *file, char __user *buf, argument 124 struct batadv_priv *bat_priv = file->private_data; 130 if ((file 176 batadv_log_poll(struct file *file, poll_table *wait) argument 240 batadv_algorithms_open(struct inode *inode, struct file *file) argument 245 batadv_originators_open(struct inode *inode, struct file *file) argument 258 batadv_originators_hardif_open(struct inode *inode, struct file *file) argument 266 batadv_gateways_open(struct inode *inode, struct file *file) argument 273 batadv_transtable_global_open(struct inode *inode, struct file *file) argument 281 batadv_bla_claim_table_open(struct inode *inode, struct file *file) argument 289 batadv_bla_backbone_table_open(struct inode *inode, struct file *file) argument 306 batadv_dat_cache_open(struct inode *inode, struct file *file) argument 314 batadv_transtable_local_open(struct inode *inode, struct file *file) argument 327 batadv_nc_nodes_open(struct inode *inode, struct file *file) argument 419 struct dentry *file; local 460 struct dentry *file; local 509 struct dentry *file; local [all...] |
/net/dccp/ |
H A D | probe.c | 111 static int dccpprobe_open(struct inode *inode, struct file *file) argument 118 static ssize_t dccpprobe_read(struct file *file, char __user *buf, argument
|
/net/ipv4/ |
H A D | proc.c | 6 * This file implements the various access functions for the 7 * PROC file system. It is mainly used for debugging and 80 static int sockstat_seq_open(struct inode *inode, struct file *file) argument 82 return single_open_net(inode, file, sockstat_seq_show); 432 static int snmp_seq_open(struct inode *inode, struct file *file) argument 434 return single_open_net(inode, file, snmp_seq_show); 480 static int netstat_seq_open(struct inode *inode, struct file *file) argument [all...] |
/net/ipx/ |
H A D | ipx_proc.c | 246 static int ipx_seq_route_open(struct inode *inode, struct file *file) argument 248 return seq_open(file, &ipx_seq_route_ops); 251 static int ipx_seq_interface_open(struct inode *inode, struct file *file) argument 253 return seq_open(file, &ipx_seq_interface_ops); 256 static int ipx_seq_socket_open(struct inode *inode, struct file *file) argument 258 return seq_open(file, &ipx_seq_socket_ops);
|
/net/irda/ |
H A D | discovery.c | 407 static int discovery_seq_open(struct inode *inode, struct file *file) argument 411 return seq_open(file, &discovery_seq_ops);
|
/net/l2tp/ |
H A D | l2tp_debugfs.c | 257 static int l2tp_dfs_seq_open(struct inode *inode, struct file *file) argument 268 * file. 276 rc = seq_open(file, &l2tp_dfs_seq_ops); 280 seq = file->private_data; 293 static int l2tp_dfs_seq_release(struct inode *inode, struct file *file) argument 298 seq = file->private_data; 303 seq_release(inode, file);
|
/net/llc/ |
H A D | llc_proc.c | 217 static int llc_seq_socket_open(struct inode *inode, struct file *file) argument 219 return seq_open(file, &llc_seq_socket_ops); 222 static int llc_seq_core_open(struct inode *inode, struct file *file) argument 224 return seq_open(file, &llc_seq_core_ops);
|
/net/sctp/ |
H A D | objcnt.c | 4 * This file is part of the SCTP kernel implementation 23 * along with GNU CC; see the file COPYING. If not, see 113 static int sctp_objcnt_seq_open(struct inode *inode, struct file *file) argument 115 return seq_open(file, &sctp_objcnt_seq_ops);
|
H A D | probe.c | 85 static int sctpprobe_open(struct inode *inode, struct file *file) argument 93 static ssize_t sctpprobe_read(struct file *file, char __user *buf, argument
|
/net/x25/ |
H A D | x25_proc.c | 174 static int x25_seq_socket_open(struct inode *inode, struct file *file) argument 176 return seq_open(file, &x25_seq_socket_ops); 179 static int x25_seq_route_open(struct inode *inode, struct file *file) argument 181 return seq_open(file, &x25_seq_route_ops); 184 static int x25_seq_forward_open(struct inode *inode, struct file *file) argument 186 return seq_open(file, &x25_seq_forward_ops);
|
/net/atm/ |
H A D | mpoa_proc.c | 21 * file system statistics 44 #define STAT_FILE_NAME "mpc" /* Our statistic file's name */ 49 static int proc_mpc_open(struct inode *inode, struct file *file); 50 static ssize_t proc_mpc_write(struct file *file, const char __user *buff, 132 * READING function - called when the /proc/atm/mpoa file is read from. 201 static int proc_mpc_open(struct inode *inode, struct file *file) argument 203 return seq_open(file, 206 proc_mpc_write(struct file *file, const char __user *buff, size_t nbytes, loff_t *ppos) argument [all...] |