/net/sunrpc/ |
D | rpc_pipe.c | 165 rpc_inode_setowner(struct inode *inode, void *private) in rpc_inode_setowner() argument 167 RPC_I(inode)->private = private; in rpc_inode_setowner() 171 rpc_close_pipes(struct inode *inode) in rpc_close_pipes() argument 173 struct rpc_pipe *pipe = RPC_I(inode)->pipe; in rpc_close_pipes() 177 inode_lock(inode); in rpc_close_pipes() 186 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); in rpc_close_pipes() 189 pipe->ops->release_pipe(inode); in rpc_close_pipes() 191 rpc_inode_setowner(inode, NULL); in rpc_close_pipes() 192 RPC_I(inode)->pipe = NULL; in rpc_close_pipes() 193 inode_unlock(inode); in rpc_close_pipes() [all …]
|
D | cache.c | 815 struct inode *inode = file_inode(filp); in cache_read() local 821 inode_lock(inode); /* protect against multiple concurrent in cache_read() 834 inode_unlock(inode); in cache_read() 888 inode_unlock(inode); in cache_read() 935 struct inode *inode = file_inode(filp); in cache_write() local 941 inode_lock(inode); in cache_write() 943 inode_unlock(inode); in cache_write() 977 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl() 1006 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument 1013 nonseekable_open(inode, filp); in cache_open() [all …]
|
D | debugfs.c | 86 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open() argument 91 struct rpc_clnt *clnt = seq->private = inode->i_private; in tasks_open() 94 seq_release(inode, filp); in tasks_open() 103 tasks_release(struct inode *inode, struct file *filp) in tasks_release() argument 109 return seq_release(inode, filp); in tasks_release() 186 xprt_info_open(struct inode *inode, struct file *filp) in xprt_info_open() argument 189 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open() 195 single_release(inode, filp); in xprt_info_open() 203 xprt_info_release(struct inode *inode, struct file *filp) in xprt_info_release() argument 205 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release() [all …]
|
D | stats.c | 67 static int rpc_proc_open(struct inode *inode, struct file *file) in rpc_proc_open() argument 69 return single_open(file, rpc_proc_show, PDE_DATA(inode)); in rpc_proc_open()
|
/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 29 minstrel_stats_release(struct inode *inode, struct file *file) in minstrel_stats_release() argument 145 minstrel_ht_stats_open(struct inode *inode, struct file *file) in minstrel_ht_stats_open() argument 147 struct minstrel_ht_sta *mi = inode->i_private; in minstrel_ht_stats_open() 182 return nonseekable_open(inode, file); in minstrel_ht_stats_open() 294 minstrel_ht_stats_csv_open(struct inode *inode, struct file *file) in minstrel_ht_stats_csv_open() argument 296 struct minstrel_ht_sta *mi = inode->i_private; in minstrel_ht_stats_csv_open() 318 return nonseekable_open(inode, file); in minstrel_ht_stats_csv_open()
|
/net/ipv4/ |
D | fib_trie.c | 451 struct key_vector *inode = get_child(tn, --i); in update_children() local 453 if (!inode) in update_children() 460 if (node_parent(inode) == tn) in update_children() 461 update_children(inode); in update_children() 463 node_set_parent(inode, tn); in update_children() 525 struct key_vector *inode = get_child(tn, --i); in replace() local 528 if (tnode_full(tn, inode)) in replace() 529 tn = resize(t, inode); in replace() 557 struct key_vector *inode = get_child(oldtnode, --i); in inflate() local 562 if (!inode) in inflate() [all …]
|
/net/qrtr/ |
D | tun.c | 31 static int qrtr_tun_open(struct inode *inode, struct file *filp) in qrtr_tun_open() argument 127 static int qrtr_tun_release(struct inode *inode, struct file *filp) in qrtr_tun_release() argument
|
/net/unix/ |
D | scm.c | 27 struct inode *inode = file_inode(filp); in unix_get_socket() local 30 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket() 31 struct socket *sock = SOCKET_I(inode); in unix_get_socket()
|
D | af_unix.c | 321 static struct sock *unix_find_socket_byinode(struct inode *i) in unix_find_socket_byinode() 1022 struct inode *inode; in unix_find_other() local 1026 inode = d_backing_inode(path.dentry); in unix_find_other() 1032 if (!S_ISSOCK(inode->i_mode)) in unix_find_other() 1034 u = unix_find_socket_byinode(inode); in unix_find_other()
|
/net/l2tp/ |
D | l2tp_debugfs.c | 269 static int l2tp_dfs_seq_open(struct inode *inode, struct file *file) in l2tp_dfs_seq_open() argument 305 static int l2tp_dfs_seq_release(struct inode *inode, struct file *file) in l2tp_dfs_seq_release() argument 315 seq_release(inode, file); in l2tp_dfs_seq_release()
|
/net/ |
D | socket.c | 118 static int sock_close(struct inode *inode, struct file *file); 299 static struct inode *sock_alloc_inode(struct super_block *sb) in sock_alloc_inode() 319 static void sock_free_inode(struct inode *inode) in sock_free_inode() argument 323 ei = container_of(inode, struct socket_alloc, vfs_inode); in sock_free_inode() 366 struct dentry *dentry, struct inode *inode, in sockfs_xattr_get() argument 388 struct dentry *dentry, struct inode *inode, in sockfs_security_xattr_set() argument 623 struct inode *inode; in sock_alloc() local 626 inode = new_inode_pseudo(sock_mnt->mnt_sb); in sock_alloc() 627 if (!inode) in sock_alloc() 630 sock = SOCKET_I(inode); in sock_alloc() [all …]
|
/net/atm/ |
D | mpoa_proc.c | 50 static int proc_mpc_open(struct inode *inode, struct file *file); 201 static int proc_mpc_open(struct inode *inode, struct file *file) in proc_mpc_open() argument
|
/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 773 static int clusterip_proc_open(struct inode *inode, struct file *file) in clusterip_proc_open() argument 779 struct clusterip_config *c = PDE_DATA(inode); in clusterip_proc_open() 789 static int clusterip_proc_release(struct inode *inode, struct file *file) in clusterip_proc_release() argument 791 struct clusterip_config *c = PDE_DATA(inode); in clusterip_proc_release() 794 ret = seq_release(inode, file); in clusterip_proc_release()
|
/net/6lowpan/ |
D | debugfs.c | 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()
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 795 static int gss_pipe_open(struct inode *inode, int new_version) in gss_pipe_open() argument 797 struct net *net = inode->i_sb->s_fs_info; in gss_pipe_open() 819 static int gss_pipe_open_v0(struct inode *inode) in gss_pipe_open_v0() argument 821 return gss_pipe_open(inode, 0); in gss_pipe_open_v0() 824 static int gss_pipe_open_v1(struct inode *inode) in gss_pipe_open_v1() argument 826 return gss_pipe_open(inode, 1); in gss_pipe_open_v1() 830 gss_pipe_release(struct inode *inode) in gss_pipe_release() argument 832 struct net *net = inode->i_sb->s_fs_info; in gss_pipe_release() 833 struct rpc_pipe *pipe = RPC_I(inode)->pipe; in gss_pipe_release()
|
/net/rfkill/ |
D | core.c | 1135 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument 1171 return stream_open(inode, file); in rfkill_fop_open() 1295 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
|
/net/netfilter/ |
D | xt_recent.c | 546 static int recent_seq_open(struct inode *inode, struct file *file) in recent_seq_open() argument 554 st->table = PDE_DATA(inode); in recent_seq_open()
|
/net/bluetooth/ |
D | 6lowpan.c | 1168 static int lowpan_control_open(struct inode *inode, struct file *file) in lowpan_control_open() argument 1170 return single_open(file, lowpan_control_show, inode->i_private); in lowpan_control_open()
|
/net/core/ |
D | pktgen.c | 546 static int pgctrl_open(struct inode *inode, struct file *file) in pgctrl_open() argument 548 return single_open(file, pgctrl_show, PDE_DATA(inode)); in pgctrl_open() 1811 static int pktgen_if_open(struct inode *inode, struct file *file) in pktgen_if_open() argument 1813 return single_open(file, pktgen_if_show, PDE_DATA(inode)); in pktgen_if_open() 1948 static int pktgen_thread_open(struct inode *inode, struct file *file) in pktgen_thread_open() argument 1950 return single_open(file, pktgen_thread_show, PDE_DATA(inode)); in pktgen_thread_open()
|
/net/netlink/ |
D | af_netlink.c | 1181 struct inode *inode = file_inode(filp); in netlink_getsockbyfilp() local 1184 if (!S_ISSOCK(inode->i_mode)) in netlink_getsockbyfilp() 1187 sock = SOCKET_I(inode)->sk; in netlink_getsockbyfilp()
|