Home
last modified time | relevance | path

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

12345

/net/batman-adv/
Ddebugfs.c50 static int batadv_algorithms_open(struct inode *inode, struct file *file) in batadv_algorithms_open() argument
55 static int neighbors_open(struct inode *inode, struct file *file) in neighbors_open() argument
57 struct net_device *net_dev = (struct net_device *)inode->i_private; in neighbors_open()
62 static int batadv_originators_open(struct inode *inode, struct file *file) in batadv_originators_open() argument
64 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open()
77 static int batadv_originators_hardif_open(struct inode *inode, in batadv_originators_hardif_open() argument
80 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open()
85 static int batadv_gateways_open(struct inode *inode, struct file *file) in batadv_gateways_open() argument
87 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open()
92 static int batadv_transtable_global_open(struct inode *inode, struct file *file) in batadv_transtable_global_open() argument
[all …]
Dlog.c103 static int batadv_log_open(struct inode *inode, struct file *file) in batadv_log_open() argument
108 nonseekable_open(inode, file); in batadv_log_open()
109 file->private_data = inode->i_private; in batadv_log_open()
113 static int batadv_log_release(struct inode *inode, struct file *file) in batadv_log_release() argument
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/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 inode_lock(inode); 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 inode_unlock(inode); in rpc_close_pipes()
[all …]
Dcache.c785 struct inode *inode = file_inode(filp); in cache_read() local
791 inode_lock(inode); /* protect against multiple concurrent in cache_read()
804 inode_unlock(inode); in cache_read()
858 inode_unlock(inode); in cache_read()
923 struct inode *inode = file_inode(filp); in cache_write() local
929 inode_lock(inode); in cache_write()
931 inode_unlock(inode); in cache_write()
965 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
994 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument
1001 nonseekable_open(inode, filp); in cache_open()
[all …]
Ddebugfs.c87 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open() argument
92 struct rpc_clnt *clnt = seq->private = inode->i_private; in tasks_open()
95 seq_release(inode, filp); in tasks_open()
104 tasks_release(struct inode *inode, struct file *filp) in tasks_release() argument
110 return seq_release(inode, filp); in tasks_release()
189 xprt_info_open(struct inode *inode, struct file *filp) in xprt_info_open() argument
192 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open()
198 single_release(inode, filp); in xprt_info_open()
206 xprt_info_release(struct inode *inode, struct file *filp) in xprt_info_release() argument
208 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release()
[all …]
/net/bluetooth/
Dhci_debugfs.c91 static int __name ## _open(struct inode *inode, struct file *file) \
93 return single_open(file, __name ## _show, inode->i_private); \
129 static int features_open(struct inode *inode, struct file *file) in features_open() argument
131 return single_open(file, features_show, inode->i_private); in features_open()
153 static int device_id_open(struct inode *inode, struct file *file) in device_id_open() argument
155 return single_open(file, device_id_show, inode->i_private); in device_id_open()
183 static int device_list_open(struct inode *inode, struct file *file) in device_list_open() argument
185 return single_open(file, device_list_show, inode->i_private); in device_list_open()
208 static int blacklist_open(struct inode *inode, struct file *file) in blacklist_open() argument
210 return single_open(file, blacklist_show, inode->i_private); in blacklist_open()
[all …]
/net/can/
Dproc.c273 static int can_stats_proc_open(struct inode *inode, struct file *file) in can_stats_proc_open() argument
275 return single_open_net(inode, file, can_stats_proc_show); in can_stats_proc_open()
307 static int can_reset_stats_proc_open(struct inode *inode, struct file *file) in can_reset_stats_proc_open() argument
309 return single_open_net(inode, file, can_reset_stats_proc_show); in can_reset_stats_proc_open()
326 static int can_version_proc_open(struct inode *inode, struct file *file) in can_version_proc_open() argument
328 return single_open_net(inode, file, can_version_proc_show); in can_version_proc_open()
379 static int can_rcvlist_proc_open(struct inode *inode, struct file *file) in can_rcvlist_proc_open() argument
381 return single_open_net(inode, file, can_rcvlist_proc_show); in can_rcvlist_proc_open()
447 static int can_rcvlist_sff_proc_open(struct inode *inode, struct file *file) in can_rcvlist_sff_proc_open() argument
449 return single_open_net(inode, file, can_rcvlist_sff_proc_show); in can_rcvlist_sff_proc_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_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()
Drc80211_minstrel.h166 int minstrel_stats_open(struct inode *inode, struct file *file);
167 int minstrel_stats_csv_open(struct inode *inode, struct file *file);
169 int minstrel_stats_release(struct inode *inode, struct file *file);
/net/sctp/
Dproc.c92 static int sctp_snmp_seq_open(struct inode *inode, struct file *file) in sctp_snmp_seq_open() argument
94 return single_open_net(inode, file, sctp_snmp_seq_show); in sctp_snmp_seq_open()
250 static int sctp_eps_seq_open(struct inode *inode, struct file *file) in sctp_eps_seq_open() argument
252 return seq_open_net(inode, file, &sctp_eps_ops, in sctp_eps_seq_open()
383 static int sctp_assocs_seq_open(struct inode *inode, struct file *file) in sctp_assocs_seq_open() argument
385 return seq_open_net(inode, file, &sctp_assoc_ops, in sctp_assocs_seq_open()
498 static int sctp_remaddr_seq_open(struct inode *inode, struct file *file) in sctp_remaddr_seq_open() argument
500 return seq_open_net(inode, file, &sctp_remaddr_ops, in sctp_remaddr_seq_open()
/net/core/
Dnet-procfs.c178 static int dev_seq_open(struct inode *inode, struct file *file) in dev_seq_open() argument
180 return seq_open_net(inode, file, &dev_seq_ops, in dev_seq_open()
199 static int softnet_seq_open(struct inode *inode, struct file *file) in softnet_seq_open() argument
302 static int ptype_seq_open(struct inode *inode, struct file *file) in ptype_seq_open() argument
304 return seq_open_net(inode, file, &ptype_seq_ops, in ptype_seq_open()
383 static int dev_mc_seq_open(struct inode *inode, struct file *file) in dev_mc_seq_open() argument
385 return seq_open_net(inode, file, &dev_mc_seq_ops, in dev_mc_seq_open()
/net/atm/
Dproc.c116 static int __vcc_seq_open(struct inode *inode, struct file *file, in __vcc_seq_open() argument
261 static int atm_dev_seq_open(struct inode *inode, struct file *file) in atm_dev_seq_open() argument
296 static int pvc_seq_open(struct inode *inode, struct file *file) in pvc_seq_open() argument
298 return __vcc_seq_open(inode, file, PF_ATMPVC, &pvc_seq_ops); in pvc_seq_open()
330 static int vcc_seq_open(struct inode *inode, struct file *file) in vcc_seq_open() argument
332 return __vcc_seq_open(inode, file, 0, &vcc_seq_ops); in vcc_seq_open()
365 static int svc_seq_open(struct inode *inode, struct file *file) in svc_seq_open() argument
367 return __vcc_seq_open(inode, file, PF_ATMSVC, &svc_seq_ops); in svc_seq_open()
/net/ipv4/
Dfib_trie.c457 struct key_vector *inode = get_child(tn, --i); in update_children() local
459 if (!inode) in update_children()
466 if (node_parent(inode) == tn) in update_children()
467 update_children(inode); in update_children()
469 node_set_parent(inode, tn); in update_children()
531 struct key_vector *inode = get_child(tn, --i); in replace() local
534 if (tnode_full(tn, inode)) in replace()
535 tn = resize(t, inode); in replace()
563 struct key_vector *inode = get_child(oldtnode, --i); in inflate() local
568 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()
467 static int snmp_seq_open(struct inode *inode, struct file *file) in snmp_seq_open() argument
469 return single_open_net(inode, file, snmp_seq_show); in snmp_seq_open()
515 static int netstat_seq_open(struct inode *inode, struct file *file) in netstat_seq_open() argument
517 return single_open_net(inode, file, netstat_seq_show); in netstat_seq_open()
/net/ipv6/
Dproc.c56 static int sockstat6_seq_open(struct inode *inode, struct file *file) in sockstat6_seq_open() argument
58 return single_open_net(inode, file, sockstat6_seq_show); in sockstat6_seq_open()
246 static int snmp6_seq_open(struct inode *inode, struct file *file) in snmp6_seq_open() argument
248 return single_open_net(inode, file, snmp6_seq_show); in snmp6_seq_open()
272 static int snmp6_dev_seq_open(struct inode *inode, struct file *file) in snmp6_dev_seq_open() argument
274 return single_open(file, snmp6_dev_seq_show, PDE_DATA(inode)); in snmp6_dev_seq_open()
/net/rxrpc/
Dproc.c121 static int rxrpc_call_seq_open(struct inode *inode, struct file *file) in rxrpc_call_seq_open() argument
123 return seq_open_net(inode, file, &rxrpc_call_seq_ops, in rxrpc_call_seq_open()
213 static int rxrpc_connection_seq_open(struct inode *inode, struct file *file) in rxrpc_connection_seq_open() argument
215 return seq_open_net(inode, file, &rxrpc_connection_seq_ops, in rxrpc_connection_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/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/kcm/
Dkcmproc.c89 static int kcm_seq_open(struct inode *inode, struct file *file) in kcm_seq_open() argument
91 struct kcm_seq_muxinfo *muxinfo = PDE_DATA(inode); in kcm_seq_open()
93 return seq_open_net(inode, file, &muxinfo->seq_ops, in kcm_seq_open()
394 static int kcm_stats_seq_open(struct inode *inode, struct file *file) in kcm_stats_seq_open() argument
396 return single_open_net(inode, file, kcm_stats_seq_show); in kcm_stats_seq_open()
/net/6lowpan/
Ddebugfs.c124 static int lowpan_ctx_pfx_open(struct inode *inode, struct file *file) in lowpan_ctx_pfx_open() argument
126 return single_open(file, lowpan_ctx_pfx_show, inode->i_private); in lowpan_ctx_pfx_open()
236 static int lowpan_context_open(struct inode *inode, struct file *file) in lowpan_context_open() argument
238 return single_open(file, lowpan_context_show, inode->i_private); in lowpan_context_open()
/net/ipx/
Dipx_proc.c247 static int ipx_seq_route_open(struct inode *inode, struct file *file) in ipx_seq_route_open() argument
252 static int ipx_seq_interface_open(struct inode *inode, struct file *file) in ipx_seq_interface_open() argument
257 static int ipx_seq_socket_open(struct inode *inode, struct file *file) in ipx_seq_socket_open() argument
/net/xfrm/
Dxfrm_proc.c68 static int xfrm_statistics_seq_open(struct inode *inode, struct file *file) in xfrm_statistics_seq_open() argument
70 return single_open_net(inode, file, xfrm_statistics_seq_show); in xfrm_statistics_seq_open()

12345