/net/sunrpc/ |
D | cache.c | 764 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read() argument 767 struct cache_reader *rp = filp->private_data; in cache_read() 769 struct inode *inode = file_inode(filp); in cache_read() 902 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write() argument 906 struct address_space *mapping = filp->f_mapping; in cache_write() 907 struct inode *inode = file_inode(filp); in cache_write() 922 static unsigned int cache_poll(struct file *filp, poll_table *wait, in cache_poll() argument 926 struct cache_reader *rp = filp->private_data; in cache_poll() 929 poll_wait(filp, &queue_wait, wait); in cache_poll() 949 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl() argument [all …]
|
D | debugfs.c | 97 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open() argument 99 int ret = seq_open_private(filp, &tasks_seq_operations, in tasks_open() 103 struct seq_file *seq = filp->private_data; 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 120 struct seq_file *seq = filp->private_data; in tasks_release() 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 208 ret = single_open(filp, xprt_info_show, xprt); in xprt_info_open() 212 single_release(inode, filp); in xprt_info_open() [all …]
|
D | rpc_pipe.c | 102 ssize_t rpc_pipe_generic_upcall(struct file *filp, struct rpc_pipe_msg *msg, in rpc_pipe_generic_upcall() argument 218 rpc_pipe_open(struct inode *inode, struct file *filp) in rpc_pipe_open() argument 234 if (filp->f_mode & FMODE_READ) in rpc_pipe_open() 236 if (filp->f_mode & FMODE_WRITE) in rpc_pipe_open() 245 rpc_pipe_release(struct inode *inode, struct file *filp) in rpc_pipe_release() argument 255 msg = filp->private_data; in rpc_pipe_release() 263 if (filp->f_mode & FMODE_WRITE) in rpc_pipe_release() 265 if (filp->f_mode & FMODE_READ) { in rpc_pipe_release() 286 rpc_pipe_read(struct file *filp, char __user *buf, size_t len, loff_t *offset) in rpc_pipe_read() argument 288 struct inode *inode = file_inode(filp); in rpc_pipe_read() [all …]
|
/net/netfilter/ |
D | xt_owner.c | 64 const struct file *filp; in owner_mt() local 77 filp = sk->sk_socket->file; in owner_mt() 78 if (filp == NULL) in owner_mt() 85 if ((uid_gte(filp->f_cred->fsuid, uid_min) && in owner_mt() 86 uid_lte(filp->f_cred->fsuid, uid_max)) ^ in owner_mt() 94 if ((gid_gte(filp->f_cred->fsgid, gid_min) && in owner_mt() 95 gid_lte(filp->f_cred->fsgid, gid_max)) ^ in owner_mt()
|
D | xt_qtaguid.c | 1638 const struct file *filp; in qtaguid_mt() local 1769 filp = sk->sk_socket ? sk->sk_socket->file : NULL; in qtaguid_mt() 1770 if (!filp) { in qtaguid_mt() 1777 par->hooknum, filp ? in qtaguid_mt() 1778 from_kuid(&init_user_ns, filp->f_cred->fsuid) : -1); in qtaguid_mt() 1779 if ((gid_gte(filp->f_cred->fsgid, gid_min) && in qtaguid_mt() 1780 gid_lte(filp->f_cred->fsgid, gid_max)) ^ in qtaguid_mt()
|
/net/irda/ircomm/ |
D | ircomm_tty.c | 55 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp); 56 static void ircomm_tty_close(struct tty_struct * tty, struct file *filp); 272 struct tty_struct *tty, struct file *filp) in ircomm_tty_block_til_ready() argument 289 if (filp->f_flags & O_NONBLOCK) { in ircomm_tty_block_til_ready() 327 if (tty_hung_up_p(filp) || !tty_port_initialized(port)) { in ircomm_tty_block_til_ready() 359 if (!tty_hung_up_p(filp)) in ircomm_tty_block_til_ready() 427 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) in ircomm_tty_open() argument 462 ret = ircomm_tty_block_til_ready(self, tty, filp); in ircomm_tty_open() 478 static void ircomm_tty_close(struct tty_struct *tty, struct file *filp) in ircomm_tty_close() argument 486 if (tty_port_close_start(port, tty, filp) == 0) in ircomm_tty_close()
|
/net/unix/ |
D | garbage.c | 98 struct sock *unix_get_socket(struct file *filp) in unix_get_socket() argument 101 struct inode *inode = file_inode(filp); in unix_get_socket() 104 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
|
/net/bluetooth/rfcomm/ |
D | tty.c | 747 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) in rfcomm_tty_open() argument 757 err = tty_port_open(&dev->port, tty, filp); in rfcomm_tty_open() 773 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp) in rfcomm_tty_close() argument 780 tty_port_close(&dev->port, tty, filp); in rfcomm_tty_close()
|
/net/vmw_vsock/ |
D | af_vsock.c | 1892 static long vsock_dev_do_ioctl(struct file *filp, in vsock_dev_do_ioctl() argument 1912 static long vsock_dev_ioctl(struct file *filp, in vsock_dev_ioctl() argument 1915 return vsock_dev_do_ioctl(filp, cmd, (void __user *)arg); in vsock_dev_ioctl() 1919 static long vsock_dev_compat_ioctl(struct file *filp, in vsock_dev_compat_ioctl() argument 1922 return vsock_dev_do_ioctl(filp, cmd, compat_ptr(arg)); in vsock_dev_compat_ioctl()
|
/net/nfc/nci/ |
D | uart.c | 309 struct file *filp, poll_table *wait) in nci_uart_tty_poll() argument
|
/net/ |
D | socket.c | 128 static int sock_fasync(int fd, struct file *filp, int on); 1044 static int sock_close(struct inode *inode, struct file *filp) in sock_close() argument 1061 static int sock_fasync(int fd, struct file *filp, int on) in sock_fasync() argument 1063 struct socket *sock = filp->private_data; in sock_fasync() 1072 fasync_helper(fd, filp, on, &wq->fasync_list); in sock_fasync()
|
/net/bridge/ |
D | br_sysfs_br.c | 838 static ssize_t brforward_read(struct file *filp, struct kobject *kobj, in brforward_read() argument
|
/net/9p/ |
D | trans_fd.c | 551 p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in p9_pollwait() argument
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 680 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument 685 struct rpc_pipe *pipe = RPC_I(file_inode(filp))->pipe; in gss_pipe_downcall()
|
/net/netlink/ |
D | af_netlink.c | 1127 struct sock *netlink_getsockbyfilp(struct file *filp) in netlink_getsockbyfilp() argument 1129 struct inode *inode = file_inode(filp); in netlink_getsockbyfilp()
|