/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 1258 char *propname, *propval, *buf1, *buf2; local 1285 buf2 = kmem_zalloc(OBP_MAXPROPNAME, KM_SLEEP); 1287 while (propname = (char *)prom_nextprop(nodeid, buf1, buf2)) { 1304 bzero(buf2, OBP_MAXPROPNAME); 1308 kmem_free(buf2, OBP_MAXPROPNAME);
|
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 132 char *buf2; local 146 buf2 = kmem_zalloc(OBP_MAXPROPNAME, KM_SLEEP); 149 while (propname = (char *)prom_nextprop(node, buf1, buf2)) { 164 sm_dbg('A', ("Alias is : %s\n", buf2)); 165 return (buf2); 169 bzero(buf2, OBP_MAXPROPNAME); 173 kmem_free(buf2, OBP_MAXPROPNAME);
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | main.c | 788 char *buf2; local 794 buf2 = fn_s(newfile); 797 if (buf1 != NULL && buf2 != NULL) { 799 buf1, buf2, n); 802 if (hasn && lstat(buf2, &stbuf) != -1)
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 259 * in (buf1,eom1) and (buf2,eom2)? 271 const u_char *buf2, const u_char *eom2) 276 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) 284 (((const HEADER *)buf2)->opcode == ns_o_update)) 287 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) 301 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) 270 res_queriesmatch(const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 1488 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; local 1499 prefix_print_state(pr->pr_state, buf2, sizeof (buf2))); 1524 prefix_print_state(pr->pr_state, buf2, 1525 sizeof (buf2))); 1895 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; local 1901 prefix_print_state(pr->pr_state, buf2, sizeof (buf2)),
|
/illumos-gate/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 619 char buf1[32], buf2[32], n[32]; local 625 asi->asi_count, time2str(buf2, sizeof (buf2), asi->asi_delta),
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | cap.c | 728 Conv_cap_val_buf_t buf1, buf2; local 746 conv_cap_val(cap_tag, ncap, mach, CONV_FMT_NOBKT, &buf2));
|
H A D | phdr.c | 825 Conv_phdr_flags_buf_t buf1, buf2; local 858 conv_phdr_flags(osabi, p_flags, 0, &buf2));
|
H A D | shdr.c | 499 Conv_sec_flags_buf_t buf1, buf2; local 535 sh_flags, 0, &buf2));
|
H A D | dyn.c | 1401 Conv_dyn_posflag1_buf_t buf1, buf2; local 1420 conv_dyn_posflag1(flags, 0, &buf2)); 1429 Conv_dyn_flag_buf_t buf1, buf2; local 1448 conv_dyn_flag(flags, 0, &buf2)); 1457 Conv_dyn_flag1_buf_t buf1, buf2; local 1476 conv_dyn_flag1(flags1, 0, &buf2)); 1485 Conv_dyn_feature1_buf_t buf1, buf2; local 1504 conv_dyn_feature1(flags, 0, &buf2)); 1535 Conv_inv_buf_t buf1, buf2; local 1554 conv_ehdr_mach(ldmach, 0, &buf2)); [all...] |
H A D | ehdr.c | 207 static char buf2[20]; local 211 buf = (buf == buf1) ? buf2 : buf1;
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 158 static char buf2[MAXBSIZE]; variable 567 bzero(buf2, sectorsize); 569 maketag(tp, (struct tag *)buf2); 574 wtfs(blk1, sectorsize, buf2); 892 bzero(buf2, sectorsize); 894 maketag(tp, (struct tag *)buf2); 895 wtfs(nextblock, sectorsize, buf2); 900 maketag(tp, (struct tag *)buf2); 901 wtfs(fssize, sectorsize, buf2);
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 1197 char buf2[256]; local 1223 strncpy (buf2, existing_string, sizeof (buf2)); 1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2)); 1226 strncpy (buf2, buf, sizeof (buf2)); 1228 hal_device_property_set_string (pc->device, pc->merge_key, buf2); 1235 char buf2[25 local [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 1129 struct statvfs64 buf1, buf2; local 1141 res = statvfs64(parent, &buf2); 1147 if (buf1.f_fsid == buf2.f_fsid)
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | store.c | 1394 char buf2[MAXNAMELEN]; local 1543 if (snprintf(buf2, sizeof (buf2), "%s-%s", buf1, 1544 STMF_MEMBER_LIST_SUFFIX) > sizeof (buf2)) { 1556 * buf2 now contains the member list property name 1594 if (scf_transaction_property_new(tran, entry2, buf2, 1597 "failed - %s", pgRefName, buf2, 1617 if (scf_transaction_property_delete(tran, entry2, buf2) 1620 "failed - %s", pgRefName, buf2,
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 2688 char *buf, *buf2, *beg_str; local 2694 if ((buf2 = (char *)xmalloc(PATH_MAX)) == NULL) { 2699 buf[0] = buf2[0] = '\0'; 2706 if (((len = snprintf(buf2, PATH_MAX, "%s/", dir)) < 0) || 2733 if (strlcat(buf2, buf, PATH_MAX) >= PATH_MAX) { 2737 return (buf2); 2741 if (buf2) free(buf2);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 2501 char *buf2; local 2510 if (buf2 = (char *)malloc(n)) { 2512 n = vsnprintf(buf2, n, format, ap); 2516 rcm_log_message(level, buf2); 2517 return (buf2); 2519 free(buf2);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 2581 char buf2[128]; local 2596 (void) snprintf(buf2, sizeof (buf2), " %dms", 2598 (void) strlcat(buf, buf2, sizeof (buf));
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 224 char buf1[BUFSIZ], buf2[BUFSIZ]; local 420 j = fread(buf2, 1, BUFSIZ, input[1]); 445 if (buf1[j] != buf2[j]) 1457 char buf1[BUFSIZ], buf2[BUFSIZ]; local 1525 if ((j = readlink(file2, buf2, BUFSIZ)) == -1) { 1532 if (strncmp(buf1, buf2, i) == 0) 1580 j = read(f2, buf2, BUFSIZ); 1593 if (buf1[j] != buf2[j])
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1247 char buf1[3000], buf2[3000]; local 1355 (void) snprintf(buf2, sizeof (buf2), gettext( 1357 if (query(buf2)) {
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 1019 char buf[MAX_TCP_SIZE], buf2[MAX_TCP_SIZE]; local 1101 bzero(buf2, MAX_TCP_SIZE); 1102 if (recv(s, buf2, MAX_TCP_SIZE, 0) == -1) { 1108 ret = buf2[5] & 0xf; /* error field in TCP */ 1115 tmpptr = &buf2[2]; 1122 tmpptr = &buf2[59+(strlen(key_name)+2)*2]; 1127 in_tok.value = &buf2[61+(strlen(key_name)+2)*2]; 1552 char buf[NS_PACKETSZ], buf2[NS_PACKETSZ]; local 1620 if (dyndns_udp_send_recv(s2, buf, buf_sz, buf2)) { 1632 ret = buf2[ 1785 char buf[NS_PACKETSZ], buf2[NS_PACKETSZ]; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pcipsy.c | 568 char *buf1 = NULL, *buf2 = NULL; local 592 buf2 = kmem_alloc(MAXNAMELEN, KM_SLEEP); /* strncmp */ 594 s2 = strcpy(buf2, s1); 603 s2 = buf2; 644 ddi_deviname(sdip, buf2)); 659 if (buf2) 660 kmem_free(buf2, MAXNAMELEN);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcicmu.c | 1322 char *buf1 = NULL, *buf2 = NULL; local 1347 buf2 = kmem_alloc(MAXNAMELEN, KM_SLEEP); /* strncmp */ 1349 s2 = strcpy(buf2, s1); 1358 s2 = buf2; 1400 ddi_deviname(sdip, buf2)); 1416 if (buf2) 1417 kmem_free(buf2, MAXNAMELEN);
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 1815 char buf[256], buf2[256]; local 1837 format_symbol(buf2, lsp->ls_caller, 0));
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.c | 922 char buf2[256]; local 938 buf2[0] = 0; 942 (void) strlcat(buf2, buf1, sizeof (buf2)); 946 (void) strlcat(buf2, buf1, sizeof (buf2)); 947 (void) emlxs_fwrite((uint8_t *)buf2, strlen(buf2), 1, 1379 char *buf2; local 1382 buf2 1427 char buf2[512]; local 1462 char buf2[512]; local 1510 char buf2[512]; local 1541 char *buf2; local 1619 char *buf2; local 1690 char *buf2; /* text buffer */ local 1770 char *buf2; /* text buffer */ local 1902 char *buf2; /* string ops buffer */ local 2126 char *buf2; local 2168 char *buf2; local 2496 char buf2[256]; local 3240 char buf2[2048] = { 0 }; local [all...] |