Lines Matching refs:newfile
5555 struct file **newfile, unsigned flags) in sctp_getsockopt_peeloff_common() argument
5571 *newfile = sock_alloc_file(newsock, 0, NULL); in sctp_getsockopt_peeloff_common()
5572 if (IS_ERR(*newfile)) { in sctp_getsockopt_peeloff_common()
5574 retval = PTR_ERR(*newfile); in sctp_getsockopt_peeloff_common()
5575 *newfile = NULL; in sctp_getsockopt_peeloff_common()
5585 (*newfile)->f_flags |= O_NONBLOCK; in sctp_getsockopt_peeloff_common()
5593 struct file *newfile = NULL; in sctp_getsockopt_peeloff() local
5602 retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); in sctp_getsockopt_peeloff()
5608 fput(newfile); in sctp_getsockopt_peeloff()
5614 fput(newfile); in sctp_getsockopt_peeloff()
5618 fd_install(retval, newfile); in sctp_getsockopt_peeloff()
5627 struct file *newfile = NULL; in sctp_getsockopt_peeloff_flags() local
5637 &newfile, peeloff.flags); in sctp_getsockopt_peeloff_flags()
5643 fput(newfile); in sctp_getsockopt_peeloff_flags()
5649 fput(newfile); in sctp_getsockopt_peeloff_flags()
5653 fd_install(retval, newfile); in sctp_getsockopt_peeloff_flags()