Lines Matching refs:error
56 int error, opt, setprimary = 0, level;
69 error = smb_ctx_opt(ctx, opt, optarg);
70 if (error)
88 error = smb_ctx_lookup(ctx, level, 0);
89 if (error == 0) {
90 smb_error("connection already exists", error);
93 error = smb_ctx_lookup(ctx, level, SMBLK_CREATE);
94 if (error) {
95 smb_error("could not login to server %s", error, ctx->ct_ssn.ioc_srvname);
109 error = smb_ctx_setflags(ctx, level, opt, opt);
110 if (error && error != EACCES) {
111 smb_error("Can't make connection permanent", error);
124 int error, opt, level;
137 error = smb_ctx_opt(ctx, opt, optarg);
138 if (error)
147 error = loadsmbvfs();
148 if (error)
156 error = smb_ctx_lookup(ctx, level, 0);
157 if (error == ENOENT) {
159 error = smb_ctx_login(ctx);
160 if (error == ENOENT) {
162 error = smb_ctx_login(ctx);
163 if (error == ENOENT) {
165 error = smb_ctx_login(ctx);
168 if (error) {
169 smb_error("There is no connection to %s", error, ctx->ct_ssn.ioc_srvname);
173 if (error)
186 error = smb_ctx_setflags(ctx, level, opt, 0);
187 if (error && error != EACCES) {
188 smb_error("Can't release connection", error);