Lines Matching refs:new_fd
1185 int new_fd; in __receive_fd() local
1192 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1193 if (new_fd < 0) in __receive_fd()
1194 return new_fd; in __receive_fd()
1197 error = put_user(new_fd, ufd); in __receive_fd()
1199 put_unused_fd(new_fd); in __receive_fd()
1204 fd_install(new_fd, get_file(file)); in __receive_fd()
1206 return new_fd; in __receive_fd()
1209 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1216 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
1220 return new_fd; in receive_fd_replace()