Searched refs:file (Results 1 - 25 of 179) sorted by relevance

12345678

/net/irda/irnet/
H A Dirnet_ppp.h6 * This file contains all definitions and declarations necessary for the
8 * This file is a private header, so other modules don't want to know
21 /* /dev/irnet file constants */
54 struct file *,
59 struct file *,
64 struct file *),
66 struct file *);
68 dev_irnet_write(struct file *,
72 dev_irnet_read(struct file *,
77 dev_irnet_poll(struct file *,
[all...]
H A Dirnet_ppp.c6 * This file implement the PPP interface and /dev/irnet character device.
280 struct file * file,
316 if(file->f_flags & O_NONBLOCK)
423 struct file * file,
430 poll_wait(file, &irnet_events.rwait, wait);
455 * by the file system when some action is performed on /dev/irnet.
467 struct file * file)
279 irnet_ctrl_read(irnet_socket * ap, struct file * file, char __user * buf, size_t count) argument
422 irnet_ctrl_poll(irnet_socket * ap, struct file * file, poll_table * wait) argument
466 dev_irnet_open(struct inode * inode, struct file * file) argument
529 dev_irnet_close(struct inode * inode, struct file * file) argument
564 dev_irnet_write(struct file * file, const char __user *buf, size_t count, loff_t * ppos) argument
588 dev_irnet_read(struct file * file, char __user * buf, size_t count, loff_t * ppos) argument
611 dev_irnet_poll(struct file * file, poll_table * wait) argument
638 dev_irnet_ioctl( struct file * file, unsigned int cmd, unsigned long arg) argument
[all...]
/net/batman-adv/
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...]
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...]
/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.h136 int minstrel_stats_open(struct inode *inode, struct file *file);
137 ssize_t minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos);
138 int minstrel_stats_release(struct inode *inode, struct file *file);
H A Ddebugfs_key.c19 static ssize_t key_##name##_read(struct file *file, \
23 struct ieee80211_key *key = file->private_data; \
64 static ssize_t key_algorithm_read(struct file *file, argument
69 struct ieee80211_key *key = file->private_data;
78 static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf, argument
84 struct ieee80211_key *key = file->private_data;
115 static ssize_t key_rx_spec_read(struct file *fil argument
161 key_replays_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
183 key_icverrors_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
202 key_mic_failures_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
218 key_key_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs_sta.c23 static ssize_t sta_ ##name## _read(struct file *file, \
27 struct sta_info *sta = file->private_data; \
67 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, argument
71 struct sta_info *sta = file->private_data;
94 static ssize_t sta_num_ps_buf_frames_read(struct file *file, argument
98 struct sta_info *sta = file->private_data;
110 static ssize_t sta_inactive_ms_read(struct file *fil argument
120 sta_connected_time_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
144 sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
158 sta_agg_status_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
197 sta_agg_status_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
256 sta_ht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
338 sta_vht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
368 sta_current_tx_rate_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
383 sta_last_rx_rate_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
454 sta_tx_latency_stat_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
497 sta_tx_latency_stat_reset_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs.c30 static ssize_t sta_tx_latency_stat_read(struct file *file, argument
34 struct ieee80211_local *local = file->private_data;
98 static ssize_t sta_tx_latency_stat_write(struct file *file, argument
102 struct ieee80211_local *local = file->private_data;
202 static ssize_t name## _read(struct file *file, char __user *userbuf, \
205 struct ieee80211_local *local = file->private_data; \
241 static ssize_t reset_write(struct file *fil argument
261 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
325 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
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/
H A Dnonet.c17 static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
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/wireless/
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/ipx/
H A Dsysctl_net_ipx.c14 #error This file should not be compiled without CONFIG_SYSCTL defined
/net/atm/
H A Dproc.c35 static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
115 static int __vcc_seq_open(struct inode *inode, struct file *file, argument
120 state = __seq_open_private(file, ops, sizeof(*state));
260 static int atm_dev_seq_open(struct inode *inode, struct file *file) argument
262 return seq_open(file, &atm_dev_seq_ops);
295 static int pvc_seq_open(struct inode *inode, struct file *file) argument
329 vcc_seq_open(struct inode *inode, struct file *file) argument
364 svc_seq_open(struct inode *inode, struct file *file) argument
376 proc_dev_atm_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument
[all...]
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...]
H A Dcommon.h20 unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait);
/net/can/
H A Dproc.c276 static int can_stats_proc_open(struct inode *inode, struct file *file) argument
278 return single_open(file, can_stats_proc_show, NULL);
307 static int can_reset_stats_proc_open(struct inode *inode, struct file *file) argument
309 return single_open(file, can_reset_stats_proc_show, NULL);
326 static int can_version_proc_open(struct inode *inode, struct file *file) argument
328 return single_open(file, can_version_proc_show, NULL);
378 static int can_rcvlist_proc_open(struct inode *inode, struct file *fil argument
445 can_rcvlist_sff_proc_open(struct inode *inode, struct file *file) argument
488 can_rcvlist_eff_proc_open(struct inode *inode, struct file *file) argument
[all...]
/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/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);
/net/netfilter/
H A Dxt_owner.c15 #include <linux/file.h>
35 const struct file *filp;
46 filp = skb->sk->sk_socket->file;
/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);
/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/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/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);

Completed in 309 milliseconds

12345678