Lines Matching refs:ctx
163 * On success, sets ctx->ct_door_fd
166 smb_iod_start(smb_ctx_t *ctx)
195 if (ctx->ct_door_fd != -1)
196 close(ctx->ct_door_fd);
197 ctx->ct_door_fd = fd;
209 * Ask the IOD to connect using the info in ctx.
213 smb_iod_cl_newvc(smb_ctx_t *ctx)
219 if (ctx->ct_door_fd < 0)
222 da.data_ptr = (void *) &ctx->ct_iod_ssn;
223 da.data_size = sizeof (ctx->ct_iod_ssn);
228 if (door_call(ctx->ct_door_fd, &da) < 0) {