Lines Matching refs:ctx
106 struct smb_ctx *ctx = NULL;
145 error = smb_ctx_alloc(&ctx);
153 * (in the ctx handle).
155 smb_ctx_setfullserver(ctx, server);
156 smb_ctx_setshare(ctx, "IPC$", USE_IPC);
158 smb_ctx_setdomain(ctx, dom, B_TRUE);
160 smb_ctx_setuser(ctx, usr, B_TRUE);
162 smb_ctx_setpassword(ctx, pw, NULL);
170 error = smb_ctx_readrc(ctx);
181 error = smb_ctx_resolve(ctx);
190 error = smb_ctx_get_ssn(ctx);
196 error = smb_ctx_get_tree(ctx);
206 error = pipetest(ctx);
213 smb_ctx_free(ctx);
383 pipetest(struct smb_ctx *ctx)
390 fd = smb_fh_open(ctx, path, O_RDWR);