Lines Matching refs:newfile
5674 struct file **newfile, unsigned flags) in sctp_getsockopt_peeloff_common() argument
5690 *newfile = sock_alloc_file(newsock, 0, NULL); in sctp_getsockopt_peeloff_common()
5691 if (IS_ERR(*newfile)) { in sctp_getsockopt_peeloff_common()
5693 retval = PTR_ERR(*newfile); in sctp_getsockopt_peeloff_common()
5694 *newfile = NULL; in sctp_getsockopt_peeloff_common()
5704 (*newfile)->f_flags |= O_NONBLOCK; in sctp_getsockopt_peeloff_common()
5712 struct file *newfile = NULL; in sctp_getsockopt_peeloff() local
5721 retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); in sctp_getsockopt_peeloff()
5727 fput(newfile); in sctp_getsockopt_peeloff()
5733 fput(newfile); in sctp_getsockopt_peeloff()
5737 fd_install(retval, newfile); in sctp_getsockopt_peeloff()
5746 struct file *newfile = NULL; in sctp_getsockopt_peeloff_flags() local
5756 &newfile, peeloff.flags); in sctp_getsockopt_peeloff_flags()
5762 fput(newfile); in sctp_getsockopt_peeloff_flags()
5768 fput(newfile); in sctp_getsockopt_peeloff_flags()
5772 fd_install(retval, newfile); in sctp_getsockopt_peeloff_flags()