/net/netfilter/ |
H A D | xt_owner.c | 35 const struct file *filp; local 46 filp = skb->sk->sk_socket->file; 47 if (filp == NULL) 54 if ((uid_gte(filp->f_cred->fsuid, uid_min) && 55 uid_lte(filp->f_cred->fsuid, uid_max)) ^ 63 if ((gid_gte(filp->f_cred->fsgid, gid_min) && 64 gid_lte(filp->f_cred->fsgid, gid_max)) ^
|
H A D | xt_qtaguid.c | 1656 const struct file *filp; local 1724 filp = sk->sk_socket ? sk->sk_socket->file : NULL; 1725 MT_DEBUG("qtaguid[%d]: filp...uid=%u\n", 1726 par->hooknum, filp ? filp->f_cred->fsuid : -1); 1752 filp = sk->sk_socket->file; 1753 if (filp == NULL) { 1754 MT_DEBUG("qtaguid[%d]: leaving filp=NULL\n", par->hooknum); 1761 sock_uid = filp->f_cred->fsuid; 1776 if ((filp [all...] |
/net/unix/ |
H A D | garbage.c | 99 struct sock *unix_get_socket(struct file *filp) argument 102 struct inode *inode = file_inode(filp); 107 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) {
|
/net/irda/ircomm/ |
H A D | ircomm_tty.c | 57 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp); 58 static void ircomm_tty_close(struct tty_struct * tty, struct file *filp); 272 * Function ircomm_block_til_ready (self, filp) 278 struct tty_struct *tty, struct file *filp) 297 if (filp->f_flags & O_NONBLOCK) { 325 if (!tty_hung_up_p(filp)) 336 if (tty_hung_up_p(filp) || 370 if (!tty_hung_up_p(filp)) 434 * Function ircomm_tty_open (tty, filp) 440 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) argument 277 ircomm_tty_block_til_ready(struct ircomm_tty_cb *self, struct tty_struct *tty, struct file *filp) argument 523 ircomm_tty_close(struct tty_struct *tty, struct file *filp) argument [all...] |
/net/9p/ |
H A D | trans_fd.c | 536 * @filp: file pointer being polled 544 p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) argument
|
/net/bluetooth/rfcomm/ |
H A D | tty.c | 641 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) argument 721 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp) argument
|
/net/bridge/ |
H A D | br_sysfs_br.c | 770 static ssize_t brforward_read(struct file *filp, struct kobject *kobj, argument
|
/net/sunrpc/ |
H A D | rpc_pipe.c | 101 ssize_t rpc_pipe_generic_upcall(struct file *filp, struct rpc_pipe_msg *msg, argument 217 rpc_pipe_open(struct inode *inode, struct file *filp) argument 236 if (filp->f_mode & FMODE_READ) 238 if (filp->f_mode & FMODE_WRITE) 247 rpc_pipe_release(struct inode *inode, struct file *filp) argument 257 msg = filp->private_data; 265 if (filp->f_mode & FMODE_WRITE) 267 if (filp->f_mode & FMODE_READ) { 288 rpc_pipe_read(struct file *filp, char __user *buf, size_t len, loff_t *offset) argument 290 struct inode *inode = file_inode(filp); 332 rpc_pipe_write(struct file *filp, const char __user *buf, size_t len, loff_t *offset) argument 346 rpc_pipe_poll(struct file *filp, struct poll_table_struct *wait) argument 364 rpc_pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | cache.c | 765 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, argument 768 struct cache_reader *rp = filp->private_data; 770 struct inode *inode = file_inode(filp); 903 static ssize_t cache_write(struct file *filp, const char __user *buf, argument 907 struct address_space *mapping = filp->f_mapping; 908 struct inode *inode = file_inode(filp); 923 static unsigned int cache_poll(struct file *filp, poll_table *wait, argument 927 struct cache_reader *rp = filp->private_data; 930 poll_wait(filp, &queue_wait, wait); 950 static int cache_ioctl(struct inode *ino, struct file *filp, argument 979 cache_open(struct inode *inode, struct file *filp, struct cache_detail *cd) argument 1004 cache_release(struct inode *inode, struct file *filp, struct cache_detail *cd) argument 1462 cache_read_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument 1470 cache_write_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 1478 cache_poll_procfs(struct file *filp, poll_table *wait) argument 1485 cache_ioctl_procfs(struct file *filp, unsigned int cmd, unsigned long arg) argument 1494 cache_open_procfs(struct inode *inode, struct file *filp) argument 1501 cache_release_procfs(struct inode *inode, struct file *filp) argument 1519 content_open_procfs(struct inode *inode, struct file *filp) argument 1526 content_release_procfs(struct inode *inode, struct file *filp) argument 1540 open_flush_procfs(struct inode *inode, struct file *filp) argument 1547 release_flush_procfs(struct inode *inode, struct file *filp) argument 1554 read_flush_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument 1562 write_flush_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 1694 cache_read_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument 1702 cache_write_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 1710 cache_poll_pipefs(struct file *filp, poll_table *wait) argument 1717 cache_ioctl_pipefs(struct file *filp, unsigned int cmd, unsigned long arg) argument 1726 cache_open_pipefs(struct inode *inode, struct file *filp) argument 1733 cache_release_pipefs(struct inode *inode, struct file *filp) argument 1751 content_open_pipefs(struct inode *inode, struct file *filp) argument 1758 content_release_pipefs(struct inode *inode, struct file *filp) argument 1772 open_flush_pipefs(struct inode *inode, struct file *filp) argument 1779 release_flush_pipefs(struct inode *inode, struct file *filp) argument 1786 read_flush_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument 1794 write_flush_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/net/vmw_vsock/ |
H A D | af_vsock.c | 1890 static long vsock_dev_do_ioctl(struct file *filp, argument 1910 static long vsock_dev_ioctl(struct file *filp, argument 1913 return vsock_dev_do_ioctl(filp, cmd, (void __user *)arg); 1917 static long vsock_dev_compat_ioctl(struct file *filp, argument 1920 return vsock_dev_do_ioctl(filp, cmd, compat_ptr(arg));
|
/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 635 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) argument 640 struct rpc_pipe *pipe = RPC_I(file_inode(filp))->pipe;
|
/net/netlink/ |
H A D | af_netlink.c | 1407 struct sock *netlink_getsockbyfilp(struct file *filp) argument 1409 struct inode *inode = file_inode(filp);
|
/net/ |
H A D | socket.c | 123 static int sock_fasync(int fd, struct file *filp, int on); 1161 static int sock_close(struct inode *inode, struct file *filp) argument 1178 static int sock_fasync(int fd, struct file *filp, int on) argument 1180 struct socket *sock = filp->private_data; 1189 fasync_helper(fd, filp, on, &wq->fasync_list);
|