Lines Matching refs:error
199 int error, rc = 0;
202 error = smbfs_get_xattrdir(vp, &xvp, cr, LOOKUP_XATTR);
203 if (error)
216 error = smbfs_xa_findopen(&ctx, xnp, "*", 1);
217 if (error)
220 error = smbfs_xa_findnext(&ctx, 1);
221 if (error)
229 /* NB: Always call findclose, error or not. */
248 int error, nlen;
269 error = smbfs_xa_parent(xvp, &pvp);
270 if (error)
271 return (error);
282 error = smbfs_smb_lookup(pnp, &name, &nlen, fap, scrp);
283 if (error == 0 && name != sname)
288 return (error);
308 int error;
318 error = smbfs_xa_parent(SMBTOV(dnp), &pvp);
319 if (error)
320 return (error);
330 error = smb_t2_alloc(SSTOCP(ctx->f_ssp),
333 if (error)
341 error = smbfs_fullpath(mbp, vcp, pnp, NULL, NULL, 0);
342 if (error)
346 error = smb_t2_request(t2p);
347 if (error) {
349 error = ENOTSUP;
362 return (error);
376 int error, skip, used, nmlen;
391 if ((error = md_get_uint32le(mdp, &next)) != 0) /* offset to */
393 if ((error = md_get_uint32le(mdp, &size)) != 0) /* name len */
420 error = md_get_mem(mdp, ctx->f_name, nmlen, MB_MSYSTEM);
421 if (error)
422 return (error);
473 U8_UNICODE_LATEST, &error) || error)