Lines Matching refs:fd
96 int class, fd, err; in handshake_nl_accept_doit() local
113 fd = get_unused_fd_flags(O_CLOEXEC); in handshake_nl_accept_doit()
114 if (fd < 0) { in handshake_nl_accept_doit()
115 err = fd; in handshake_nl_accept_doit()
119 err = req->hr_proto->hp_accept(req, info, fd); in handshake_nl_accept_doit()
121 put_unused_fd(fd); in handshake_nl_accept_doit()
125 fd_install(fd, get_file(sock->file)); in handshake_nl_accept_doit()
127 trace_handshake_cmd_accept(net, req, req->hr_sk, fd); in handshake_nl_accept_doit()
142 int fd, status, err; in handshake_nl_done_doit() local
146 fd = nla_get_s32(info->attrs[HANDSHAKE_A_DONE_SOCKFD]); in handshake_nl_done_doit()
148 sock = sockfd_lookup(fd, &err); in handshake_nl_done_doit()
160 trace_handshake_cmd_done(net, req, sock->sk, fd); in handshake_nl_done_doit()