/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mdcf.c | 54 char *tname = METACONFTMP; local 66 if ((tfp = fopen(tname, "w")) == NULL) 67 return (mdsyserror(ep, errno, tname)); 77 (void) mdsyserror(ep, errno, tname); 82 if (meta_print_all(sp, tname, NULL, tfp, options, NULL, ep) != 0) 87 (void) mdsyserror(ep, errno, tname); 97 if (rename(tname, name) != 0) { 99 if ((tfp = fopen(tname, "r")) == NULL) { 117 (void) unlink(tname); 142 (void) unlink(tname); [all...] |
H A D | meta_patch.c | 58 char **tname, /* returned temp file name */ 82 assert(tname != NULL); 85 *tname = NULL; 86 *tname = Malloc(strlen(vname) + strlen(".tmp") + 1); 87 (void) strcpy(*tname, vname); 88 (void) strcat(*tname, ".tmp"); 107 if ((tfp = fopen(*tname, "w")) == NULL) { 108 (void) mdsyserror(ep, errno, *tname); 112 (void) mdsyserror(ep, errno, *tname); 116 (void) mdsyserror(ep, errno, *tname); 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 [all...] |
H A D | meta_systemfile.c | 59 char **tname, /* returned temp file name */ 72 assert(tname != NULL); 77 *tname = Malloc(strlen(sname) + strlen(".tmp") + 1); 78 (void) strcpy(*tname, sname); 79 (void) strcat(*tname, ".tmp"); 90 if ((*tfp = fopen(*tname, "w")) == NULL) { 97 (void) mdsyserror(ep, errno, *tname); 100 Free(*tname); 101 *tname = tempnam("/var/tmp", "svm_"); 102 if (*tname 53 meta_systemfile_copy( char *sname, int doroot, int domddb, int doit, int verbose, char **tname, FILE **tfp, md_error_t *ep ) argument 205 meta_systemfile_append_mdroot( mdname_t *rootnp, char *sname, char *tname, FILE *tfp, int ismeta, int doit, int verbose, md_error_t *ep ) argument 334 meta_systemfile_append_mddb( char *cname, char *sname, char *tname, FILE *tfp, int doit, int verbose, int check, md_error_t *ep ) argument [all...] |
H A D | meta_db.c | 438 char *tname = NULL; local 458 tname = tempnam("/var/tmp", "slvm_"); 459 if (tname == NULL && errno == EROFS) { 470 if ((cfp = fopen(tname, "w+")) == NULL) 544 if ((cfp = fopen(tname, "r")) == NULL) 563 (void) unlink(tname); 571 rval = (in_miniroot) ? mdsyserror(ep, errno, tname): 580 rval = (in_miniroot) ? mdsyserror(ep, errno, tname): 583 free(tname);
|
H A D | meta_name.c | 184 char *tname = Malloc(strlen(uname) + 1); local 191 /* Now copy uname to tname by throwing away any duplicate '/' */ 192 for (lcws = 0, tp = tname, up = uname; *up; up++) { 208 if (((sscanf(tname, "/dev/md/dsk/%" VAL2STR(FILENAME_MAX) "s%n", 209 devname, &len) == 1) && (strlen(tname) == len)) || 210 ((sscanf(tname, "/dev/md/rdsk/%" VAL2STR(FILENAME_MAX) "s%n", 211 devname, &len) == 1) && (strlen(tname) == len))) { 214 Free(tname); 219 if (((sscanf(tname, "%[^/]/%" VAL2STR(FILENAME_MAX) "s%n", 220 setname, devname, &len) == 2) && (strlen(tname) 305 char *tname = NULL; local 347 char *tname = NULL; local 394 char *tname = NULL; local [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_dictlog.cc | 52 db_dictlog_entry::db_dictlog_entry(int a, vers * v, char *tname, argument 57 table_name = tname; 119 char *tname; local 122 if ((tname = lentry->get_table_name())) { 123 delete tname;
|
/osnet-11/usr/src/lib/libzpool/common/ |
H A D | util.c | 123 char *cname, *tname; local 128 tname = calloc(1, strlen(cname) + 2); 129 (void) strcpy(tname, cname); 131 tname[strlen(tname)] = '0' + np; 132 show_vdev_stats(tname, ctype, cnv, indent + 2); 133 free(tname);
|
/osnet-11/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 138 char *tname = NULL; local 195 parse_device(NULL, uname, &tname, &setname); 196 Free(tname);
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_findzonecut.c | 273 char tname[NS_MAXDNAME]; local 285 if (ns_makecanon(dname, tname, sizeof tname) < 0) 287 dname = tname; 524 char tname[MAXDNAME]; local 548 tname, sizeof tname) < 0) { 554 nsrr->name = strdup(tname);
|
H A D | res_send.c | 241 char tname[MAXDNAME+1]; local 244 n = dn_expand(buf, eom, cp, tname, sizeof tname); 253 ns_samename(tname, name) == 1) 292 char tname[MAXDNAME+1]; local 295 n = dn_expand(buf1, eom1, cp, tname, sizeof tname); 303 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2))
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_gss.c | 250 gss_buffer_desc tname; local 260 maj_stat = gss_display_name(&min_stat, name, &tname, NULL); 267 (int)tname.length, (char *)tname.value, lifetime); 268 (void) gss_release_buffer(&min_stat, &tname);
|
/osnet-11/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 308 char *p, *q, *first, *fn, *long_name, dir[2], tname[TERM_NAMES_LENGTH]; local 314 (void) strncpy(tname, string_table + term_names, TERM_NAMES_LENGTH); 315 DEBUG(7, "Terminal names are \"%s\".\n", tname); 316 for (p = tname + strlen(tname); tname < p; --p) { 322 if (tname == p) 323 long_name = tname; 324 for (p = tname; p < long_name; ++p) { 326 if (tname < 344 err_abort(m_strmsg(long_path), *tname, tname); local 346 warning(m_strmsg(more_than_one), tname); local 376 warning(m_strmsg(synonym), tname); local [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 691 const char *tname; local 703 tname = qname; 845 if (ns_samename(tname, bp) != 1) 855 tname = bp; 875 if (ns_samename(tname, bp) != 1) {
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 52 char *tname; member in struct:tdata 239 tdata.tname = opt_info.arg; 620 if(tp->tname) 621 nv_atypeindex(np,tp->tname+1);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 853 int nv_atypeindex(Namval_t *np, const char *tname) argument 857 int n = strlen(tname)-1; 858 sfprintf(stkstd,"%s.%.*s%c",NV_CLASS,n,tname,0); 876 errormsg(SH_DICT,ERROR_exit(1),e_unknowntype, n,tname);
|
H A D | io.c | 323 char *tname; /* name used with >; */ member in struct:fdsave 1072 char *tname, *sp, *ep; local 1105 tname = stakfreeze(1); 1109 rename(tname,name); 1112 unlink(tname); 1115 return(tname); 1135 char *tname=0, *after="", *trace = shp->st.trap[SH_DEBUGTRAP]; local 1331 tname = io_usename(fname,&perm,0); 1361 if((fd=sh_open(tname?tname [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/ |
H A D | usb.c | 750 get_usb_vpid(topo_mod_t *mp, di_node_t dn, char *tname, char **serial, argument 763 if (strncmp(tname, USB_BUS, 8) == 0 || 764 strncmp(tname, USB_HUB, 8) == 0) { 795 } else if (strncmp(tname, USB_DEV, 8) == 0) { 806 } else if (strncmp(tname, USB_IFC, 8) == 0) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 759 krb5_principal tname = (krb5_principal) target_name; local 761 int kret = krb5_unparse_name(context, tname, &s_name);
|
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | libdevalloc.c | 675 * with the name tname%d (lowest unused number for the device type) 1672 * figure out what dname (tname + a new number) goes to the 1801 char *dtype, *dexec, *tname, *kval; local 1815 tname = DA_AUDIO_NAME; 1820 tname = DA_CD_NAME; 1825 tname = DA_FLOPPY_NAME; 1830 tname = DA_TAPE_NAME; 1835 tname = DA_RMDISK_NAME; 1862 (void) snprintf(dname, sizeof (dname), "%s%d", tname, instance);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | op.c | 4362 char *tname = (name ? name : aname); local 4388 if ((s = strrchr(tname,':'))) 4391 s = tname;
|