Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 108) sorted by relevance

12345

/net/wireless/
A Ddebugfs.c15 static ssize_t name## _read(struct file *file, char __user *userbuf, \
63 static ssize_t ht40allow_map_read(struct file *file, in ht40allow_map_read() argument
117 struct file *file,
122 struct file *file; member
153 struct file *file, in wiphy_locked_debugfs_read()
162 .file = file, in wiphy_locked_debugfs_read()
197 struct file *file,
202 struct file *file; member
229 struct file *file, char *buf, size_t bufsize, in wiphy_locked_debugfs_write() argument
232 struct file *file, in wiphy_locked_debugfs_write()
[all …]
/net/mac80211/
A Ddebugfs.c35 static ssize_t name## _read(struct file *file, char __user *userbuf, \
74 static ssize_t aqm_read(struct file *file, in aqm_read() argument
115 static ssize_t aqm_write(struct file *file, in aqm_write() argument
150 static ssize_t airtime_flags_read(struct file *file, in airtime_flags_read() argument
171 static ssize_t airtime_flags_write(struct file *file, in airtime_flags_write() argument
201 static ssize_t aql_pending_read(struct file *file, in aql_pending_read() argument
230 static ssize_t aql_txq_limit_read(struct file *file, in aql_txq_limit_read() argument
257 static ssize_t aql_txq_limit_write(struct file *file, in aql_txq_limit_write() argument
359 static ssize_t force_tx_status_read(struct file *file, in force_tx_status_read() argument
374 static ssize_t force_tx_status_write(struct file *file, in force_tx_status_write() argument
[all …]
A Ddebugfs_key.c18 static ssize_t key_##name##_read(struct file *file, \
66 static ssize_t key_algorithm_read(struct file *file, in key_algorithm_read() argument
71 struct ieee80211_key *key = file->private_data; in key_algorithm_read()
80 static ssize_t key_tx_spec_write(struct file *file, const char __user *userbuf, in key_tx_spec_write() argument
83 struct ieee80211_key *key = file->private_data; in key_tx_spec_write()
115 static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf, in key_tx_spec_read() argument
154 static ssize_t key_rx_spec_read(struct file *file, char __user *userbuf, in key_rx_spec_read() argument
222 static ssize_t key_replays_read(struct file *file, char __user *userbuf, in key_replays_read() argument
255 static ssize_t key_icverrors_read(struct file *file, char __user *userbuf, in key_icverrors_read() argument
280 static ssize_t key_mic_failures_read(struct file *file, char __user *userbuf, in key_mic_failures_read() argument
[all …]
A Ddebugfs_sta.c22 static ssize_t sta_ ##name## _read(struct file *file, \
84 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, in sta_flags_read() argument
104 static ssize_t sta_num_ps_buf_frames_read(struct file *file, in sta_num_ps_buf_frames_read() argument
120 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, in sta_last_seq_ctrl_read() argument
136 static ssize_t sta_aqm_read(struct file *file, char __user *userbuf, in sta_aqm_read() argument
190 static ssize_t sta_airtime_read(struct file *file, char __user *userbuf, in sta_airtime_read() argument
243 static ssize_t sta_aql_read(struct file *file, char __user *userbuf, in sta_aql_read() argument
278 static ssize_t sta_aql_write(struct file *file, const char __user *userbuf, in sta_aql_write() argument
348 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
429 static ssize_t sta_agg_status_write(struct file *file, in sta_agg_status_write() argument
[all …]
A Ddebugfs_netdev.c31 struct file *file, in ieee80211_if_read_sdata_handler() argument
42 struct file *file, in ieee80211_if_read_sdata() argument
67 struct file *file, in ieee80211_if_write_sdata_handler() argument
78 struct file *file, in ieee80211_if_write_sdata() argument
103 struct file *file, in ieee80211_if_read_link_handler() argument
114 struct file *file, in ieee80211_if_read_link() argument
139 struct file *file, in ieee80211_if_write_link_handler() argument
150 struct file *file, in ieee80211_if_write_link() argument
231 static ssize_t ieee80211_if_read_##name(struct file *file, \
241 static ssize_t ieee80211_if_write_##name(struct file *file, \
[all …]
A Drc80211_minstrel_ht_debugfs.c20 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) in minstrel_stats_read() argument
24 ms = file->private_data; in minstrel_stats_read()
29 minstrel_stats_release(struct inode *inode, struct file *file) in minstrel_stats_release() argument
31 kfree(file->private_data); in minstrel_stats_release()
145 minstrel_ht_stats_open(struct inode *inode, struct file *file) in minstrel_ht_stats_open() argument
156 file->private_data = ms; in minstrel_ht_stats_open()
182 return nonseekable_open(inode, file); in minstrel_ht_stats_open()
293 minstrel_ht_stats_csv_open(struct inode *inode, struct file *file) in minstrel_ht_stats_csv_open() argument
304 file->private_data = ms; in minstrel_ht_stats_csv_open()
317 return nonseekable_open(inode, file); in minstrel_ht_stats_csv_open()
/net/bluetooth/
A Dhci_debugfs.c34 static ssize_t __name ## _read(struct file *file, \
47 static ssize_t __name ## _write(struct file *file, \
276 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument
294 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() argument
502 static ssize_t force_bredr_smp_read(struct file *file, in force_bredr_smp_read() argument
515 static ssize_t force_bredr_smp_write(struct file *file, in force_bredr_smp_write() argument
747 static ssize_t force_static_address_read(struct file *file, in force_static_address_read() argument
760 static ssize_t force_static_address_write(struct file *file, in force_static_address_write() argument
1149 static ssize_t force_no_mitm_read(struct file *file, in force_no_mitm_read() argument
1162 static ssize_t force_no_mitm_write(struct file *file, in force_no_mitm_write() argument
[all …]
/net/
A Dsocket.c125 static __poll_t sock_poll(struct file *file,
129 static long compat_sock_ioctl(struct file *file,
136 static void sock_splice_eof(struct file *file);
465 struct file *file; in sock_alloc_file() local
479 sock->file = file; in sock_alloc_file()
517 struct socket *sock_from_file(struct file *file) in sock_from_file() argument
541 struct file *file; in sockfd_lookup() local
1130 static void sock_splice_eof(struct file *file) in sock_splice_eof() argument
1142 struct file *file = iocb->ki_filp; in sock_read_iter() local
1164 struct file *file = iocb->ki_filp; in sock_write_iter() local
[all …]
/net/6lowpan/
A Ddebugfs.c97 static int lowpan_ctx_pfx_show(struct seq_file *file, void *offset) in lowpan_ctx_pfx_show() argument
99 struct lowpan_iphc_ctx *ctx = file->private; in lowpan_ctx_pfx_show()
104 seq_printf(file, "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n", in lowpan_ctx_pfx_show()
118 static int lowpan_ctx_pfx_open(struct inode *inode, struct file *file) in lowpan_ctx_pfx_open() argument
120 return single_open(file, lowpan_ctx_pfx_show, inode->i_private); in lowpan_ctx_pfx_open()
123 static ssize_t lowpan_ctx_pfx_write(struct file *fp, in lowpan_ctx_pfx_write()
128 struct seq_file *file = fp->private_data; in lowpan_ctx_pfx_write() local
129 struct lowpan_iphc_ctx *ctx = file->private; in lowpan_ctx_pfx_write()
195 struct lowpan_iphc_ctx_table *t = file->private; in lowpan_context_show()
198 seq_printf(file, "%3s|%-43s|%c\n", "cid", "prefix", 'C'); in lowpan_context_show()
[all …]
/net/sunrpc/
A Dcache.c1419 return cache_seq_next(file, p, pos); in cache_seq_next_rcu()
1458 static int content_open(struct inode *inode, struct file *file, in content_open() argument
1467 err = seq_open(file, &cache_content_op); in content_open()
1473 seq = file->private_data; in content_open()
1478 static int content_release(struct inode *inode, struct file *file, in content_release() argument
1481 int ret = seq_release(inode, file); in content_release()
1486 static int open_flush(struct inode *inode, struct file *file, in open_flush() argument
1491 return nonseekable_open(inode, file); in open_flush()
1494 static int release_flush(struct inode *inode, struct file *file, in release_flush() argument
1501 static ssize_t read_flush(struct file *file, char __user *buf, in read_flush() argument
[all …]
A Drpc_pipe.c415 rpc_info_open(struct inode *inode, struct file *file) in rpc_info_open() argument
418 int ret = single_open(file, rpc_show_info, NULL); in rpc_info_open()
421 struct seq_file *m = file->private_data; in rpc_info_open()
423 spin_lock(&file->f_path.dentry->d_lock); in rpc_info_open()
424 if (!d_unhashed(file->f_path.dentry)) in rpc_info_open()
427 spin_unlock(&file->f_path.dentry->d_lock); in rpc_info_open()
430 spin_unlock(&file->f_path.dentry->d_lock); in rpc_info_open()
431 single_release(inode, file); in rpc_info_open()
439 rpc_info_release(struct inode *inode, struct file *file) in rpc_info_release() argument
441 struct seq_file *m = file->private_data; in rpc_info_release()
[all …]
A Ddebugfs.c89 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open()
106 tasks_release(struct inode *inode, struct file *filp) in tasks_release()
201 xprt_info_open(struct inode *inode, struct file *filp) in xprt_info_open()
218 xprt_info_release(struct inode *inode, struct file *filp) in xprt_info_release()
/net/handshake/
A Dhandshake-test.c196 sock->file = NULL; in handshake_req_submit_test3()
212 struct file *filp; in handshake_req_submit_test4()
225 sock->file = filp; in handshake_req_submit_test4()
246 struct file *filp; in handshake_req_submit_test5()
260 sock->file = filp; in handshake_req_submit_test5()
283 struct file *filp; in handshake_req_submit_test6()
298 sock->file = filp; in handshake_req_submit_test6()
316 struct file *filp; in handshake_req_cancel_test1()
330 sock->file = filp; in handshake_req_cancel_test1()
351 struct file *filp; in handshake_req_cancel_test2()
[all …]
/net/atm/
A Dmpoa_proc.c50 static int proc_mpc_open(struct inode *inode, struct file *file);
51 static ssize_t proc_mpc_write(struct file *file, const char __user *buff,
201 static int proc_mpc_open(struct inode *inode, struct file *file) in proc_mpc_open() argument
203 return seq_open(file, &mpc_op); in proc_mpc_open()
206 static ssize_t proc_mpc_write(struct file *file, const char __user *buff, in proc_mpc_write() argument
A Dproc.c36 static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
111 int family = (uintptr_t)(pde_data(file_inode(seq->file))); in vcc_walk()
315 static ssize_t proc_dev_atm_read(struct file *file, char __user *buf, in proc_dev_atm_read() argument
327 dev = pde_data(file_inode(file)); in proc_dev_atm_read()
A Dcommon.h20 __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait);
/net/rfkill/
A Dcore.c1162 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument
1197 file->private_data = data; in rfkill_fop_open()
1199 return stream_open(inode, file); in rfkill_fop_open()
1210 static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait) in rfkill_fop_poll() argument
1212 struct rfkill_data *data = file->private_data; in rfkill_fop_poll()
1215 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1225 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read() argument
1236 if (file->f_flags & O_NONBLOCK) { in rfkill_fop_read()
1268 static ssize_t rfkill_fop_write(struct file *file, const char __user *buf, in rfkill_fop_write() argument
1322 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
[all …]
/net/l2tp/
A Dl2tp_debugfs.c266 static int l2tp_dfs_seq_open(struct inode *inode, struct file *file) in l2tp_dfs_seq_open() argument
285 rc = seq_open(file, &l2tp_dfs_seq_ops); in l2tp_dfs_seq_open()
289 seq = file->private_data; in l2tp_dfs_seq_open()
302 static int l2tp_dfs_seq_release(struct inode *inode, struct file *file) in l2tp_dfs_seq_release() argument
307 seq = file->private_data; in l2tp_dfs_seq_release()
312 seq_release(inode, file); in l2tp_dfs_seq_release()
/net/qrtr/
A Dtun.c31 static int qrtr_tun_open(struct inode *inode, struct file *filp) in qrtr_tun_open()
61 struct file *filp = iocb->ki_filp; in qrtr_tun_read_iter()
87 struct file *filp = iocb->ki_filp; in qrtr_tun_write_iter()
114 static __poll_t qrtr_tun_poll(struct file *filp, poll_table *wait) in qrtr_tun_poll()
127 static int qrtr_tun_release(struct inode *inode, struct file *filp) in qrtr_tun_release()
/net/core/
A Dskb_fault_injection.c54 static ssize_t devname_write(struct file *file, const char __user *buffer, in devname_write() argument
75 static ssize_t devname_read(struct file *file, in devname_read() argument
A Dscm.c73 struct file **fpp; in scm_fp_copy()
113 struct file *file; in scm_fp_copy() local
115 if (fd < 0 || !(file = fget_raw(fd))) in scm_fp_copy()
118 if (io_is_uring_fops(file)) { in scm_fp_copy()
119 fput(file); in scm_fp_copy()
122 if (unix_get_socket(file)) in scm_fp_copy()
125 *fpp++ = file; in scm_fp_copy()
467 struct file *pidfd_file = NULL; in scm_pidfd_recv()
A Dnetclassid_cgroup.c71 static int update_classid_sock(const void *v, struct file *file, unsigned int n) in update_classid_sock() argument
74 struct socket *sock = sock_from_file(file); in update_classid_sock()
A Dnetprio_cgroup.c219 static int update_netprio(const void *v, struct file *file, unsigned n) in update_netprio() argument
221 struct socket *sock = sock_from_file(file); in update_netprio()
/net/ax25/
A DKconfig43 check out the file <file:Documentation/networking/ax25.rst> in the
91 the file <file:Documentation/networking/ax25.rst>. More information
110 the file <file:Documentation/networking/ax25.rst>. More information
/net/9p/
A Dtrans_fd.c144 struct file *rd;
145 struct file *wr;
554 p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in p9_pollwait()
875 struct file *file; in p9_socket_open() local
885 file = sock_alloc_file(csocket, 0, NULL); in p9_socket_open()
886 if (IS_ERR(file)) { in p9_socket_open()
890 return PTR_ERR(file); in p9_socket_open()
893 get_file(file); in p9_socket_open()
894 p->wr = p->rd = file; in p9_socket_open()

Completed in 62 milliseconds

12345