/freebsd-10.3-release/contrib/amd/amq/ |
H A D | pawd.c | 150 xstrlcpy(transform, "/home/", sizeof(transform)); 211 xstrlcpy(transform, dir, sizeof(transform)); 215 xstrlcpy(transform, *spp, sizeof(transform)); 236 xstrlcpy(path, transform_dir(wd), l);
|
H A D | amq.c | 179 xstrlcpy(buf, mt->mt_directory, sizeof(buf)); 181 xstrlcpy(path, buf, l);
|
/freebsd-10.3-release/contrib/amd/libamu/ |
H A D | hasmntopt.c | 111 xstrlcpy(t, mnt->mnt_opts, sizeof(t));
|
H A D | strutil.c | 160 * For now, xstrlcpy returns VOID because it doesn't look like anywhere in 167 xstrlcpy(char *dst, const char *src, size_t len) 174 plog(XLOG_ERROR, "xstrlcpy(%s:%d): string \"%s\" truncated to \"%s\"", 177 plog(XLOG_ERROR, "xstrlcpy: string \"%s\" truncated to \"%s\"", src, dst);
|
H A D | xutil.c | 153 xstrlcpy(am_hostname, hn, MAXHOSTNAMELEN); 302 xstrlcpy(q, strerror(error), maxlen); 500 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */ 513 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */ 543 if (strlcpy(last_msg, msg, 1024) >= 1024) /* don't use xstrlcpy here (recursive!) */
|
H A D | wire.c | 109 xstrlcpy(buf, "No networks\n", buf_size);
|
H A D | mount_fs.c | 240 xstrlcpy(zopts, xopts, l); 527 * XXX: warning, using xstrlcpy in NFS_HN_DREF, which may corrupt a
|
/freebsd-10.3-release/contrib/amd/amd/ |
H A D | info_ndbm.c | 88 xstrlcpy(dbfilename, map, sizeof(dbfilename)); 119 xstrlcpy(dbfilename, map, sizeof(dbfilename));
|
H A D | am_ops.c | 292 xstrlcpy(buf, &opt[2], sizeof(buf)); 295 xstrlcpy(buf, "no", sizeof(buf)); 330 xstrlcpy(oneopt, tmpstr, 80); 344 xstrlcpy(newstr, tmpstr, len); 353 xstrlcpy(newstr, opts2, len);
|
H A D | mapc.c | 903 xstrlcpy(wildname, key, sizeof(wildname)); 910 xstrlcpy(subp, "/*", sizeof(wildname) - (subp - wildname)); 1064 xstrlcpy(str, opts, sizeof(str)); 1072 xstrlcpy(str, opts, sizeof(str)); 1177 xstrlcpy(component, path, sizeof(component)); 1181 xstrlcpy(full_path, str, sizeof(full_path));
|
H A D | amfs_host.c | 104 xstrlcpy(mntpt, mf_mount, l); 468 xstrlcpy(fs_name, mf->mf_info, MAXPATHLEN); 484 xstrlcpy(rfs_dir, ex->ex_dir, sizeof(fs_name) - (rfs_dir - fs_name));
|
H A D | autil.c | 87 xstrlcpy(p, s, len); 501 xstrlcpy(fs_hostname + MAXHOSTNAMELEN - 3, "..", 510 xstrlcpy(fs_hostname + HOSTNAMESZ - 3, "..",
|
H A D | amq_subr.c | 233 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf)); 241 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf));
|
H A D | amd.c | 463 xstrlcpy(hostd, hostname, sizeof(hostd));
|
H A D | ops_nfs.c | 631 xstrlcpy(wnfs_path + 1, fp->fh_path, l - 1); 784 xstrlcpy(host, fs_name, sizeof(host)); 791 xstrlcpy(host + MAXHOSTNAMELEN - 3, "..",
|
H A D | opts.c | 1053 * We use strncpy (not xstrlcpy) because 'ep' relies on its 1145 * We use strncpy here (not xstrlcpy) because the dest is meant 1241 xstrlcpy(ep, vptr, vlen+1); 1270 xstrlcpy(ep, env, vlen+1); 1302 xstrlcpy(ep, cp, vlen+1);
|
/freebsd-10.3-release/contrib/amd/fixmount/ |
H A D | fixmount.c | 118 xstrlcpy(lasthost, name1, MAXHOSTNAMELEN); 162 xstrlcpy(dir_path, ml->ml_directory, sizeof(dir_path)); 324 xstrlcpy(thishost, optarg, sizeof(thishost)); 364 xstrlcpy(thishost, he->h_name, sizeof(thishost));
|
/freebsd-10.3-release/contrib/amd/fsinfo/ |
H A D | fsinfo.c | 127 xstrlcpy(hostname, optarg, sizeof(hostname));
|
H A D | fsi_analyze.c | 118 xstrlcpy(p, hn, MAXPATHLEN); 135 xstrlcpy(p, path, MAXPATHLEN);
|
/freebsd-10.3-release/contrib/amd/hlfsd/ |
H A D | hlfsd.c | 484 xstrlcpy(preopts, default_mntopts, sizeof(preopts)); 535 xstrlcpy(progpid_fs + MAXHOSTNAMELEN - 3, "..", 916 xstrlcpy(lessmess, mess, sizeof(lessmess));
|
H A D | homedir.c | 507 xstrlcpy(pw_name, cp, sizeof(pw_name)); 531 xstrlcpy(pw_dir, cp, sizeof(pw_dir));
|
H A D | stubs.c | 287 xstrlcpy((char *) &un_fhandle.fh_data[sizeof(int)],
|
/freebsd-10.3-release/contrib/amd/include/ |
H A D | am_utils.h | 354 # define xstrlcpy(d,s,l) _xstrlcpy(__FILE__,__LINE__,(d),(s),(l)) macro 357 extern void xstrlcpy(char *dst, const char *src, size_t len);
|