/net/netfilter/ |
D | xt_owner.c | 27 const struct file *filp; in owner_mt_v0() local 32 filp = skb->sk->sk_socket->file; in owner_mt_v0() 33 if (filp == NULL) in owner_mt_v0() 37 if ((filp->f_cred->fsuid != info->uid) ^ in owner_mt_v0() 42 if ((filp->f_cred->fsgid != info->gid) ^ in owner_mt_v0() 53 const struct file *filp; in owner_mt6_v0() local 58 filp = skb->sk->sk_socket->file; in owner_mt6_v0() 59 if (filp == NULL) in owner_mt6_v0() 63 if ((filp->f_cred->fsuid != info->uid) ^ in owner_mt6_v0() 68 if ((filp->f_cred->fsgid != info->gid) ^ in owner_mt6_v0() [all …]
|
D | xt_recent.c | 457 static int recent_old_seq_open(struct inode *inode, struct file *filp) in recent_old_seq_open() argument 466 return recent_seq_open(inode, filp); in recent_old_seq_open()
|
/net/sunrpc/ |
D | rpc_pipe.c | 170 rpc_pipe_open(struct inode *inode, struct file *filp) in rpc_pipe_open() argument 185 if (filp->f_mode & FMODE_READ) in rpc_pipe_open() 187 if (filp->f_mode & FMODE_WRITE) in rpc_pipe_open() 196 rpc_pipe_release(struct inode *inode, struct file *filp) in rpc_pipe_release() argument 205 msg = (struct rpc_pipe_msg *)filp->private_data; in rpc_pipe_release() 213 if (filp->f_mode & FMODE_WRITE) in rpc_pipe_release() 215 if (filp->f_mode & FMODE_READ) { in rpc_pipe_release() 236 rpc_pipe_read(struct file *filp, char __user *buf, size_t len, loff_t *offset) in rpc_pipe_read() argument 238 struct inode *inode = filp->f_path.dentry->d_inode; in rpc_pipe_read() 248 msg = filp->private_data; in rpc_pipe_read() [all …]
|
D | cache.c | 695 cache_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos) in cache_read() argument 697 struct cache_reader *rp = filp->private_data; in cache_read() 699 struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; in cache_read() 772 cache_write(struct file *filp, const char __user *buf, size_t count, in cache_write() argument 776 struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; in cache_write() 802 cache_poll(struct file *filp, poll_table *wait) in cache_poll() argument 805 struct cache_reader *rp = filp->private_data; in cache_poll() 807 struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; in cache_poll() 809 poll_wait(filp, &queue_wait, wait); in cache_poll() 830 cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl() argument [all …]
|
/net/irda/ |
D | irsysctl.c | 76 static int do_devname(ctl_table *table, int write, struct file *filp, in do_devname() argument 81 ret = proc_dostring(table, write, filp, buffer, lenp, ppos); in do_devname() 93 static int do_discovery(ctl_table *table, int write, struct file *filp, in do_discovery() argument 98 ret = proc_dointvec(table, write, filp, buffer, lenp, ppos); in do_discovery()
|
/net/ipv4/ |
D | sysctl_net_ipv4.c | 39 static int ipv4_local_port_range(ctl_table *table, int write, struct file *filp, in ipv4_local_port_range() argument 54 ret = proc_dointvec_minmax(&tmp, write, filp, buffer, lenp, ppos); in ipv4_local_port_range() 94 static int proc_tcp_congestion_control(ctl_table *ctl, int write, struct file * filp, in proc_tcp_congestion_control() argument 106 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos); in proc_tcp_congestion_control() 132 int write, struct file * filp, in proc_tcp_available_congestion_control() argument 143 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos); in proc_tcp_available_congestion_control() 149 int write, struct file * filp, in proc_allowed_congestion_control() argument 161 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos); in proc_allowed_congestion_control()
|
D | devinet.c | 1265 struct file *filp, void __user *buffer, in devinet_conf_proc() argument 1268 int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in devinet_conf_proc() 1337 struct file *filp, void __user *buffer, in devinet_sysctl_forward() argument 1342 int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in devinet_sysctl_forward() 1366 struct file *filp, void __user *buffer, in ipv4_doint_and_flush() argument 1371 int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in ipv4_doint_and_flush()
|
D | route.c | 3016 struct file *filp, void __user *buffer, in ipv4_sysctl_rtcache_flush() argument 3026 proc_dointvec(&ctl, write, filp, buffer, lenp, ppos); in ipv4_sysctl_rtcache_flush() 3086 struct file *filp, in ipv4_sysctl_rt_secret_interval() argument 3091 int ret = proc_dointvec_jiffies(ctl, write, filp, buffer, lenp, ppos); in ipv4_sysctl_rt_secret_interval()
|
/net/phonet/ |
D | sysctl.c | 59 static int proc_local_port_range(ctl_table *table, int write, struct file *filp, in proc_local_port_range() argument 73 ret = proc_dointvec_minmax(&tmp, write, filp, buffer, lenp, ppos); in proc_local_port_range()
|
/net/irda/ircomm/ |
D | ircomm_tty.c | 52 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp); 53 static void ircomm_tty_close(struct tty_struct * tty, struct file *filp); 244 struct file *filp) in ircomm_tty_block_til_ready() argument 260 if (filp->f_flags & O_NONBLOCK || tty->flags & (1 << TTY_IO_ERROR)){ in ircomm_tty_block_til_ready() 287 if (!tty_hung_up_p(filp)) { in ircomm_tty_block_til_ready() 307 if (tty_hung_up_p(filp) || in ircomm_tty_block_til_ready() 364 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) in ircomm_tty_open() argument 433 if (tty_hung_up_p(filp) || in ircomm_tty_open() 475 ret = ircomm_tty_block_til_ready(self, filp); in ircomm_tty_open() 492 static void ircomm_tty_close(struct tty_struct *tty, struct file *filp) in ircomm_tty_close() argument [all …]
|
/net/unix/ |
D | garbage.c | 100 static struct sock *unix_get_socket(struct file *filp) in unix_get_socket() argument 103 struct inode *inode = filp->f_path.dentry->d_inode; in unix_get_socket()
|
/net/bluetooth/rfcomm/ |
D | tty.c | 671 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp) in rfcomm_tty_open() argument 743 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp) in rfcomm_tty_close() argument 829 static int rfcomm_tty_ioctl(struct tty_struct *tty, struct file *filp, unsigned int cmd, unsigned l… in rfcomm_tty_ioctl() argument 1100 static int rfcomm_tty_tiocmget(struct tty_struct *tty, struct file *filp) in rfcomm_tty_tiocmget() argument 1109 static int rfcomm_tty_tiocmset(struct tty_struct *tty, struct file *filp, unsigned int set, unsigne… in rfcomm_tty_tiocmset() argument
|
/net/decnet/ |
D | sysctl_net_decnet.c | 168 struct file *filp, in dn_node_address_handler() argument 279 struct file * filp, in dn_def_dev_handler() argument
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma.c | 83 struct file *filp, void __user *buffer, size_t *lenp, in read_reset_stat() argument
|
/net/ |
D | socket.c | 118 static int sock_fasync(int fd, struct file *filp, int on); 995 static int sock_close(struct inode *inode, struct file *filp) in sock_close() argument 1025 static int sock_fasync(int fd, struct file *filp, int on) in sock_fasync() argument 1037 sock = filp->private_data; in sock_fasync() 1050 if (fa->fa_file == filp) in sock_fasync() 1062 fna->fa_file = filp; in sock_fasync()
|
/net/ipv6/ |
D | ndisc.c | 1739 int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, struct file * filp, void __user *b… in ndisc_ifinfo_sysctl_change() argument 1750 ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change() 1754 filp, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change() 1759 filp, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
|
D | route.c | 2523 int ipv6_sysctl_rtcache_flush(ctl_table *ctl, int write, struct file * filp, in ipv6_sysctl_rtcache_flush() argument 2529 proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in ipv6_sysctl_rtcache_flush()
|
D | addrconf.c | 3976 int addrconf_sysctl_forward(ctl_table *ctl, int write, struct file * filp, in addrconf_sysctl_forward() argument 3983 ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in addrconf_sysctl_forward()
|
/net/bridge/ |
D | br_netfilter.c | 941 int brnf_sysctl_call_tables(ctl_table * ctl, int write, struct file *filp, in brnf_sysctl_call_tables() argument 946 ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); in brnf_sysctl_call_tables()
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 578 gss_pipe_upcall(struct file *filp, struct rpc_pipe_msg *msg, in gss_pipe_upcall() argument 600 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument 605 struct inode *inode = filp->f_path.dentry->d_inode; in gss_pipe_downcall()
|
/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1498 proc_do_defense_mode(ctl_table *table, int write, struct file * filp, in proc_do_defense_mode() argument 1505 rc = proc_dointvec(table, write, filp, buffer, lenp, ppos); in proc_do_defense_mode() 1519 proc_do_sync_threshold(ctl_table *table, int write, struct file *filp, in proc_do_sync_threshold() argument 1529 rc = proc_dointvec(table, write, filp, buffer, lenp, ppos); in proc_do_sync_threshold()
|
/net/netlink/ |
D | af_netlink.c | 744 struct sock *netlink_getsockbyfilp(struct file *filp) in netlink_getsockbyfilp() argument 746 struct inode *inode = filp->f_path.dentry->d_inode; in netlink_getsockbyfilp()
|
/net/9p/ |
D | trans_fd.c | 534 p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in p9_pollwait() argument
|