Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 25 of 111) sorted by relevance

12345

/net/sunrpc/
Drpc_pipe.c163 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 …]
Dcache.c773 struct inode *inode = file_inode(filp); in cache_read() local
779 mutex_lock(&inode->i_mutex); /* protect against multiple concurrent in cache_read()
792 mutex_unlock(&inode->i_mutex); in cache_read()
846 mutex_unlock(&inode->i_mutex); in cache_read()
911 struct inode *inode = file_inode(filp); in cache_write() local
917 mutex_lock(&inode->i_mutex); in cache_write()
919 mutex_unlock(&inode->i_mutex); in cache_write()
953 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
982 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument
989 nonseekable_open(inode, filp); in cache_open()
[all …]
Ddebugfs.c97 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open() argument
106 iter->clnt = inode->i_private; in tasks_open()
109 seq_release_private(inode, filp); in tasks_open()
118 tasks_release(struct inode *inode, struct file *filp) in tasks_release() argument
124 return seq_release_private(inode, filp); in tasks_release()
203 xprt_info_open(struct inode *inode, struct file *filp) in xprt_info_open() argument
206 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open()
212 single_release(inode, filp); in xprt_info_open()
220 xprt_info_release(struct inode *inode, struct file *filp) in xprt_info_release() argument
222 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release()
[all …]
/net/batman-adv/
Ddebugfs.c122 static int batadv_log_open(struct inode *inode, struct file *file) in batadv_log_open() argument
127 nonseekable_open(inode, file); in batadv_log_open()
128 file->private_data = inode->i_private; in batadv_log_open()
132 static int batadv_log_release(struct inode *inode, struct file *file) in batadv_log_release() argument
262 static int batadv_algorithms_open(struct inode *inode, struct file *file) in batadv_algorithms_open() argument
267 static int batadv_originators_open(struct inode *inode, struct file *file) in batadv_originators_open() argument
269 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open()
280 static int batadv_originators_hardif_open(struct inode *inode, in batadv_originators_hardif_open() argument
283 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open()
288 static int batadv_gateways_open(struct inode *inode, struct file *file) in batadv_gateways_open() argument
[all …]
Dicmp_socket.c63 static int batadv_socket_open(struct inode *inode, struct file *file) in batadv_socket_open() argument
71 nonseekable_open(inode, file); in batadv_socket_open()
96 socket_client->bat_priv = inode->i_private; in batadv_socket_open()
105 static int batadv_socket_release(struct inode *inode, struct file *file) in batadv_socket_release() argument
/net/bluetooth/
Dhci_debugfs.c105 static int features_open(struct inode *inode, struct file *file) in features_open() argument
107 return single_open(file, features_show, inode->i_private); in features_open()
129 static int device_id_open(struct inode *inode, struct file *file) in device_id_open() argument
131 return single_open(file, device_id_show, inode->i_private); in device_id_open()
159 static int device_list_open(struct inode *inode, struct file *file) in device_list_open() argument
161 return single_open(file, device_list_show, inode->i_private); in device_list_open()
184 static int blacklist_open(struct inode *inode, struct file *file) in blacklist_open() argument
186 return single_open(file, blacklist_show, inode->i_private); in blacklist_open()
219 static int uuids_open(struct inode *inode, struct file *file) in uuids_open() argument
221 return single_open(file, uuids_show, inode->i_private); in uuids_open()
[all …]
/net/mac80211/
Drc80211_minstrel_ht_debugfs.c108 minstrel_ht_stats_open(struct inode *inode, struct file *file) in minstrel_ht_stats_open() argument
110 struct minstrel_ht_sta_priv *msp = inode->i_private; in minstrel_ht_stats_open()
118 inode->i_private = &msp->legacy; in minstrel_ht_stats_open()
119 ret = minstrel_stats_open(inode, file); in minstrel_ht_stats_open()
120 inode->i_private = msp; in minstrel_ht_stats_open()
153 return nonseekable_open(inode, file); in minstrel_ht_stats_open()
256 minstrel_ht_stats_csv_open(struct inode *inode, struct file *file) in minstrel_ht_stats_csv_open() argument
258 struct minstrel_ht_sta_priv *msp = inode->i_private; in minstrel_ht_stats_csv_open()
266 inode->i_private = &msp->legacy; in minstrel_ht_stats_csv_open()
267 ret = minstrel_stats_csv_open(inode, file); in minstrel_ht_stats_csv_open()
[all …]
Drc80211_minstrel.h164 int minstrel_stats_open(struct inode *inode, struct file *file);
165 int minstrel_stats_csv_open(struct inode *inode, struct file *file);
167 int minstrel_stats_release(struct inode *inode, struct file *file);
Drc80211_minstrel_debugfs.c67 minstrel_stats_release(struct inode *inode, struct file *file) in minstrel_stats_release() argument
74 minstrel_stats_open(struct inode *inode, struct file *file) in minstrel_stats_open() argument
76 struct minstrel_sta_info *mi = inode->i_private; in minstrel_stats_open()
147 minstrel_stats_csv_open(struct inode *inode, struct file *file) in minstrel_stats_csv_open() argument
149 struct minstrel_sta_info *mi = inode->i_private; in minstrel_stats_csv_open()
/net/can/
Dproc.c276 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/atm/
Dproc.c115 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()
/net/sctp/
Dproc.c88 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()
533 static int sctp_remaddr_seq_open(struct inode *inode, struct file *file) in sctp_remaddr_seq_open() argument
535 return seq_open_net(inode, file, &sctp_remaddr_ops, in sctp_remaddr_seq_open()
/net/core/
Dnet-procfs.c176 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
330 static int ptype_seq_open(struct inode *inode, struct file *file) in ptype_seq_open() argument
332 return seq_open_net(inode, file, &ptype_seq_ops, in ptype_seq_open()
416 static int dev_mc_seq_open(struct inode *inode, struct file *file) in dev_mc_seq_open() argument
418 return seq_open_net(inode, file, &dev_mc_seq_ops, in dev_mc_seq_open()
/net/ipv6/
Dproc.c51 static int sockstat6_seq_open(struct inode *inode, struct file *file) in sockstat6_seq_open() argument
53 return single_open_net(inode, file, sockstat6_seq_show); in sockstat6_seq_open()
232 static int snmp6_seq_open(struct inode *inode, struct file *file) in snmp6_seq_open() argument
234 return single_open_net(inode, file, snmp6_seq_show); in snmp6_seq_open()
258 static int snmp6_dev_seq_open(struct inode *inode, struct file *file) in snmp6_dev_seq_open() argument
260 return single_open(file, snmp6_dev_seq_show, PDE_DATA(inode)); in snmp6_dev_seq_open()
/net/ipv4/
Dfib_trie.c426 struct key_vector *inode = get_child(tn, --i); in update_children() local
428 if (!inode) in update_children()
435 if (node_parent(inode) == tn) in update_children()
436 update_children(inode); in update_children()
438 node_set_parent(inode, tn); in update_children()
500 struct key_vector *inode = get_child(tn, --i); in replace() local
503 if (tnode_full(tn, inode)) in replace()
504 tn = resize(t, inode); in replace()
532 struct key_vector *inode = get_child(oldtnode, --i); in inflate() local
537 if (!inode) in inflate()
[all …]
Dproc.c80 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()
449 static int snmp_seq_open(struct inode *inode, struct file *file) in snmp_seq_open() argument
451 return single_open_net(inode, file, snmp_seq_show); in snmp_seq_open()
497 static int netstat_seq_open(struct inode *inode, struct file *file) in netstat_seq_open() argument
499 return single_open_net(inode, file, netstat_seq_show); in netstat_seq_open()
/net/x25/
Dx25_proc.c174 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/
Dvlanproc.c76 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/
Dnf_conntrack_l3proto_ipv4_compat.c201 static int ct_open(struct inode *inode, struct file *file) in ct_open() argument
203 return seq_open_net(inode, file, &ct_seq_ops, in ct_open()
315 static int exp_open(struct inode *inode, struct file *file) in exp_open() argument
317 return seq_open_net(inode, file, &exp_seq_ops, in exp_open()
408 static int ct_cpu_seq_open(struct inode *inode, struct file *file) in ct_cpu_seq_open() argument
410 return seq_open_net(inode, file, &ct_cpu_seq_ops, in ct_cpu_seq_open()
/net/appletalk/
Datalk_proc.c213 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/unix/
Dscm.c26 struct inode *inode = file_inode(filp); in unix_get_socket() local
29 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
30 struct socket *sock = SOCKET_I(inode); in unix_get_socket()
/net/xfrm/
Dxfrm_proc.c62 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/
Dipx_proc.c246 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/
Dar-proc.c96 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/
Dwext-proc.c129 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()

12345