Searched refs:copystr (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c28 unsigned char *copystr = NULL; local
49 copystr = malloc(len);
50 if (copystr == NULL)
54 asctouni(copystr, (uchar_t *)string->data, slen );
58 krb5_MD4Update(&md4_context, (unsigned char *)copystr, len);
74 memset (copystr, 0, len);
77 if (copystr)
78 free(copystr);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c55 register char *str, *copystr; local
93 copystr = malloc((size_t) length);
94 if (!copystr) {
98 (void) memcpy(copystr, (char *) data->data, data->length);
100 (void) memcpy(copystr + data->length, (char *)salt->data, salt->length);
116 str = copystr;
156 retval = mit_des_cbc_cksum(context, (unsigned char*)copystr, key,
160 (void) memset(copystr, 0, (size_t) length);
161 krb5_xfree(copystr);
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcopy.c25 return (copystr(src, dst, max_len, copied));
29 copystr(const char *src, char *dst, size_t max_len, size_t *outlen) function
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c90 extern void copystr();
180 copystr(ptr->p_prompt,optarg);
184 copystr(ptr->p_dmsg,optarg);
H A Dtmexpress.c242 extern void copystr();
279 copystr(tbuf, optarg);
H A Dtmutil.c232 * copystr(s1, s2) - copy string s2 to string s1
236 copystr(s1,s2) function
/illumos-gate/usr/src/cmd/vi/misc/
H A Dmkstr.c123 copystr();
146 copystr() function
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c72 static void copystr(void);
156 copystr();
180 copystr(void) function
/illumos-gate/usr/src/uts/sun4/ml/
H A Dcopy.s58 * copystr(from, to, maxlength, lencopied)
67 copystr(const char *from, char *to, size_t maxlength, size_t *lencopied)
72 ENTRY(copystr) function
114 SET_SIZE(copystr)
/illumos-gate/usr/src/uts/common/fs/
H A Dpathname.c114 error = copystr(str, pnp->pn_path, bufsize, &pnp->pn_pathlen);
148 error = copystr(path, pnp->pn_path, pnp->pn_bufsize, &pnp->pn_pathlen);
H A Dlookup.c528 error = copystr(pp->pn_buf,
532 error = copystr(component,
536 if (error) /* copystr() returns ENAMETOOLONG */
H A Dvfs.c1196 error = copystr(uap->fstype, fsname,
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c452 error = copystr(args.opts, strbuff, sizeof (strbuff),
474 error = copystr(args.map, strbuff, sizeof (strbuff),
536 error = copystr(args.path, strbuff, sizeof (strbuff), &len);
551 error = copystr(args.opts, strbuff, sizeof (strbuff), &len);
568 error = copystr(args.map, strbuff, sizeof (strbuff), &len);
583 error = copystr(args.subdir, strbuff, sizeof (strbuff), &len);
598 error = copystr(args.key, strbuff, sizeof (strbuff), &len);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c373 error = copystr(pp->pn_buf,
377 error = copystr(component,
381 if (error) /* copystr() returns ENAMETOOLONG */
/illumos-gate/usr/src/uts/common/sys/
H A Dsystm.h213 int copystr(const char *, char *, size_t, size_t *);
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c1472 (void) copystr(path, rootfs.bo_name, BO_MAXOBJNAME, NULL);
1479 (void) copystr(fstype, rootfs.bo_fstype, BO_MAXFSNAME, NULL);
1508 (void) copystr(sysp->sys_ptr, svm_bootpath,
1513 (void) copystr(sysp->sys_ptr, bootobjp->bo_name,
1519 (void) copystr(sysp->sys_ptr, bootobjp->bo_fstype,
H A Dstreamio.c3723 error = (copyflag & U_TO_K ? copyinstr : copystr)((void *)arg,
3774 error = (copyflag & U_TO_K ? copyinstr : copystr)((void *)arg,
4049 copystr)(STRUCT_FGETP(strmodinsert, mod_name),
4212 copystr)(STRUCT_FGETP(strmodremove, mod_name),
/illumos-gate/usr/src/uts/common/io/
H A Dsysmsg.c575 error = copystr((caddr_t)arg, infop, size, NULL);
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dcopy.s2099 copystr(const char *from, char *to, size_t maxlength, size_t *lencopied)
2106 ENTRY(copystr) function
2168 SET_SIZE(copystr)
2177 ENTRY(copystr) function
2246 SET_SIZE(copystr)
3128 .string "copystr: arguments in user space"
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c1900 error = copystr(fname, namebuf, MAXPATHLEN, &len);
H A Dnfs3_vfsops.c544 error = copystr(uap->fstype, name, FSTYPSZ, &n);
H A Dnfs_vfsops.c561 error = copystr(uap->fstype, name, FSTYPSZ, &n);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c1113 (void) copystr(path, fsp->fs_fsmnt, sizeof (fsp->fs_fsmnt) - 1, &len);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c6035 error = ((mode & FKIOCTL) ? copystr : copyinstr)(
6173 error = ((mode & FKIOCTL) ? copystr : copyinstr)(

Completed in 156 milliseconds