Lines Matching refs:ctx
113 struct smb_ctx *ctx = NULL;
152 error = smb_ctx_alloc(&ctx);
160 * (in the ctx handle).
162 smb_ctx_setfullserver(ctx, server);
163 smb_ctx_setshare(ctx, "IPC$", USE_IPC);
165 smb_ctx_setdomain(ctx, dom, B_TRUE);
167 smb_ctx_setuser(ctx, usr, B_TRUE);
169 smb_ctx_setpassword(ctx, pw, NULL);
177 error = smb_ctx_readrc(ctx);
188 error = smb_ctx_resolve(ctx);
197 error = smb_ctx_get_ssn(ctx);
203 error = smb_ctx_get_tree(ctx);
213 error = pipetest(ctx);
220 smb_ctx_free(ctx);
404 pipetest(struct smb_ctx *ctx)
411 fd = smb_fh_open(ctx, path, O_RDWR);