Lines Matching defs:ctx
65 newvc(struct smb_ctx *ctx, struct addrinfo *ai)
67 smbioc_ossn_t *ssn = &ctx->ct_ssn;
79 return (smb_iod_cl_newvc(ctx));
87 smb_ctx_newvc(struct smb_ctx *ctx)
93 if ((ctx->ct_flags & SMBCF_RESOLVED) == 0)
101 if (ctx->ct_door_fd < 0) {
102 err = smb_iod_start(ctx);
108 for (ai = ctx->ct_addrinfo; ai; ai = ai->ai_next) {
115 err = newvc(ctx, ai);
135 close(ctx->ct_door_fd);
136 ctx->ct_door_fd = -1;