Searched refs:vname (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_patch.c51 char *vname, /* vfstab file name */
81 assert(vname != NULL);
86 *tname = Malloc(strlen(vname) + strlen(".tmp") + 1);
87 (void) strcpy(*tname, vname);
98 if ((fp = fopen(vname, "r")) == NULL) {
99 (void) mdsyserror(ep, errno, vname);
103 (void) mdsyserror(ep, errno, vname);
147 vname);
152 vname);
170 (void) mdsyserror(ep, errno, vname);
47 meta_patch_vfstab( char *cmpname, mdname_t *fsnp, char *vname, char *old_bdevname, int doit, int verbose, char **tname, md_error_t *ep ) argument
213 meta_patch_fsdev( char *fsname, mdname_t *fsnp, char *vname, md_error_t *ep ) argument
260 meta_patch_swapdev( mdname_t *fsnp, char *vname, char *old_bdevname, md_error_t *ep ) argument
[all...]
H A Dmeta_patch_root.c40 char *vname, /* vfstab file name */
60 if (vname == NULL)
61 vname = "/etc/vfstab";
115 if (meta_patch_vfstab("/", rootnp, vname, NULL, doit, verbose, &tvname,
134 if (rename(tvname, vname) != 0) {
135 (void) mdsyserror(ep, errno, vname);
37 meta_patch_rootdev( mdname_t *rootnp, char *sname, char *vname, char *cname, char *dbname, int doit, int verbose, md_error_t *ep ) argument
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_dis.c130 const char *vname; local
135 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL)
136 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname);
143 const char *vname; local
148 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL)
149 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname);
156 const char *vname; local
161 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL)
162 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname);
H A Ddt_printf.c1056 char vname[64]; local
1108 (void) strlcpy(vname, "aggregating action",
1109 sizeof (vname));
1117 (void) snprintf(vname, sizeof (vname),
1153 vname, i + 1, pfc->pfc_name, pfc->pfc_tstr,
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_suspend.c215 char *p, *vname, *fp = NULL, *err_fmt = NULL; local
377 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE,
379 if (vname == NULL) {
387 (void) strlcat(diskname, vname, sizeof (diskname));
404 free(vname);
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dvolume.c900 ntfschar *vname; local
1169 vname = (ntfschar*)(le16_to_cpu(a->u.res.value_offset) + (char*)a);
1176 if (ntfs_ucstombs(vname, u, &vol->vol_name, 0) == -1) {
1187 u16 uc = le16_to_cpu(vname[j]);
/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/
H A Dusb.c1029 char *vname = NULL, *pname = NULL, *serialno = NULL; local
1119 "usb-vendor-name", &vname);
1159 if (vname) {
1160 (void) snprintf(vpstr, 256, "%s", vname);
1164 " vname,%s\n", topo_strerror(e));
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1563 char *vname; local
1578 vname = zpool_vdev_name(hdl, NULL, child[c], B_TRUE, B_FALSE);
1579 print_vdev_tree(hdl, vname, child[c], indent + 2);
1580 free(vname);

Completed in 96 milliseconds