Searched defs:file (Results 1 - 25 of 135) sorted by relevance

123456

/net/xfrm/
H A Dxfrm_proc.c62 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 Dwext-proc.c2 * 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 Ddebugfs.c17 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 Dactivity_stats.c95 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 Dax25_uid.c192 static int ax25_uid_info_open(struct inode *inode, struct file *file) argument
194 return seq_open(file, &ax25_uid_seqops);
H A Dax25_route.c333 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 Dnetclassid_cgroup.c58 static int update_classid(const void *v, struct file *file, unsigned n) argument
61 struct socket *sock = sock_from_file(file, &err);
H A Dscm.c21 #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 Drc80211_minstrel_debugfs.c58 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 Drc80211_minstrel_ht_debugfs.c82 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 Dar-proc.c96 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 Dvlanproc.c66 * 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 Datalk_proc.c213 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 Dicmp_socket.c38 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 Ddebugfs.c100 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 Dprobe.c111 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 Dproc.c6 * 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 Dipx_proc.c246 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 Ddiscovery.c407 static int discovery_seq_open(struct inode *inode, struct file *file) argument
411 return seq_open(file, &discovery_seq_ops);
/net/l2tp/
H A Dl2tp_debugfs.c257 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 Dllc_proc.c217 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 Dobjcnt.c4 * 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 Dprobe.c85 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 Dx25_proc.c174 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 Dmpoa_proc.c21 * 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...]

Completed in 334 milliseconds

123456