Lines Matching refs:ctx
138 smbfs_fname_tolocal(struct smbfs_fctx *ctx)
141 struct smb_vc *vcp = SSTOVC(ctx->f_ssp);
147 if (ctx->f_nmlen == 0)
153 if (ctx->f_namesz < sizeof (tmpbuf)) {
165 src = (const ushort_t *)ctx->f_name;
166 inlen = ctx->f_nmlen / 2; /* number of UCS-2 characters */
174 bcopy(tmpbuf, ctx->f_name, outlen + 1);
175 ctx->f_nmlen = (int)outlen;
184 (void) strlcpy(ctx->f_name, "?", ctx->f_namesz);