/net/sunrpc/ |
D | rpc_pipe.c | 163 rpc_inode_setowner(struct inode *inode, void *private) in rpc_inode_setowner() argument 165 RPC_I(inode)->private = private; in rpc_inode_setowner() 169 rpc_close_pipes(struct inode *inode) in rpc_close_pipes() argument 171 struct rpc_pipe *pipe = RPC_I(inode)->pipe; in rpc_close_pipes() 175 mutex_lock(&inode->i_mutex); in rpc_close_pipes() 184 rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); in rpc_close_pipes() 187 pipe->ops->release_pipe(inode); in rpc_close_pipes() 189 rpc_inode_setowner(inode, NULL); in rpc_close_pipes() 190 RPC_I(inode)->pipe = NULL; in rpc_close_pipes() 191 mutex_unlock(&inode->i_mutex); in rpc_close_pipes() [all …]
|
D | cache.c | 760 struct inode *inode = file_inode(filp); in cache_read() local 766 mutex_lock(&inode->i_mutex); /* protect against multiple concurrent in cache_read() 779 mutex_unlock(&inode->i_mutex); in cache_read() 833 mutex_unlock(&inode->i_mutex); in cache_read() 898 struct inode *inode = file_inode(filp); in cache_write() local 904 mutex_lock(&inode->i_mutex); in cache_write() 906 mutex_unlock(&inode->i_mutex); in cache_write() 940 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl() 969 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument 976 nonseekable_open(inode, filp); in cache_open() [all …]
|
/net/batman-adv/ |
D | debugfs.c | 100 static int batadv_log_open(struct inode *inode, struct file *file) in batadv_log_open() argument 105 nonseekable_open(inode, file); in batadv_log_open() 106 file->private_data = inode->i_private; in batadv_log_open() 110 static int batadv_log_release(struct inode *inode, struct file *file) in batadv_log_release() argument 240 static int batadv_algorithms_open(struct inode *inode, struct file *file) in batadv_algorithms_open() argument 245 static int batadv_originators_open(struct inode *inode, struct file *file) in batadv_originators_open() argument 247 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() 258 static int batadv_originators_hardif_open(struct inode *inode, in batadv_originators_hardif_open() argument 261 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open() 266 static int batadv_gateways_open(struct inode *inode, struct file *file) in batadv_gateways_open() argument [all …]
|
D | icmp_socket.c | 38 static int batadv_socket_open(struct inode *inode, struct file *file) in batadv_socket_open() argument 46 nonseekable_open(inode, file); in batadv_socket_open() 71 socket_client->bat_priv = inode->i_private; in batadv_socket_open() 80 static int batadv_socket_release(struct inode *inode, struct file *file) in batadv_socket_release() argument
|
/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 82 minstrel_ht_stats_open(struct inode *inode, struct file *file) in minstrel_ht_stats_open() argument 84 struct minstrel_ht_sta_priv *msp = inode->i_private; in minstrel_ht_stats_open() 93 inode->i_private = &msp->legacy; in minstrel_ht_stats_open() 94 ret = minstrel_stats_open(inode, file); in minstrel_ht_stats_open() 95 inode->i_private = msp; in minstrel_ht_stats_open() 124 return nonseekable_open(inode, file); in minstrel_ht_stats_open()
|
D | rc80211_minstrel_debugfs.c | 58 minstrel_stats_open(struct inode *inode, struct file *file) in minstrel_stats_open() argument 60 struct minstrel_sta_info *mi = inode->i_private; in minstrel_stats_open() 120 minstrel_stats_release(struct inode *inode, struct file *file) in minstrel_stats_release() argument
|
D | rc80211_minstrel.h | 136 int minstrel_stats_open(struct inode *inode, struct file *file); 138 int minstrel_stats_release(struct inode *inode, struct file *file);
|
/net/can/ |
D | proc.c | 276 static int can_stats_proc_open(struct inode *inode, struct file *file) in can_stats_proc_open() argument 307 static int can_reset_stats_proc_open(struct inode *inode, struct file *file) in can_reset_stats_proc_open() argument 326 static int can_version_proc_open(struct inode *inode, struct file *file) in can_version_proc_open() argument 378 static int can_rcvlist_proc_open(struct inode *inode, struct file *file) in can_rcvlist_proc_open() argument 380 return single_open(file, can_rcvlist_proc_show, PDE_DATA(inode)); in can_rcvlist_proc_open() 445 static int can_rcvlist_sff_proc_open(struct inode *inode, struct file *file) in can_rcvlist_sff_proc_open() argument 488 static int can_rcvlist_eff_proc_open(struct inode *inode, struct file *file) in can_rcvlist_eff_proc_open() argument
|
/net/core/ |
D | net-procfs.c | 176 static int dev_seq_open(struct inode *inode, struct file *file) in dev_seq_open() argument 178 return seq_open_net(inode, file, &dev_seq_ops, in dev_seq_open() 197 static int softnet_seq_open(struct inode *inode, struct file *file) in softnet_seq_open() argument 300 static int ptype_seq_open(struct inode *inode, struct file *file) in ptype_seq_open() argument 302 return seq_open_net(inode, file, &ptype_seq_ops, in ptype_seq_open() 386 static int dev_mc_seq_open(struct inode *inode, struct file *file) in dev_mc_seq_open() argument 388 return seq_open_net(inode, file, &dev_mc_seq_ops, in dev_mc_seq_open()
|
/net/atm/ |
D | proc.c | 115 static int __vcc_seq_open(struct inode *inode, struct file *file, in __vcc_seq_open() argument 260 static int atm_dev_seq_open(struct inode *inode, struct file *file) in atm_dev_seq_open() argument 295 static int pvc_seq_open(struct inode *inode, struct file *file) in pvc_seq_open() argument 297 return __vcc_seq_open(inode, file, PF_ATMPVC, &pvc_seq_ops); in pvc_seq_open() 329 static int vcc_seq_open(struct inode *inode, struct file *file) in vcc_seq_open() argument 331 return __vcc_seq_open(inode, file, 0, &vcc_seq_ops); in vcc_seq_open() 364 static int svc_seq_open(struct inode *inode, struct file *file) in svc_seq_open() argument 366 return __vcc_seq_open(inode, file, PF_ATMSVC, &svc_seq_ops); in svc_seq_open()
|
D | mpoa_proc.c | 49 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/sctp/ |
D | proc.c | 88 static int sctp_snmp_seq_open(struct inode *inode, struct file *file) in sctp_snmp_seq_open() argument 90 return single_open_net(inode, file, sctp_snmp_seq_show); in sctp_snmp_seq_open() 252 static int sctp_eps_seq_open(struct inode *inode, struct file *file) in sctp_eps_seq_open() argument 254 return seq_open_net(inode, file, &sctp_eps_ops, in sctp_eps_seq_open() 378 static int sctp_assocs_seq_open(struct inode *inode, struct file *file) in sctp_assocs_seq_open() argument 380 return seq_open_net(inode, file, &sctp_assoc_ops, in sctp_assocs_seq_open() 527 static int sctp_remaddr_seq_open(struct inode *inode, struct file *file) in sctp_remaddr_seq_open() argument 529 return seq_open_net(inode, file, &sctp_remaddr_ops, in sctp_remaddr_seq_open()
|
/net/ipv6/ |
D | proc.c | 50 static int sockstat6_seq_open(struct inode *inode, struct file *file) in sockstat6_seq_open() argument 52 return single_open_net(inode, file, sockstat6_seq_show); in sockstat6_seq_open() 230 static int snmp6_seq_open(struct inode *inode, struct file *file) in snmp6_seq_open() argument 232 return single_open_net(inode, file, snmp6_seq_show); in snmp6_seq_open() 256 static int snmp6_dev_seq_open(struct inode *inode, struct file *file) in snmp6_dev_seq_open() argument 258 return single_open(file, snmp6_dev_seq_show, PDE_DATA(inode)); in snmp6_dev_seq_open()
|
/net/x25/ |
D | x25_proc.c | 174 static int x25_seq_socket_open(struct inode *inode, struct file *file) in x25_seq_socket_open() argument 179 static int x25_seq_route_open(struct inode *inode, struct file *file) in x25_seq_route_open() argument 184 static int x25_seq_forward_open(struct inode *inode, struct file *file) in x25_seq_forward_open() argument
|
/net/8021q/ |
D | vlanproc.c | 76 static int vlan_seq_open(struct inode *inode, struct file *file) in vlan_seq_open() argument 78 return seq_open_net(inode, file, &vlan_seq_ops, in vlan_seq_open() 94 static int vlandev_seq_open(struct inode *inode, struct file *file) in vlandev_seq_open() argument 96 return single_open(file, vlandev_seq_show, PDE_DATA(inode)); in vlandev_seq_open()
|
/net/ipv4/netfilter/ |
D | nf_conntrack_l3proto_ipv4_compat.c | 198 static int ct_open(struct inode *inode, struct file *file) in ct_open() argument 200 return seq_open_net(inode, file, &ct_seq_ops, in ct_open() 310 static int exp_open(struct inode *inode, struct file *file) in exp_open() argument 312 return seq_open_net(inode, file, &exp_seq_ops, in exp_open() 403 static int ct_cpu_seq_open(struct inode *inode, struct file *file) in ct_cpu_seq_open() argument 405 return seq_open_net(inode, file, &ct_cpu_seq_ops, in ct_cpu_seq_open()
|
/net/appletalk/ |
D | atalk_proc.c | 213 static int atalk_seq_interface_open(struct inode *inode, struct file *file) in atalk_seq_interface_open() argument 218 static int atalk_seq_route_open(struct inode *inode, struct file *file) in atalk_seq_route_open() argument 223 static int atalk_seq_socket_open(struct inode *inode, struct file *file) in atalk_seq_socket_open() argument
|
/net/ipv4/ |
D | fib_trie.c | 723 struct tnode *inode; in inflate() local 725 inode = (struct tnode *) tnode_get_child(oldtnode, i); in inflate() 726 if (inode && in inflate() 727 IS_TNODE(inode) && in inflate() 728 inode->pos == oldtnode->pos + oldtnode->bits && in inflate() 729 inode->bits > 1) { in inflate() 731 t_key m = ~0U << (KEYLENGTH - 1) >> inode->pos; in inflate() 733 left = tnode_new(inode->key&(~m), inode->pos + 1, in inflate() 734 inode->bits - 1); in inflate() 738 right = tnode_new(inode->key|m, inode->pos + 1, in inflate() [all …]
|
D | proc.c | 80 static int sockstat_seq_open(struct inode *inode, struct file *file) in sockstat_seq_open() argument 82 return single_open_net(inode, file, sockstat_seq_show); in sockstat_seq_open() 432 static int snmp_seq_open(struct inode *inode, struct file *file) in snmp_seq_open() argument 434 return single_open_net(inode, file, snmp_seq_show); in snmp_seq_open() 480 static int netstat_seq_open(struct inode *inode, struct file *file) in netstat_seq_open() argument 482 return single_open_net(inode, file, netstat_seq_show); in netstat_seq_open()
|
/net/ |
D | activity_stats.c | 95 static int activity_stats_open(struct inode *inode, struct file *file) in activity_stats_open() argument 97 return single_open(file, activity_stats_show, PDE_DATA(inode)); in activity_stats_open()
|
/net/xfrm/ |
D | xfrm_proc.c | 62 static int xfrm_statistics_seq_open(struct inode *inode, struct file *file) in xfrm_statistics_seq_open() argument 64 return single_open_net(inode, file, xfrm_statistics_seq_show); in xfrm_statistics_seq_open()
|
/net/ipx/ |
D | ipx_proc.c | 246 static int ipx_seq_route_open(struct inode *inode, struct file *file) in ipx_seq_route_open() argument 251 static int ipx_seq_interface_open(struct inode *inode, struct file *file) in ipx_seq_interface_open() argument 256 static int ipx_seq_socket_open(struct inode *inode, struct file *file) in ipx_seq_socket_open() argument
|
/net/rxrpc/ |
D | ar-proc.c | 96 static int rxrpc_call_seq_open(struct inode *inode, struct file *file) in rxrpc_call_seq_open() argument 181 static int rxrpc_connection_seq_open(struct inode *inode, struct file *file) in rxrpc_connection_seq_open() argument
|
/net/wireless/ |
D | wext-proc.c | 129 static int seq_open_wireless(struct inode *inode, struct file *file) in seq_open_wireless() argument 131 return seq_open_net(inode, file, &wireless_seq_ops, in seq_open_wireless()
|
/net/l2tp/ |
D | l2tp_debugfs.c | 257 static int l2tp_dfs_seq_open(struct inode *inode, struct file *file) in l2tp_dfs_seq_open() argument 293 static int l2tp_dfs_seq_release(struct inode *inode, struct file *file) in l2tp_dfs_seq_release() argument 303 seq_release(inode, file); in l2tp_dfs_seq_release()
|